How to Print a PDF file and Close the ACrobat Reader opened using WEBUTIL

Hi All,
I have used WEBUTIL successfully and printed files using webutil_host.nonblocking builtin. What happens is that after printing the file the Acrobat reader stays on the desktop of the client PC. How to close that file opened programmatically. I am unable to close it using any any commands or using following builtins from WEBUTIL.
  WEBUTIL_HOST.RELEASE_PROCESS(PROCESS_ID)
  WEBUTIL_HOST.TERMINATE_PROCESS(PROCESS_ID);My command to directly call the Acrobat reader file and print it is by using this command.
  M_STR_COMMAND    := 'cmd.exe /c start AcroRd32.exe /t '||CHR(34)||FILE_STR_PATH||'\'||FILE_NAME||CHR(34)||' '||CHR(34)||PRINTER_NAME||CHR(34);Help in this regard is much appreciated.
Thanks in advance

I think if you use the start-command, the execution is asynchronously and you won't get the correct process-id. Try to execute Acorbat directly without the cmd /c start in front of it.

Similar Messages

  • How to reduce a PDF file size under Adobe Acrobat Reader DC. The size is now 23MB; I need it to be less than 4MB. thanks

    how to reduce a PDF file size under Adobe Acrobat Reader DC. The size is now 23MB; I need it to be less than 4MB. thanks

    I've found in Pdf's many time when you go to Optimize a PDF and look at the font list there are often up to a 1/2dozen copies of a given font, say Helvetica, then that many Helvetica Bold, or Arial or Ariel Italic
    What I do ie remove from list all but one copy of each different font. often dramatically reduces the size. also something lese is Flattening images will in some cases reduce a file size. I have run into a case where it actually made a PDF Larger.

  • How to print a pdf file of compounds A3 and A4 with adobe mac

    how to print a pdf file of compounds A3 and A4 with adobe mac, windows with the option I choose paper source by PDF page size mac but I can not find it. how to get it thank you

    I think if you use the start-command, the execution is asynchronously and you won't get the correct process-id. Try to execute Acorbat directly without the cmd /c start in front of it.

  • How to print a pdf file from Labview

    Hi,
    Does anyone know how to print a pdf file form Labview. I need to be able to point on the pdf file and to print it.
    Activex examples doesnt seem to be working it always displays an error, on every PC that I tryed to run it.
    {"code 3005" ,,,"Automation Open: Object specified is not creatable in Display PDF in Dialog.vi"}.
    Thank you for your help.
    Regards,
    Jenia.

    You can use the "System Exec.vi". The command line should have the following structure:
    "<Path to AcroRd32.exe>" /t "<Path to document>" "Printer name"
    For example"
    "C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" /t "C:\myreport.pdf" "Tektronix Phaser 300i"
    Regards;
    Enrique
    www.vartortech.com

  • How to print a PDF file that was display in my page...

    Hi !. My doubt would be the following one... I would like to know how to print a pdf file that was displayed in my page ?... I mean the PDF file not the page...
    The PDF would be in this url:
    http://iprodesa.lasegunda.com.ar:8090/datos/pdf/830.pdf
    How could I implement this ?...

    This first question which comes to mind is how do you display the pdf file in the browser?
    For this the browser uses a plug in (e.g. adobe reader) which already has the ability to print the pdf file. Depending on the version of your plug in, printing is started differently.
    Timo
    Ps: which jdev version do you use?

  • How to download a pdf file in external storage(sd-card) not use a isolated storage wp8

    i have a url for download pdf file return by webservices 
    and i have attach this link in hypertext button this is start a download but in browser . and when i am google for this purpose the give me "
    Background file transfer
    " Process and then code is also using a isolated storage but i want a external storage process Please Help me 
    how to download a pdf file in external storage(sd-card) not use a isolated storage wp8 

    Hello,
    This forum is for discussions and questions regarding profiles and Microsoft's recognition system on the MSDN and TechNet sites. It is not for products/technologies.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • To retrieve the PRT document (a PDF file) and insert the doc in PM order

    Hello guys,
    I have a challenging task in from printing as follows,
    By using TC: IW3D we get print preview of PM Order Set (PM Print Program: YIPRJT01), currently the PRT document number prints in the PM Order. Now we have to insert the PRT documents (a PDF file) into the PM Order set rather than printing the PRT document number ( By using TC: IW33 by going OPERTIONAL TAB we will get the PRT document(a PDF file))
    The requirement is to retrieve the PRT document (a PDF file) and insert the document in PM  order set with out navigating separately by using the TC: IW33.
    If you run the script in the print preview we can able to see PM the order set along with the PRT document (a PDF file).
    Thanks & Regards
    Vishnu

    I'm also trying to print PRT document with shop papers and still not able to do so. I selected "P" for print on the control key and it should print but still didn't print.
    If I understand it right, I think you are trying to do the same.
    Have you resolved this issue ?
    Thank you,
    Sam

  • ITS: How to download a PDF file and provide it with a filename !??

    Hi everybody,
    I habve created an Zservice that Prints spools requests. Now it should be extend to allow download as a pdf file as well.
    What are the options here !?
    I am aware of mime-download and it works fine but it has certain limitations despite it opens up the pdf just fine the in IE window.
    -- No custom filename can be provided
    -- Opens up in the same window can only escape w/ back button
    I would need something that would allow the following:
    -- Either to select file location etc. or being abale to set correct file location
    -- Possible open pdf file in a new window...
    I assume that a combination of different things need to be done here...
    Any suggestions !?
    Cheers,
    CN
    PS. Non integrated ITS

    > If I recall, the ability for IE to show a pdf file
    > comes from the WEBDAV.
    >
    > But, look at this sight.
    >
    > http://www.useit.com/alertbox/open_new_windows.html
    >
    > And there is a link in the middle.  I don't know if
    > it will work in your case but it is worth a read.
    Hey David,
    that seems about what I would need :
    Open or saving it in a separated dialog/window/application
    Being able to provide a filename (which can be a BHtml variable)
    But I do not have a clue how I can get it implemented ...what needs to be done !?
    Although iot seems to be the way to go...but how !??
    Cheers,
    Chris

  • How to print a pdf file on a servlet

    Hi,
    I have a question, is it possible and how to send to a local printer a pdf file with a serlet ?

    the lengthy thread on this topic from "advanced language topics" seems to have been lost in the renaming. There's a lot of discussion there so it may be worth your doing a thread search for "printing" and "binary" together as they formed part of the thread title.

  • How to Print  a PDF file from within a ABAP ( from gui input)

    Hi champions,
    This is Client requirement:
    "We need to print a PDF file from within a ABAP"
    We first need to test whether it is even feasible, and then if it 
    is, then write a small test ABAP which can accept a PDF file
    name as input (from GUI) and then print it to a SAP print
    device (printer).”
    Please Can any body help me on this.......
    It's urgent
    Thanks
    Basu

    Check following blog for PDF output from SAP
    /people/thomas.jung3/blog/2005/04/28/setting-up-an-adobe-writer-for-abap-output
    anya

  • How to print a pdf file from reader?

    We have Reader X1 and cannot print a pdf file. Although it says 'print', it only allows us to save the file

    Go to the Printer's properties and make sure that the "Print to File" box is not ticked.

  • How to use cfdocument  create a PDF file and save the file in server?

    Hi,
    I want to use cfdocument to create a PDF file and save it in
    the server for other people to download,can you give me a idea how
    to do this.Thanks.
    <cfdocument format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Mark

    Hi
    <cfdocument filename="" format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Give the physical path to the filename. You have write
    permission for this folder to create a PDF file.

  • How to Upload a PDF file into BLOB column in a table using Forms 9i

    Can anyone tell me how to upload a PDF file from client system using File dialog window and store its content in BLOB column in a table. The file to be uploaded will be in client side.

    Hi,
    please, search a bit on the forum before do a question:
    Just searching by "upload blob pdf" ...
    How to batch upload PDF files into database BLOB
    Regards,
    Jose.

  • How to Upload a PDF file into BLOB column in a table using Forms 6i

    Can anyone tell me how to upload a PDF file from client and store its content in BLOB column in a table. The file will be genered using reports and win be stored in db.The file to be uploaded will be in client side.
    Thank´s.

    If you are using version 9 or 10 use webutil.... Look in webutil.pll.
    Use either one these two fuctions...
    FUNCTION Client_To_DB( clientFile       in VARCHAR2,
                             tableName        in VARCHAR2,
                             columnName       in VARCHAR2,
                             whereClause      in VARCHAR2,
                             asynchronous     in BOOLEAN default FALSE,
                             callbackTrigger  in VARCHAR2 default NULL) return BOOLEAN;
      FUNCTION Client_To_DB_With_Progress
                         (   clientFile       in VARCHAR2,
                             tableName        in VARCHAR2,
                             columnName       in VARCHAR2,
                             whereClause      in VARCHAR2,
                             progressTitle    in VARCHAR2,
                             progressSubTitle in VARCHAR2,
                             asynchronous     in BOOLEAN default FALSE,
                             callbackTrigger  in VARCHAR2 default NULL) return BOOLEAN;

  • How do I save PDF files on my iPad to read later?

    How can I save PDF files from a website on iBooks to read later?

    Open the PDF in Safari and then tap it and you should get a bar at the top of it with 'open in iBooks' as an option - tap that and it should be copied to the iBooks app.

Maybe you are looking for

  • Can i use my iphone as a remote for the iPad

    is there an APP that will allow me to use my iphone to control my ipad2?

  • High light text in Smart forms

    Hi All, I have a requirement in a form where in i need to highlight the text in the text element(I have tried using Styles in it but of no use).Its' urgent... Could you please help me out in this regard. Thanks in advance. Regards Archana

  • How to setup Mail server in Oracle 10g?

    Hi all, I want to setup a mail server in my OS, can anyone give me the step by step procedure to setup a mail to send mails to all the users. I would appreciate if anyone refer me any document. Jafar

  • Issue with dbadapter properties implementing, please its urgent.....

    Hi All, my scenario is polling data from one table and publishing in to jms queue. and I'am using FaultPolicies with retry (2) and interval time (2) and exponential Backoff-(3). when I configured DB Poll, the properties of maxrows (4), attempts (9),I

  • Cisco ANM - Exporting Historical Data (VA)

    Hi Experts, I am looking for the way to access historical data on Cisco ANM 5.2.1 Virtual Appliance. In documentation I found that raw data should be stored in /var/lib/anm/export/historical-data/date-stamp. The problem is that VA is lockdown environ