lpr is part of itext. It has the advantage of providing fine grained control of the printer parameters on suitable printers.
Best regards,
Carsten

Swati das schrieb:
Thanks for your response.
Actually I need to send this print through the Java code. Can I execute lpr though Java?

*/Udo Rader <[EMAIL PROTECTED]>/* wrote:

    On Fri, 2006-05-05 at 13:58 -0700, Swati das wrote:
     > Hi,
     >
     > Can I print a PDF directly to the printer using iText?

    no, iText is a library to produce, parse and manipulate PDF documents.

     > All that I know of, is to open the Adobe Reader and execute a print
     > command , which I want to avoid.
     >
     > I just want my pdf to get directly printed on the printer without
     > opening the reader.

    depending on your OS, this might work:

    % lpr thedocument.pdf

    but you need to be more specific about your environment.

    Udo Rader

-- BestSolution.at EDV Systemhaus GmbH
    http://www.bestsolution.at


------------------------------------------------------------------------
Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls <http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with Voice.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to