Open and print a PDF from web

I created an application to open a PDF and print it directly on the default printer. This application works if the file is a Windows' network address (example: \\192.168.0.4). But if I put an internet address (URL), the Acrobat Reader presents the following error:
There was an error opening this document. The syntax of the name of the file, folder or name of the volume is incorrect.
The command I'm using is:
"C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe\" /t http: \\192.168.0.4:8082\test\file.pdf \\192.168.0.15\HPLaserJet
There are print directly as a URL?

>
horatiusx wrote:
> Hi all gurus.
>
> I developed a Web Dynpro application to let the users create their own sales orders.
>
> Now I need to let them print the orders when they need to. Searching on the documentation I have, I've never found anything about crating a pdf print from the WD Application.
>
> There must be a way, because I managed to do that even with the very old ITS (the one in which you had to write HTML code...) but i cannot find how.
>
> Can anyone help me please? Even a tutorial would be very appreciated.
>
> Thank you in advance...
You need a Smartform, SAPScript, or AdobeForm to be defined for your output.  Define an action/method for print, then pass the data to your Form.  SmartForms are not bad, as SmartForms generate a Function Module, and are easy to call.
Call the SmartForm Function with PDF output = 'X' (parameter within Output Control I think).  Then pass the PDF_DATA[] table (type = TAB_SOLIX) to a new window output .
Don't have the code in front of me, but have done it several times.  
Adobe Forms is another good option, but you need Adobe Server, and generally I have found ADOBE to be SLOOOOOWWWWW.  I think Steve Jobs might have been on to something with ADOBE -- just my opinion.
And of course, it can be done with SAPSCript, but I would need a whole blog on how to do that.....

Similar Messages

  • Print multiple pdf from web site

    Hello everyone!!,
    I need print multiple pdf from web site (web page) to the local printer o client printer.
    I have investigated : cfexecuted, java code, javascript, but i can't do it.
    The idea is don´t open printer dialog box for to print.
    Thanks.

    It is NOT POSSIBLE (for security reasons) to do silent printing in this way.  (you wouldn't want to visit a web site and have your printer start spewing out page after page of profanity, would you??)
    You can, however, offer the user the choice to print and then have it print.  That can easily be done by embedding JavaScript into the PDF to be printed.  If you have multiple documents, you should merge them together on the server first and then send a single document.

  • How to read and print a Pdf from Server

    Hallo, i need a help. I have some pdf documents on server and i want to allow viewing and printing them from the client. I would like not to have it outside my application cause i don't want client computers have to download adobe reader.. I think that purePDF can help me but i really don't know how to load the stream and put it on display.. Can anyone help me or give me some advices?
    Thx for all
    Max

    The simplest way that I know of would be to use 'navigateToURL()' and let the user to print the pdf from the browser.
    Does anyone have the advice on doing this within the Flex app; i.e. without opening a new browser window?
    FTQuest.

  • How do you improve the speed of processing and printing of PDF from CAD in indesign?

    I work for an engineering consultancy company and for a long while I have suffered with using PDFs files generated from AutoCAD when placed within an InDesign report. There are three issues that arise:
    The files take a long time to process when preparing the InDesign report. (This is mainly in high quality preview mode)
    The files take a long time to export to PDF
    (The most annoying one) The files take a long time to process and print when sent from the PDF to the colour laser printer. So much so, a single page from InDesign that contains a PDF generated from CAD can take up to 15 mins to print.
    I have tried converting the PDFs to jpegs prior to insertion into the InDesign document, but the quality and colour is dramatically reduced thus them useless. Is there any pre processing on the PDFs generated from CAD that I can do to reduce the impact that it has within InDesign and in the post processing?
    We also get missing font warnings that arise from the inserted PDFs from CAD that may or may not be an issue. Your advice here would also be appreciated.
    I would be the first to admit that I am not the most advanced user of InDesign though I am sure that my workflow could be improved to alleviate the situation.
    Your assistance would be appreciated!

    Thanks for your quick response.
    I have tried both options you have recommended, but unfortunately the file size doesn't seem to be the issue. Most of our CAD files (except for when they contain raster backgrounds) are around 0.5-2Mb which isn't massive compared to some jpegs. The PDF optimization process does make a small difference to the file size but only in the region of perhaps 5% reduction.
    If it helps the most awkward file I am using at the moment has this audit result, pre-optimization. This is typical of the CAD files produced by AutoCAD. As you can see the content streams take up the highest percentage that doesn't reduce that much even when the optimizer has all options engaged.
    What do you think?

  • Open and print multiple files from the Finder all at once.

    I'm trying to research how to do this. In OS9 you used to be able to hi-lite multiple files (Word files for example) and just hit Command+P. This would automatically open all of the files AND print them.
    I can't seem to do this in my OS X. Or can I? I can hi-lite and go to File/Print, but the computer is only opening but not printing.
    Any suggestions??
    iMac   Mac OS X (10.4.8)  

    I don't know how to both "open and print" multiple files in one step. The ⌘O combination of course will open multiple items. The items remain selected so switching back to the "Finder" and dragging multiple icons onto the icon for "/Applications" > "Utilities" > "Printer Setup Utility.app" seems to cause them all to be printed to the default printer.
    Alternatively, a user's "~/Library/Printers" folder contains printer icons -- I'm not sure what they are exactly, but they represent the printers set up for that account. They function pretty much like the pre-OS X "Desktop Printer" icons so dragging and dropping multiple files onto them should cause them to be printed. It may even be possible to create aliases to them on the "Desktop" to recreate "Desktop Printer" functionality. But again, this won't open the files into their applications.

  • I am no longer able to open or download most PDFs from web pages. I have the pop-up blocker turned off in Preferences.

    In recent months I have found that I am unable to download or open PDF documents from web pages. Download links either open a blank page in a new tab or do nothing. PDFs that I am unable to view in Firefox can be viewed and/or downloaded in Safari most of the time and Chrome all of the time so I assume the problem is not my computer or operating system. I recently turned off the pop-up blocker but that did not make a difference. The problem has worsened over the past couple months, it appears that more and more web sites are moving to a different protocol for viewing/downloading PDFs. It used to happen occasionally but now I find that I am unable to view a majority - about 75% - of PDFs. I am using Firefox v18 for Mac with Mac OS X 10.6.8.

    hello ahegarty, you could try using the [https://addons.mozilla.org/firefox/addon/pdfjs/ PDF Viewer] addon, for more details also see [[PDF files are blank and can't be downloaded on Mac]].

  • Print a PDF from Web Dynpro

    Hi all gurus.
    I developed a Web Dynpro application to let the users create their own sales orders.
    Now I need to let them print the orders when they need to. Searching on the documentation I have, I've never found anything about crating a pdf print from the WD Application.
    There must be a way, because I managed to do that even with the very old ITS (the one in which you had to write HTML code...) but i cannot find how.
    Can anyone help me please? Even a tutorial would be very appreciated.
    Thank you in advance...

    >
    horatiusx wrote:
    > Hi all gurus.
    >
    > I developed a Web Dynpro application to let the users create their own sales orders.
    >
    > Now I need to let them print the orders when they need to. Searching on the documentation I have, I've never found anything about crating a pdf print from the WD Application.
    >
    > There must be a way, because I managed to do that even with the very old ITS (the one in which you had to write HTML code...) but i cannot find how.
    >
    > Can anyone help me please? Even a tutorial would be very appreciated.
    >
    > Thank you in advance...
    You need a Smartform, SAPScript, or AdobeForm to be defined for your output.  Define an action/method for print, then pass the data to your Form.  SmartForms are not bad, as SmartForms generate a Function Module, and are easy to call.
    Call the SmartForm Function with PDF output = 'X' (parameter within Output Control I think).  Then pass the PDF_DATA[] table (type = TAB_SOLIX) to a new window output .
    Don't have the code in front of me, but have done it several times.  
    Adobe Forms is another good option, but you need Adobe Server, and generally I have found ADOBE to be SLOOOOOWWWWW.  I think Steve Jobs might have been on to something with ADOBE -- just my opinion.
    And of course, it can be done with SAPSCript, but I would need a whole blog on how to do that.....

  • Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed

    We are planning to Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed. I have tried using the AIR appliaction and it worked, But our requirement is NO INSTALL to the user machine for the silent printing. It is just from web page and silent printing to the default printer to the desktop/Laptop. Can anyone share your thoughts and experience with us. It will be very helpful..
    For AIR : I tried the thread Re: AIR and PDF showing/silent printing

    Hey CodeMonkey & Ross,
    Did you either of you ever find a solution? I'm stuck too, it seems I can get remote printing on all these PDFs to work but it just prints a blank page since I've been using Javascript in the browser, not Adobe's (they are Engineering drawings that I do not have permission to edit so I can't just insert code into them but I need to make work instructions). I've been scouring the internet for hours now, it seems that this thread is the only relevant/useful one at this point. No one else was trying to achieve this for similar reasons to mine.
    Thanks guys,
    Lox

  • Getting and Printing A PDF Document From R/3 Using Web Dynpro

    I would like specific information on getting and printing a document residing R/3 using web dynpro.  My environment is Netweaver 04s SR2, an it will not include ITS or the ABAP stack. It connects to remote R/3.  I will not be using Adobe Interactive Forms.       I only need get/render/print the doc.  My question is in 3 parts.
    1) Getting the PDF from R/3
         a) In terms of the RFC ABAP module, how should it return the pdf (a table?)
         b) How should the document be stored within the Component Controller context
             for display.
    2) Converting the R/3 returned binary into a form that is renderable within
        Web Dynpro.  (Does the Form UI Element Require it to be converting and if so
                              what is the best way to do this)
    3) Printing the PDF from the corresponding iView in the portal. (If I am using the
        form ui element to display it, how can printing be initiated in the portal)
    Thanks

    Hi,
    In webdynpro there s a fecility to convert the general data to PDF by uisng th InterativeForm UI Element.
    This for u need to do the following things.
    1. Need to configure the ADS(Adobe document services) in your VA(Visual Admin).
    2. Once ADS is configured we  can utilize the UI element Interactiveform It has contain the Adobedesigner by using this we can design the PDF and binding with the model nodes.
    3. Develop the Function module in the r/3 side and import into WD side and those are created as Model nodes and we canutilize in the 2 step.
    4.When u run the application u can display the pdf with how u design ur PDF form.
    This is generally doing the PDF by using PDF.
    Or do u think any other way post ur issues.
    Thanks,
    Lohi.

  • My Mac won't print a pdf from the web

    My iMac will not print any pdf from the web. The printer (an ho Photosmart plus) will only print a blank shet of paper.

    Try saving the file then, then open Preview and open the file and try printing again. If if the quality is still bad then it's the file itself.

  • Open and print pdf file through form 6i

    I want to run and print a pdf file through the form. Any suggestion please......
    thanks in advance....
    ifti

    you could try using the DDE package to open the file
    and then print from the actual file location using a host command.

  • When printing to PDF from webpage, the pdf is compressed on the bottom of each page and markedly smaller print. How do I correct this?

    When printing to PDF from webpage, the pdf is compressed on the bottom of each page and with markedly smaller print, the top of the page is fine. How do I correct this?

    Open Contacts and click Preferences on the menu named Contacts. On the General tab of the Preferences window, select Show First Name: Before Last Name and then print. You can change that Preference back to the other way after printing if desired.

  • CS6: DistributedCOM Error id: 10016 when open pdf from web page in Win8.1

    For example here below I've got the issue: 
    http://modemwifi.it/wp-content/uploads/asus-dsl-n55u.pdf
    Adobe Acrobat X pro V 10.1.8:
    DistributedCOM Error id: 10016 when open pdf from web page.
    Nome registro: System
    Origine:       Microsoft-Windows-DistributedCOM
    Data:          04/11/2013 19:09:19
    ID evento:     10016
    Categoria attività:Nessuna
    Livello:       Errore
    Parole chiave: Classico
    Utente:        PC-PIERO\Piero
    Computer:      Pc-Piero
    Descrizione:
    Le impostazioni delle autorizzazioni impostazioni predefinite del computer non concedono l'autorizzazione di Attivazione in Locale per l'applicazione server COM con CLSID
    {B801CA65-A1FC-11D0-85AD-444553540000}
    e APPID
    {2EAF0840-690A-101B-9CA8-9240CE2738AE}
    all'utente Pc-Piero\SID Piero (S-1-5-21-3453328585-262132574-2759341577-1001) dall'indirizzo LocalHost (tramite LRPC) in esecuzione nel SID del contenitore di applicazioni Non disponibile (S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1277922394). Per modificare tale autorizzazione di sicurezza, è possibile utilizzare lo strumento amministrativo Servizi componenti.
    XML evento:
    < Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
        <EventID Qualifiers="0">10016</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2013-11-04T18:09:19.468877700Z" />
        <EventRecordID>14806</EventRecordID>
        <Correlation />
        <Execution ProcessID="768" ThreadID="776" />
        <Channel>System</Channel>
        <Computer>Pc-Piero</Computer>
        <Security UserID="S-1-5-21-3453328585-262132574-2759341577-1001" />
      </System>
      <EventData>
        <Data Name="param1">impostazioni predefinite del computer</Data>
        <Data Name="param2">Locale</Data>
        <Data Name="param3">Attivazione</Data>
        <Data Name="param4">{B801CA65-A1FC-11D0-85AD-444553540000}</Data>
        <Data Name="param5">{2EAF0840-690A-101B-9CA8-9240CE2738AE}</Data>
        <Data Name="param6">Pc-Piero</Data>
        <Data Name="param7">Piero</Data>
        <Data Name="param8">S-1-5-21-3453328585-262132574-2759341577-1001</Data>
        <Data Name="param9">LocalHost (tramite LRPC)</Data>
        <Data Name="param10">Non disponibile</Data>
        <Data Name="param11">S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1 277922394</Data>
      </EventData>
    < /Event>
    How can I solve this problem?
    Thanks

    // I got this from an Action (I�m using Struts)
    java.sql.Blob file=(java.sql.Blob)request.getAttribute("PDFfile");
    String filename=(String)request.getAttribute("filename");
    try{
      int iLength = (int)(file.length());
      response.setHeader("Content-type", "application/pdf");   
      response.setHeader("Content-Disposition", "inline; filename=\""+filename+"\"");
      response.setHeader("Expires","0");
      response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0");
      response.setHeader("Pragma","public");
      response.setContentLength(iLength);
      ServletOutputStream os = response.getOutputStream();
      InputStream in = null;
      in = file.getBinaryStream();
      byte buff[] = new byte[1024];
      while (true) {
          int i = in.read(buff);
          if (i<0) break;      
          os.write(buff,0,i); 
      os.flush();
      os.close();
    } catch(Exception ex){
       out.println("Error while reading file : " + ex.getMessage());
    }and now it�s running !!! I�m not using response.setContentType(...) and I do this in response.setHeader("Content-type", "application/pdf"). And I use response.setHeader("Content-Disposition", "inline; filename=\""+filename+"\"") instead of response.setHeader("Content-Disposition", "attachment; filename=\""+filename+"\"");

  • Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9alredy

    Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9 is alredy installed on computer. Is this a 64 bit ossue although I am sure I did not have this problem prior to a replacement hard drive being installed.

    What is your operating system, browser?
    What is the exact message you are getting?

  • I can't print to PDF from AutoCAD and can't find a phone number to call ADOBE for support. Very frustrated, please help.

    Trying to plot to PDF from AutoCAD. Never usually have issues doing so, a few months ago it stopped working suddenly with  a warning message that said Adobe PDF was not activated. I didn't know what to do so uninstalled and reinstalled it which fixed the problem. Only now it started happening again.... There must be an easier fix?
    Thanks for your help!

    Thank you for writing to me!
    It occurs when I try to print to Adobe PDF from either AutoCAD or Revit (both autodesk products). My Adobe PDF function seems to be working for other applications - for ex. if I save from Illustrator to PDF, Word to PDF, etc. From this description it sounds as if it's more of a problem with my Autodesk products, but the odd thing is that until recently I was able to print to PDF from both of them! This happened to me once before and I uninstalled and reinstalled ADOBE but I thought there must be a better way of dealing with it. Is the number of times you install the ADOBE CS6 limited? I worry that uninstalling/reinstalling it uses up some of my uses - even though it's on the same laptop.
    The error message I get is this:
    Thanks for your help,
    Lisa

Maybe you are looking for

  • CO-PA Extraction problem

    Dear all, I created CO-PA datasource with costing-based. When I test extraction (RSA3) in R/3 with no any selection criteria, it only extracts a few data. When I check the CE4XXXX table, there are tons of data in it. It seems like that it gets data f

  • Will nokia 301 work with the old PC suite?

    Hi, I am planning to buy Nokia 301(Dual sim varient), i am more concerned about Nokia PC suite connectivity over blue tooth (PC suite -(v.7.1.180.94) and Not Nokia suite). Can you please tell will nokia 301 work with the old PC suite or not.? and btw

  • Music is disappearing off of my iPod?

    Hi. About 2 months ago I purchased the new iPod touch, and I dumped all of my synced CD's onto it (which I no longer have, by the way). It was fine for about a month, but then all of a sudden I noticed that I was losing songs. And it wasn't only spec

  • SCCM Distribution issue

    Hi All, we have a strange issue here, our primary server is trying to remove some package on a DP which is not existing. also it is creating n number of files on the DP, please find the below log and help me. CContentDefinition::RemoveContentFromPack

  • I think If you are up...you will get your preorder

    I have talked to several people that don't even have a clue that preorder is on the 3rd.  They know its being released, but no clue about pre-order.  It might seem like the iphone will sell out in 5 minutes, but that because everyone who posts on her