Printing a URL pdf file on Unix from a URL

Has anyone, managed to print a pdf file from a URL to UNIX via "lp" without first saving the file and then printing from the saved file via Runtime.getRuntime().exec().
Welcome suggestions on alternatives if not possible ?

One simple option which doesn't explicitly require a '.exec' would be to write a Java program which writes the PDF data from the URL to the console, and pipe the output to lp from the shell.
% java PDFURLWriter | lp
Good luck,
-Derek

Similar Messages

  • How to create pdf files in UNIX directory from oracle reports

    I would like to know how to create pdf files in UNIX directory from oracle reports.
    Thanks,

    Please make your question more clear . Also mention the reports version.
    1) If you are runnning reports in Unix, you can give
    .... destype=file desformat=pdf desname=<filename>
    in command line
    Please refer docs below.
    2) If by your question you mean
    "My reports server is running in Windows but I want to ftp my files to Unix after creating it"
    then the answer is that you can use pluggable destination "ftp"
    .... destype=ftp desformat=pdf desname=<ftp url>
    Pluggable destinations download
    http://otn.oracle.com/products/reports/pluginxchange/index.html
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf

  • [Applet]Printing issue with pdf files on Xerox 4595

    Greetings !!
    I'm trying to print to a Xerox 4595 printer from a Windows XP station (limited account) using a Java Web Applet.
    This applet generates pdf files which have to be printed.
    The Xerox 4595 uses a printing queue that is detected by the Applet.
    The problem is the following: usually when printing a simple local file from this computer there is a box that asks you your login to let you create a job and then print.
    When using the Java Applet, there is no way to have this print box displayed. We have the Java Print Dialog but once clicked on "Print" there is no box displayed to pass the login to the printer and let us print.
    Is anyone already worked with Xerox 4595 and experienced such issue ?
    How can I, using the Java language and modify the Applet, ask the printer to send me the dialog box asking for the login ? Without this login no jobs are accepted and we can't print the generated pdf files.
    I looked on the printer queue settings and it seems that the Xerox uses the IPP to communicate with the local computers in the office.
    The server from which the Applet is used is a openSuSE Linux Web server (apache2)
    How come using Linux workstations any pdf files are printed (on shared printers such HP laserjet) and under windows there is jammed characters and sheet feed instead ?

    A lot can depend upon which app your are using on your tablet device, the same applies to computer programs but apps are much worse.
    Which app are you using?
    I would try the free Adobe Mobile Reader. This product seems to support more features than other apps.
    There could even be issues with the type of tablet you are using. The Apple line may work better then Android devices since there is QA check and approval by Apple.
    Another factor is the how the PDF was created.
    How well are the maps displayed on your laptop or desktop? Try different values of zoom.

  • Used to be able to print multiple page pdf files on my HP 7310 all in one and then it stopped and would only print the curent page. This is tedious for long PDF docs. I am on 10.6.8 .

    Used to be ablert to print multiple page pdf files on my HP 7310 all in one printer and now I can only print the current page and therefore it takes forever printing them one by one. I am in version 10.6.8. Tried printing as image using the advanced click and that did not work either.  I have Adobe 9.0 reader installed.

    I tried this earlier, and I tried it again today.  Both times it said "Software Missing!"  and "HP Software required to connect to your printer over the network could not be found on this computer."  But when I tried to install the software (AIO_CDB_Net_Full_Win_WW_130_141.exe, which I downloaded from HP's web site), it wouldn't install, as described above.  In the diagnostic utility, I clicked "skip", and it said "Connection Verified!", and "The printer is connected to the network and the services related to the network connections have been verified and reset to a normal operating state.  Everything appears to work fine at this point.  Please doa test print to verify that the issue is resolved or click Skip to move to the next step."  I clickedthe "Test Print" button, and immediately it popped up a box that said "Test Print Failed."
    I tried again to install the HP software, and it installed, detected the printer, and asked me to select it.  I selected the printer, clicked "next", and it did its network diagnostics.  Then it said "Problem(s) found with your network" and "Problem(s) may exist with the network functions of your printer . . ."  I continued the installation without connecting to the printer.  Then I ran your network printer diagnostic tool again, and got the same result - "HP Software required to connect to youir printer over the network could not be found on this computer."

  • Word v.X no longer printing or creating PDF files (specific to one user)

    As of yesterday I cannot print from Word (v.X 10.0) documents or create PDF files from Word documents.
    I can print by logging out and using a test user ID.
    I can print after a safe restart (which disables many functions).
    I am still able to print and create PDF files from Pages, Firefox and other programs.
    When attempting to create a PDF from a Word file through the Print dialog box, then saving as PDF, I can see the "magnifying glass" image for the PDF briefly on the desktop, then it disappears.
    Apple Care Phone Support refuses to deal with Microsoft issues (even though it appears to be a print command failing within Mac OS steps of the process, and/or a Mac OS-generated and sorted plist file corrupting the process).
    Microsoft no longer supports the software (i.e., any file you are now using ending in .doc is no longer supported).
    Has anyone had a similar problem or an idea about what to do with likely culprit files?

    Sounds like a M$ problem to me.
    Can you save an Excel file as a PDF?
    There are .plist files in user>library>preferences
    that control the last used settings in apps.
    Quit the office app.
    Trash the com.microsoft.word.plist first.
    If that doesn't work trash the com.microsoft.office.plist
    PS What does yesterday have to do with PDFs not working?
    Something change?

  • Will not print anything but Pdf files!

    If I try to print anything at all other than a PDF file from Adobe only(other readers will not even work) very little of the page prints if anything at all. For example, I was trying to print a shipping label off of the website, and the only thing that would print was the barcode. Nothing else. I actually had to convert it to a pdf file and open it with Adobe, and then it printed perfectly. I have tried reinstalling, restarting, using the HP support doctor, which says absolutely nothing is wrong with my printer. I am at a loss to why it will only print pdf files from Adobe. Can anyone please help me?! I forgot to mention it worked perfectly about a month ago. We don't print a whole lot and didn't notice it was messed up until just a few days ago.

    Hey , Welcome to the HP Support Forums!
    I understand that when printing from your Windows 8.1 computer to your HP Deskjet 1512 All-in-One Printer, nothing is printing, except Adobe PDF files. I would like to assist you today with resolving this issue. Now, you indicate in your post that you had tried to print a shipping label from a website, and only the barcode prints. However, if you open the file up and print it from Adobe it appears to print fine. This leads me to believe that the actual issue that is occuring is a print system issue with the black cartridge. I know it may come as a surprise to hear that as Adobe is printing fine. However, when you print from certain programs on your computer the file is sent to the printer as an 'image' file. If your printer 'thinks' it is printing an image it will use a mixture of colour ink and black to print the black document. Therefore, what you may actually be seeing when you print from Adobe is colour ink mixed. To start troubleshooting I am going to have you print a Quality Diagnostics Report from your printer and this will help us to isolate this printing issue. Please follow the steps below.  How to Print a Quality Report: Load clean, white U.S. Letter or A4 paper in the input tray, if necessary.Press and hold the Power button. While holding down the Power button, press and hold the Cancel button. Hold them both down for 2 or 3 seconds.The test page prints. (1) Printed with the tri-colour cartridge(2) Printed with the black cartridge  If this Report prints perfectly: Then the printing issue that you're experiencing is not being caused by your products print system. Rather, there may be a driver conflict occuring between your Windows computer and your printer. Please do not proceed with troubleshooting at this time.  If this Report prints with missing black or other quality issues: Then the printing issue that you're experiencing is being caused by your products print system. To resolve this hardware issue can I please have you click here. Once the support document opens please choose the Windows 8 dropdown. Next, follow the steps under Solution one, Solution five, Solution six, and Solution seven. This includes any sub steps under the listed Solutions to complete. Once troubleshooting has been completed please print another Quality Diagnostics Report to confirm if the issue has been resolved. Please respond to this post with the result of printing the Quality Diagnostics Report. I look forward to hearing from you!

  • Printing to a pdf error after migrating from Acrobat 7 to Acrobat X Professional

    Printing to a pdf seems be broken in Acrobat X on my XP machine.
    I have just upgraded from Acrobat 7 professional to Acrobat X professional.
    With Acrobat 7, printing to a pdf file from within a program (MsWord, Visio etc) was a breeze. Now, with Acrobat X on the same machine, the print spooler always reports 'this document failed to print' even though the pdf is created correctly. I am then forced to cancel the pint job within the spooler itself.
    Any help gratefully received.
    Andrew Waterhouse

    Sorry, but this is the Reader forum . The Acrobat Windows one is here:
    http://forums.adobe.com/community/acrobat/acrobat_windows

  • Printer filter to PDF file

    Hello everyone,
    I wonder how to set up a printer filter to pdf file on JDS/Linux?
    E.g OpenSuse 10 comes ready preconfigured with a printer filter to pdf file.
    Not sure if it may be Ghostscript that is used for this setup.
    Has any of you set up such a filter for JDS/Linux?
    Terje J. Hanssen

    A follow up:
    Looks like this is a feature of the KDE KPrinter, as the pdf filter was found in KDE desktop printer KJobViewer. The OOo one that I am aware of, I would expect works only internally from OOo applications, while the Kprinter's to pdf file filter looks to be general available for all applications, if I'm right.
    Tried also a Gnome login to OpenSuse, but didn't see the pdf file filter available for the "Gnome printer". Possibly can it be set up also here?
    Terje J. Hanssen

  • Button - Print an external PDF file

    Hi all... I am trying to have a Button on my PDF to be able to PRINT and external PDF file from off of my site.
    any thoughts?
    Many thanks.,
    Dave

    Hi,
    use the pakage javax.print
    FileInputStream psStream;
    try {
    psStream = new FileInputStream("file.ps");
    } catch (FileNotFoundException ffne) {
    if (psStream == null) {
    return;
    DocFlavor psInFormat = DocFlavor.INPUT_STREAM.PDF;
    Doc myDoc = new SimpleDoc(psStream, psInFormat, null);
    PrintRequestAttributeSet aset =
         new HashPrintRequestAttributeSet();
    aset.add(new Copies(5));
    aset.add(MediaSize.A4);
    aset.add(Sides.DUPLEX);
    PrintService[] services =
    PrintServiceLookup.lookupPrintServices(psInFormat, aset);
    if (services.length > 0) {
    DocPrintJob job = services[0].createPrintJob();
    try {
         job.print(myDoc, aset);
    } catch (PrintException pe) {}
    Thanks,
    Snigdha Sivadas

  • When I attempt to open a PDF file I saved from a website, I get the message "There was an error opening this document. The file is damaged and could not be repaired." Is there any way to correct this problem?

    When I attempt to open a PDF file I saved from a website using Safari, I get the message "There was an error opening this document. The file is damaged and could not be repaired." When I save the same PDF file using FireFox it opens up immediately. Is there any way to correct this problem with Safari?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • How to output PDF file through XI from PDF form generated in SAP

    Hi, All,
    I need to generate and send out PDF file to other system through XI. The PDF file source come from SAP PDF form which type is XSTRING. I see there is a similar thread posted here /message/527877#527877 [original link is broken]
    but it seems does not have good solution there. Can anybody give a hand?
    Useful information will be surely awarded.
    Yang

    Hi,
    Please check the links below to know about conversion agent tool,it is a third party tool which helps to convert the PDF,word doc,HL7 doc......etc into xml format.
    This s/w u have to buy from SAP and do the convertion in the convertion agent tool and deploy it in the xi server.
    Check the links
    http://help.sap.com/saphelp_nw04/helpdata/en/43/6d95e0ac846fcbe10000000a1553f6/CMGetStart.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm
    More on the SAP Conversion Agent by Itemfield
    Integrate SAP Conversion Agent by Itemfield with SAP XI
    Conversion Agent a Free Lunch?
    How to get started using Conversion Agent from Itemfield
    Conversion Agent - Handling EDI termination characters
    https://websmp102.sap-ag.de/~sapdownload/011000358700001090982006E/ConvAgentDocSP16.zip
    https://websmp102.sap-ag.de/~sapdownload/011000358700004921152005E/ConversionAgent.pdf
    Regards,
    Phani

  • How do I get pdf file to open from websites?

    When I click on a pdf file to open from a website, Explorer tries to open the pdf, but reloads the page then errors out.  I am running XP pro with the Adobe Reader X.  I have tried to uninstall reader and re-install.  My registry is using the correct file.  The associates show reader as the default program.  I don't know where else to look.
    Thanks for your help.
    jdiek

    What is your Adobe Reader version and your browser. If you are using Internet Explorer, use it in 32-bit mode.

  • Looking for help for sharing pdf files with ipad from mac.  Pages only recognizes text.  What app should I use for file sharing pdf documents?

    Looking for advice on how to share pdf files with iPad from Mac.   Pages seems to only recognize text.   What app is recommended for pdf documents?

    Welcome to Apple Support Communities!
    If I understand your question, you want to read pdfs on your iPad, not create or edit.
    Drag pdf files to the iPad icon in Finder while connected to your computer via the USB cable.
    They will show up in the iBooks application
    (If you don't already have iBooks, it's a free download from the App Store.)
    Once installed, there are two buttons at the top left of the Bookshelf.
    One is Books, the other is Collections.
    Tap Collections, and you'll see Books and PDFs.
    Tap PDFs and you're there.

  • Help! Trying to print emails w/PDF attachments via bluetooth from 8300 to HP OfficeJet8470

    Trying to print emails w/PDF attachments via bluetooth from 8300 to HP OfficeJet8470.
    My boss shopped for and picked this phone based on the store staff.  He wants to be able to have our service tech be able to receive work orders via email, in the form of a pdf attachment, and be able to print using the bluetooth enabled HP Office Jet 8470, hardware that was sold to him in another store with the statements that it would work with his application.
    Everything I have seen on this site, and the lack of information elsewhere, leads me to question if we have the correct applications/hardware at all...
    If so, I need to be able to explain clearly to my boss any options that we have, and why or why not it won't work. 
    Any ideas at all?  Thanks in advance~    Reagan

    Your BlackBerry alone won't connect to a Bluetooth printer. Whoever told him that it would should be questioned.
    However, there is an application called BeamSuite, that offers a printing solution specifically for PDF documens that you should explore...
    Print Documents to a Bluetooth Enabled Printer 
    http://www.slgmobile.com/beamsuite.html
    BeamSuite is much more than a document viewer though. You can also print your documents directly from your BlackBerry to any Bluetooth enabled printer. Simply pair your BlackBerry device with the printer and print your documents.
    If your printer is not Bluetooth enabled, you can still print your documents to it by connecting a Bluetooth printer adapter to your printer that connects to the printer’s USB port. A key differentiator of our solution is that it allows you to easily and transparently print to over 1500 compatible printers from virtually any BlackBerry device, not just the latest and the most powerful BlackBerry.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Is there a way to control the quality of my pdf file when exporting from a .pse file?

    Is there a way to control the quality of my pdf file when exporting from a .pse file?
    Hi,
    I have 2 pages in all in a .PSE file.
    When I try to export it as .PDF, the quality is very poor. I cannot change it to a better quality.
    Please advise how I can export the file so that i can have better quality.

    Rik Ramsay wrote:
    To expand a little on what Jongware said, normally choosing vector over bitmap will decrease the filesize. If the vector art is very complex though, this will not be true.
    Yup, a logo as bitmap takes up more space than the same as a vector -- unless the vector image is bitmap heavy (think Drop Shadow, Outline Glow; these are actually bitmap effects).
    Also, check your PDF version. "Older" versions do not support live transparency, the latest do. Then again, you cannot use live transparency if you suspect your viewers may be using Mac OS X, because Apple's own PDF viewer sucks big time.

Maybe you are looking for

  • Clicking Links in Lion

    When I click a link, in Safari, or Mail, a dialog box asks- "New Window?  New Tab?  Copy to iTunes as spoken...."  etc etc.... and then I have to choose this option. I just want to open the link immediately.  Has anyone encountered this? I just want

  • Can I PlotIntensity in CWUI.ocx?

    I'm using CWUI.ocx in my application. And I want to plot my data for intensity(like to PlotIntensity in CVI's Graph control function.) Can I PlotIntensity in CWUI.ocx(CWGraph control)? Please answer me.

  • Can an Envy 7640 printer be used with a Google Chrome Operating system?

    Can an Envy 7640 printer be used with a Google Chrome Operating system?

  • Photo position

    I am currently creating a new book with iphoto however, when I select 'one image' per page, drag and drop my image, the software is not centre aligning the image but pushing it over to the right hand side of the page. It is also creating some text bo

  • Split screen not previewing album art

    Hi - I've done a search and couldn't find any answers, hope I'm posting in the right place etc. I bought an 80GB iPod classic a few weeks ago but this morning a work colleage took my iPod without my knowledge, and plugged it in to his computer; it in