Command line printing - PDF to Postscript

I wish to convert a PDF file to postscript using the windows command line suppressing all messages.
Example: Acrord32.exe samplepdf.pdf c:\output\samplepdf.ps
Are there any command line options to perform this conversion?
Many thanks.

Command line arguments arew unsupported, but documented in the Acrobat
Developer FAQ
Aandi Inston

Similar Messages

  • Command line printing - AdobeReader left open

    Hello everyone,
    I've a problem by printing pdfs using the command line. My VB-script contains a code line like following (including the quotation marks for document and printer):
    process=myShell.Exec("c:\Program Files\Adobe\Reader\Reader 8.0\AcroRd32.exe /t "c:\test.pdf" "myprintersname")
    (print test.pdf on myprintersname)
    This command runs nearly perfect; after printing the AdobeReader-window left open. I tried to use an Application.Activate(process.ProcessID) followed by SendKeys("%{F4}") to close the front window. My AdobeReader-window won't come to foreground and so the active window (e.g. firefox) gets the ALT-F4-shortcut and asks for closing.
    Is there another command line parameter or solution available to close the named pdf-document AND AdobeReader after printing the document?
    Thanks for help
    gerald
    UPDATE: I've found a solution for this problem. After executing the command line (process=myShell.Exec.......) there's a "script sleeping time" needed, e.g. WScript.Sleep 10000 (wait 10 sec) followed by the command "process.Terminate". Then AdobeReader will be terminated and script goes on...

    Command line parameters are sparsely documented and are officially not supported. What is documented can be found here: http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/intro_to_sdk/DeveloperFAQ.pd f
    I've not seen anything that shows what you want to do.

  • From the command line, print only page 2 and 3?

    What is the syntax for the command line, for print ONLY page nr° 2 and nr°3 of a pdf file, skipping page nr°1?
    Thanks

    Not possible.

  • Sending escape sequences to control command line printing

    Hello Java Community,
    I am interested in printing PDF files programatically by using a thread that used the runtime environment and the sending a command to print the file.
    I hava managed to print files directly to the printer using "cmd /c acrord32.exe /h /p filename.pdf" thanks to iText FAQ.
    The problem is that when I try sending the job to an Epson LX 300 printer, the job prints in letter quality while my intention is to print in draft mode.
    I imagine that this problem could be resolved by passing escape sequences to set draft mode printing programatically so as to speed up my printing.
    Anyone who can help me on how to achieve this.
    Will appreciate your help.
    Charles

    Reply 1 of http://forum.java.sun.com/thread.jspa?threadID=5226995&messageID=9958472

  • Command line printing

    Are there security setting that might disrupt printing in MS Server 2005-2008?
    My problem is I am attempting to print via the command line and it functions fine one Windows 7 but not one Server 2008 using the same command and arguments.

    lp does not support paper size option that i know of. I believe the option to be set might be on the printer where you need to set a default paper size to be used. The gui works because it sends paper size request based on Page Setup.
    I could be wrong and you might need to define the -o to set width and height maybe.
    -o options
    Different print options:
    nobanner Does not print the banner with username and filename information.
    nofilebreak Does not start each new file on a new line
    cpi=pitch Characters per inch.
    lpi=lines Lines per inch (default=6)
    length=inchesi The number of x printed lines per inch (the i must be at the end.)
    lenth=linesl Prints pages that are x lines long(must have l at the end.)
    width=chars Prints pages the max of chars per line
    width=inchesi Prints pages the max of x inches wide.
    I don't use this command all to often so not sure but maybe this will help.

  • Does anyone know about command line printing?

    I have been trying to get my company's point of sale system moved from an old windows machine to a mac mini server. I have been successful with the exception of printing. Basically, as I understand it, the database we use sends a print command to the printer like lp -d "printer name". The problem is the HP laser printer receives it and flashes the orange light instead of printing. To get it to print we must push the green button on top of the printer to get it to print. When it prints everything is fine. I have two HP laser printers that do not have this problem and work correctly. They are Laser Jet P4015 and a M1212nf. The ones that don't work correctly are Laserjet P1505n, P2055, & P1022n. They are all network printers and work fine for regular printing like a word doc or web page. Any help is appreciated.
    Also, I have some impact printers both 9pin & 24pin that seem to be almost impossible to configure with OSX.  Any tips there would be great as well. 
    Thanks.

    Any thoughts on what to look for?
    The basic problem as I see it is that all the laser printers with which I am familiar do not cope with printing anything other than a page at a time. That probably explains the orange light - I assume that indicates the printer has received data, but it will not do anything with it until an end of job PostScript or PCL command is sent, and that command is missing from the jobs being sent to the P1505n, P2055, & P1022n.
    There may be a way to append that command to the job's end using the POS software you are using. For that PAHU is much more likely to suggest something useful than I.

  • Lack of scanner programs for command line with pdf support

    I cant seam to find a cli scanner program capable of scanning multiple pages and save it as pdf. Am I blind and stupid? Is there really no options for scanning from commandline?
    I rather be wrong and stupid right now!

    Nope I have an Canon mp190. But thanks for the tip anyways

  • Reader 10.1.4. Printing PDF by command line

    Hi
    In an application I have developed I print PDF files to a defined printer using command line, such as
    "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\acrord32.exe" /N /T "myPDFfile.pdf" "\\servername\printername"
    I have noticed a change of behaviour with Reader 10.1.4 to previous versions.
    To test locally I share a local printer (e.g. share name "bobsprinter") connected to my machine ("bobsmachine") and include it in the command line as follows
    "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\acrord32.exe" /N /T "myPDFfile.pdf" "\\bobsmachine\bobsprinter"
    I have noticed that with Reader 10.1.4 a print job is no longer submitted, unless I take out the machine name and just leave in the shared printer name:
    "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\acrord32.exe" /N /T "myPDFfile.pdf" "bobsprinter"
    Where it then works OK.
    Question: Why would there be this change of behaviour in 10.1.4? Is there anything I need to consider? I have not come across anything in the release notes.
    I have noted that on my customer's site my command line (with machien and printer name) still works OK with 10.1.4. Maybe because the shared printer is on another network?
    Many thanks in advance.

    Hi Bob,
    Thanks for reporting the problem faced by you. My investigations suggest that command line printing behavior between Reader 10.1.3 and 10.1.4 is still the same.
    It prints the document on Reader 10.1.3 and 10.1.4 only when you do not specify the servername(localhost) on command line. However, It prints both with/without using the servername when Acrobat is used.
    Thanks,
    Atul Agarwal
    Adobe Systems

  • CUPS print job options fail when called from lp (UNIX command line)

    Under Leopard this command-line print request fails to respect the specified job options:
    lp -o number-up=2 -o page-border=double <filename>
    Though it worked great in Tiger, the number-up and page-border job options are now disregarded. I have tried lots of things (and wasted lots of paper) such as setting them permanently with lpoptions (and they do appear changed when the lpoptions command is repeated), using lpr instead of lp, reinstalling the printer via the CUPS localhost web interface, enabling non-Bonjour scanning with the hack to the CUPS preference file, deselecting "Last Printer Used" for the default printer in the System Preferences -- nope.
    I have not tried other job options; I assume that whatever is breaking these two is breaking all the others, and even if it isn't, these two are what I want.
    Is something new in Leopard overriding lpoptions job options? How do I make it stop? It is sooooo aggravating when something that used to work fine breaks. The printer is an HP LaserJet 4000N connected by Ethernet and discovered with AppleTalk.
    Thanks for any advice!

    Thanks John, I did search but somehow missed that thread.
    However it did not help. With or without the "-p printername" argument lpoptions does make a persistent change to its own data:
    +$ lpoptions+
    +media=Letter sides=one-sided finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=2 auth-info-required=none job-sheets=none,none printer-info=Barrow printer-is-accepting-jobs=1 printer-is-shared=0 printer-location='Local Zone' printer-make-and-model='HP LaserJet 4000 Series' printer-state=3 printer-state-change-time=1209495301 printer-state-reasons=none printer-type=2134228 page-border=double+
    You can see that the printer "Barrow" has remembered "number-up=2" and "page-border=double". Regardless if I give any of these commands:
    +lpr <filename>+
    +lpr -P Barrow <filename>+
    +lp <filename>+
    +lp -d Barrow <filename>+
    none of them show the results of these option settings (and somewhere in the forest another tree is cut down).

  • Printing Markups to Postscript file

    I am using the latest Solaris version of Acrobat Reader (7.0.9) to print PDF files.  We use the -toPostscript and -markupsOn command line options to create PostScript files which we then send to lp.  This works fine unless there's a markup on the drawing which was added by Adobe Acrobat Professional.  The drawing prints fine but the markup is either so garbled as to be unreadable or doesn't show at all on the print.  The server is running Solaris 9 and the entire command line is as follows:<br />/usr/bin/acroread7.0.9 --display=ohi05:2 -toPostScript -size tabloid -shrink -markupsOn -level2 -pairs <file> <file><br />Any ideas?  Thanks.

    Hi George,
    I am not able to reroduce the problem at my end.
    What Acrobat version was used to create the markups?
    Please send us the bugfile, if possible.
    Thanks & Regards,
    Rishi

  • Printing PDF files on Solaris 10

    I have Solaris 10 on a SunFire V240
    I would like to print on a command line
    a pdf (Acrobat) file.
    Something like pdftops on Linux

    Hello,
    I'm following the same aim, i used /usr/sfw/bin/pdf2ps but i received the following error: gs: not found. So i tried /usr/sfw/esp/bin/pdf2ps i then i obtain a ps file.But my pdf was with arial and Century Gothic font and when the ps file has generated i obtain an other font. It seems that arial an century gothic aren't supported by pdf2ps. I would like to know if can set the system to accept arial and century gothic. If yes, plz show me the way to do this.
    Best Regards,

  • How to print a specific page from a given PDF document, using command line, please?

    Hello,
    I need your advise, please. My customer requires to print a specfic page from a pdf document they receive, using command line or 3rd party solution.
    Anything you can advise, please? I have seen AcroRD32.exe options, but can only print the whole document.
    Kind Regards

    Not sure if there are any examples. The Acrobat SDK is a must, but it is best treated as documentation to study rather than examples to copy. The examples only illustrate a tiny fraction of the capabiliies.
    (One other note: the solution must involve the client owning Acrobat; Acrobat is not for server use).

  • We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a

    We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a printer."C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T "\\<Application Server>\Report\<TEST.PDF>" "<Printer Name>". Current Situation: The above command line parameter when executed is working as expected in a User's Workspace. When executed in a command line on the Application Server is working as expected. But, the same is not working while executing it from Deployed environment.Software being used: 1. Adobe 11.0 enterprise version. 2. Webshpere Application Server 8.5.5.2. Please let us know if there is a way to enable trace logs in Adobe Reader to further diagnose this issue.

    This is the Acrobat.com forum.  Your question will have a much better chance being addressed in the Acrobat SDK forum.

  • Is there a way to print/convert a file to PDF from the Command Line? If so, how?

    I'm trying to do something that I imagined would be really simple, but I haven't found a good resource on how to thus far. I'm trying to do something along the lines of this:
    Acrobat.exe /print inputfile.xls outputfile.pdf.
    Does anything like this command exists?

    For automating Acrobat there are many interfaces for programmers, but no command line like that. (Microsoft declared command lines dead almost 20 years ago, but they've been an unconsionable time a dying).

  • Can I print the last page of a PDF document using command line?

    Hi
    I am in a situation in which I constantly have to deal with multiple PDF documents and I need to print the last page in each of these, and ONLY the last page. The total number of pages will vary for each file, so the page number for the last page will also vary.
    I would really prefer to not do this manually, by opening up each file in the visible Adobe Reader window and then print.
    Question:
    Is there a way with Adobe Reader (maybe with the help of some other Adobe product) to print only the last page of a PDF document using some kind of command line without opening up the PDF file in the visible Adobe Reader window?
    I'm using Windows.
    Thanks in advance,
    Regards,
    Emil

    Thank you for taking the time to reply.
    I tried both ways and neither works.  It gives me a prompt box that I have to click "next" for every page but after going thru all pages, nothing is sent to the printer.
    Also, all directions I've read indicate it will print to the default printer.  If my default printer is on a network, will that cause problems....
    and...
    should I be getting a prompt box on every page?  I thought all this would happen behind the scenes and not force me to interact with every page.
    dc

Maybe you are looking for

  • How can we transfer the date field in to the PO in R/3 from SRM

    Hi, We are using classic scenario with SRM release 5.50 and when we create SC using service option we can maintain the delivery date with start and end date in SC. In R/3 ECC 5.0 when the SC is converted as PO the end date is not reflected as we are

  • Transfering Texts From iPhone 3 to iPhone 4?

    I'm getting an iPhone 4 this week, and I want to know if I can transfer all my text messages (most importantly), contacts, etc., over to the new phone from my iPhone 3. Could someone explain how to do this (if it's possible). Thanks!

  • Error Code

    I used Labview 2011 to program and control a Measurement Computing USB1208FS. The program was written to operate a valve, igniter, and pressure transducer. The purpose is to operate the valve, a short time later (milliseconds) the igniter would fire,

  • Missing older files; odd error message

    Some old files from iTunes are missing. An error message pops up occasionally, saying, "iTunes library cannot be saved. You do not have enough access privileges for this operation."  For security, I normally run my pc on a "standard" account and swit

  • Change versions for PO

    Hi Experts, Where can I see change versions for PO (purchase order) in ERP- MM? Thanks