How to use OLE2 to call "Adobe" to open a PDF file and print it out

I would like to print out PDF file when use click a button on the FORM. Anyone knows how to do it?

I would like to know how to do it too; but I am still using Developer 6i.
I have a bunch of PDF files and would like to print them inside of FORM.
I am using the HOST command like host('C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe /p/h 123.pdf') to do it now; however, the problem is that I have to physically close "ADOBE" everytime, otherwise, the next PDF cannot be printed.
Please advise how to do it Form6i?

Similar Messages

  • How to use PO message type to output 'Form' as PDF file

    Dear experts,
      I am working for a topic of how to use PO message type to output 'Form' as 'PDF file', and save to external file system automatically.
      Any one familiar to this topic, please kindly give me some guide, thank you!
    Regards,
    Joyce

    Hi,
       Go through the program RSTXPDFT4 (Converting SAPscript (OTF) or ABAP List Spool Job to PDF), you will get some idea.  Using this program you can convert spool into PDF file.
    -Alpesh

  • I tried opening a pdf file and I set it to use always and firefox which did not work, I was wondering how to undo that and what I should use to open pdf files in the future?

    I was attempting to open a document from a frequently used site, I had never been on, on my new mac however. I attempted to open the pdf file and was given the option of which program to use to open it, I mistakenly clicked use always and firefox as the program with which to open pdf files. I do not know how to undo this or what I should do in the future to access the pdf files.

    Hi Melfour-
    Here is a Support article detailing how to work with your Firefox PDF preferences:
    [[Opening PDF files within Firefox]]
    Hope that helps.

  • I scanned an old image using my Epson NX515 printer, used GIMP to make some minor repairs on the image and printed it out.  I noticed there were a number of evenly spaced thin blue lines across the image, approximately six of them.

    I scanned an old image using my Epson NX515 printer, used GIMP to make some minor repairs on the image and printed it out.  I noticed there were a number of evenly spaced thin blue lines across the image, approximately six of them. I opened & printed the image on my PC using PAINT.NET.  No lines appeared. I sent the image to my daughter. She printed it and found no lines. I printed the image using Seahorse on my Mac and the lines still appeared. I used basically the same print settings on Mac and PC.

    maahes wrote:
    did so now, only now I'm getting a slightly different error: could not find udevd no such file or directory. I checked both grub.cfg's and my mkinitcpio.conf and there's no listing for udevd ....which I've never heard of, so I assumed it was a typo?
    For clarification: udev is in the mkinitcpio.
    I'm not sure whether I yet have a good intuition for how you have your machine set up, but I suspect you need to include a cryptdevice flag to the kernel in your grub config. The file isn't found because the kernel doesn't know your root directory needs decrypting first.
    My setup is an LVM over LUKS over LVM sandwich. To boot into my system, the grub.cfg contains the line:
    linux /vmlinuz-linux root=/dev/mapper/cryptvg-root cryptdevice=/dev/mapper/vg-crypt:root rootfstype=ext4 pcie_aspm=force acpi_osi=Linux acpi_backlight=vendor i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 ro
    Now, most of those flags don't have anything to do with your problem, but note the cryptdevice. It tells the kernel it's dealing with an encrypted filesystem sitting in a logical volume called crypt on a volume group called vg. The bit after the colon tells the kernel to associate this encrypted filesystem with /dev/mapper/root.
    As for how to fix your system, I'm afraid I still feel a bit fuzzy about how your LVM and encrypted layers relate to each other, whether you have LVM over LUKS, or LUKS over LVM, or something else. Was there a particular how-to that you followed?

  • How to open a pdf file and then attach it with images

    I am new to Indesign Server.
    I'm currently working on a pdf.
    I have a white blank pdf template.
    that I want to attach/glue it with images.
    How to open a pdf file and then attach it with images.
    Please, help me.
    Thanks.

    First step would be to make yourself familiar with InDesign desktop version.
    Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
    Then try to automate your steps with scripting (see scripting docs or forum)
    If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
    If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
    A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
    Dirk

  • I HATE my new MACBOOK PRO, it will not let me open any PDF files and I downloaded the ADOBE READER three freaking times and it keeps saying that all the files are corrupt. I would rather have my 2008 Dell at this point. what is wrong with this thing

    I HATE my new MACBOOK PRO, it will not let me open any PDF files and I downloaded the ADOBE READER three freaking times and it keeps saying that all the files are corrupt or damaged. I would rather have my 2008 Dell at this point. what is wrong with this thing

    Perhaps the PDF files are corrupted.
    Hit the command key and spacebar, a blue Spotlight in the upper right hand corner appears, now type Preview and press return on the Preview program.
    Now you can try opening the PDF's from the file menu and see what's going on.
    If they are corrupted, perhaps they are trojans from your Windows PC or gotten from a bad location online.
    Download the free ClamXav and run a scan on the possibly infected folder.

  • Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?

    Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?

    Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there.

  • How do i standardize the path of Adobe to open a PDF file?

    Hi all,
    In one of my forms, i have created a Text Item (named as PDF1 ) in which i will display the name of PDF file and also have created a check box (named as CH1 & put in the block 'PDFCHK' ).
    Here what i am doing is when i click on the check box, the PDF file opens (name present in the Text Item).
    So i have written the following code.
    DECLARE
      filename VARCHAR2(256);
      APPID PLS_INTEGER;
    BEGIN
      IF :pdfchk.CH1 = 1 THEN
      filename :='C:\'||:PDF1||'.pdf';
      AppID := DDE.App_Begin('C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe '||filename,DDE.APP_MODE_MAXIMIZED);
    END IF;
    END;
    The problem here is that since i have hardcoded the path of Adobe (C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe) , there is a problem.
    In all the systems different versions of Adobe is installed & in different folder. So it does not work on all systems. So how do i standardize the code such that it searches the path itself or what can be the remedy to this???
    Please help me on this?
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    Thank You.

    Turn off the "Verify ...on Open" preference in the "Signature Verification Preferences" dialog. How to get there depends on the Acrobat/Reader version you have. in XI it comes up when you go to Edit->Preferences->Signatures->Verification->More...

  • How to use sdk to get the image in the pdf file created by illustrator?

    I have some pdf files create by illustrator and saved as pdf documents,
    now I want to use the sdk to get the image in pdf files.
    how to?
    Thanks.

    Thank you first!
    Yes,you are right,since I am new to illustrator,and I want to try to write a plugin,
    I have read the sdk doc and API and opened the sample in vs2010,but no idea about how to operate the pdf doc in illustrator with api.
    Hope more advise or any examples,thank a lot.

  • Adobe freezes opening certain PDF Files

    Hi!
    We have a problem with the new Version Adobe Reader 9. When you open certain pdf files by double clicking them in Windows Explorer, Adobe Reader 9 Window opens and then freezes at 100% CPU load.
    Other pdf files are OK.
    Open Adobe Reader first and then choose File - Open works too.
    Common thing of both pdf files is that they were created out of Winword printing it against a pdf printer called "pdf x-change".
    Open the file with Version 8 or Foxit Reader works.
    Any hints?
    Greets
    mosurama

    Sorry, no solution - i can not force everybody in the world to use adobe acrobat. Another customer had exactly the same problem with another pdf that was created by someone else

  • HELP! opening a pdf file and using page view

    Hi everyone!
    I'm doing a school project in which I'm trying to develop an app that opens a pdf file from the device memory (ipad or iphone) and lets the user turn pages forward and backward by swiping on the screen. Although I have very basic knowledge of C++ and Objective C programming, I find myself completely lost and don't know how nor where to start. I'd be pleased if you could help me or at least give me a starting point to develop my app.
    Thank you
    Albert

    https://developer.apple.com/library/ios/#samplecode/ZoomingPDFViewer/Introductio n/Intro.html#//apple_ref/doc/uid/DTS40010281

  • How can I open a PDF file and enter a word in the Find field from the command line?

    Hi,
    I want to use a PDF file as the help file of another program.
    I have found somewhere an incomplete description of the command line parameters of Acrobat Reader.
    It described how to open a file and jump to its given page.
    I have written the following batch file based on that.
    rem Open pdf (prm1) with Acrobat reader at given page (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&page=%2=OpenActions" %1
    The following batch file opens the search dialog:
    rem Open pdf (prm1) with Acrobat reader
    rem and search for something (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&navpanes=1=OpenActions&search=%2" %1
    I need the simple find field instead of the complicated search window.
    Regards
                   Ferenc

    Not possible.

  • Can I use the OCR of the Officejet 6600 on pdf files without printing and scanning them?

    Product name: HP Officejet 6600 All in one
    Operating System: Windows 7 64-bit
    After scanning hundreds of pages to pdf format with the printer, I have realized that using the OCR scanning feature would have served my purposes better. (I don't have the originals). I would like to run the OCR on those scanned pdf files. Technically I could just print and rescan them all with the OCR feature, but that would be a huge waste of ink, paper and time. Can I run the built in OCR on pdf fles?

    Hello there! Welcome to the forums @tahilaci ,
    I read your post and wanted to stop in and reply to you! I am really unsure if there is conversion software somewhere out there, but if there is, you may be able to convert the files, if not, you will have to re-scan the documents. You might be able to highlight the PDF text and paste it into a Word document, otherwise, there's no alternative.
    Best of luck to you!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Adobe Reader XI - saving PDF files from print

    How do I print to PDF and save to desktop with out goining online?

    Not possible with Adobe Reader. With Adobe Acrobat you can print to Adobe PDF.

  • How can I open a PDF File and integrate it on my view?

    Hi everybody,
    I try to solve the problem like this:
    - Creating a context attribute "pdf" type byte
    - Creating a view UI Element "MyPdf" type interactive form binding on the context attribute "pdf"
    - Inserting the following code in the wddoinit:
    IPrivateView.IcontextElement contextEle = wdContext.currentContextElement();
    byte bytes = contextEle.getPdf();
    try
      File file = new File("C:/text.pdf");
      FileOutputStrem os = new FileOutputStream(file);
      os.write(bytes);
      os.close();
      contextEle.setPdf(bytes);
    catch (IOException e)
      e.printStackTrace();
    I'm running it on a local machine with Netweaver 7.1 and get the following error message:
    java.lang.ClassCastException: class java.lang.Byte:null incompatible with interface com.sap.......
    If I delete the view UI Element there is no error message. What am I doing wrong???

    Hi,
    I'm sorry but it doesn't solve the problem. The error message is the same and it only appears if I have included the interactive form in the view.
    If I delete the interactive form, there is no error and it seems that the coding in the wddoinit() Method works.
    I've found a simple tutorial that describes my intention. But it works on webDynpro for Abap and uses Function Modules.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ASimpleWebDynproApplicationtodisplayapdffileinthebrowser+window
    Anybody know a similar tutorial but for WebDynpro for Java?

Maybe you are looking for

  • How do I change the name of my Apple ID and iCloud account?

    I want to change my Apple ID to a @me.com or a @apple.com account cause right now it's an ugly hotmail account. I did read this page: http://support.apple.com/kb/HE40. But it is not helping me. When I change my e-mail to my @me account it gives an er

  • How to identify the type of Fonts

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts. Could you please advice me. Thanks, Prabudass

  • Charged wrong amount for app want refund

    Charged wrong amount for app want refund

  • Activation of ICM Commission Contract

    Dear All, I've a question concernig the activation of Commission Contract in SAP ICM. I've implemented a custom process that associate a CACSA1 Role and Commission Contract to a new created BP with some characteristics. The used FM is CACS_CSC_CCTRT_

  • DateFormat function inserts space in front !

    Hi to all, I recently started a brand new project in CF9.0.1 (hotfix 1 in place). In one of my main components I have a function as per the following :     <cffunction name="DateFormatBE"                      access="public"                      retu