[Retep-PDF] Regarding PDF printing
Status: Beta
Brought to you by:
petermount
|
From: Harp, G. <GH...@GA...> - 2005-12-01 00:51:46
|
From a previous post I found: >Sky...@lo... wrote: >>=20 >> Does anyone have an example of how to print PDFs using retep PDF 2 >> (preferably with the newer java print services)? Any code that could get >> me going in the right direction would be appreciated. I"ve looked through >> the documentation provided on Peter"s site, but I"m new to printing in java >> so it wasn"t all that helpful. >My apologies for that, I"ve been trying to find some spare time to write=20 >more documentation for ages :-( >In theory, any example for using Print Services should work fine. >The Java Print Service user guide on Sun"s site is probably your best=20 >starting point: >http://java.sun.com/j2se/1.4.2/docs/guide/jps/index.html >As for getting Retep PDF-II installed as a print service, it should be=20 >recognised automatically as soon as you put the jar file in the class path. >The PrinterMakeAndModel for it is "RetepPDF-II" if you want to pick it=20 >up by name. >Peter >--=20 >Peter Mount >pe...@re... >http://retep.org/ >http://retep.net/ > Tel: +44 (0) 1622 749439 > Fax: +44 (0) 8701 361620 >Mobile: +44 (0) 7838 191423 >IM-MSN: ret...@ho... =20 I have tried the above for DocFlavor.INPUT_STREAM.PDF and cannot get RetepPDF-II when i tried=20 DocFlavor.INPUT_STREAM.TEXT_PLAIN_US_ASCII I got a prompt to save a file. What docFlavor do I use? And IS the source available so I can generate JavaDocs? |