Dan Dubois wrote: > Just looked at the source code and see the /p /h arguments that allow > Acrobat Reader to print silently probably won't work on Preview.
No, those are parameters specific for Adobe Reader (see Appendix C of "iText in Action"). > The lpr unix command might though. PDF isn't PostScript. There are printers able to print PDF directly, but you shouldn't count on that. Printing is discussed briefly in chapter 18 of the book, but I think the safest way to do it in Java, is to use a library/product that renders the PDF. In the book, I mention JPedal (IDR Solutions). Meanwhile there's also PDFRenderer (SUN). br, Bruno ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
