New Forum | Previous | Next | (P-PDF) Developers
Topic: How to print a PDF document from command line
Conf: (P-PDF) Developers, Msg: 79350
Date: 1/11/2003 02:15 AM
I am using a java application in which i am generating a PDF document.I am sending the file to the printer directly from the program using commandline prompt.
String ssa= "C:/Program Files/Adobe/Acrobat 5.0/Reader/AcroRd32" /p /h /t "E:/Designer/1042210877370.pdf" "\\BIZTALK\Zebra170XiIII"
(ie--"location of acrobat reader" /p/h/t "location of pdf document" "printer") Process proc1=Runtime.getRuntime().exec(ssa);
The file is getting printed but Acrobat Reader is also opening.I am using Acrobat Reader5.1.With Acrobat Reader4.0 the reader is not opening while printing.
How to prevent the Acrobat reader from opening?
Could any one help me on this.
Thanks in advance