On 12.05.2003 14:06:43 Leet, Ethan C wrote: > > Well, that is pretty much the big picture. > > Java has an API defined for implementing a PrintService and > DocPrintJobs. > > Java's default PrintServices rely on lpr. > > I have build a true IPP client that fits into Java's PrintService > Architecture.
I thought Sun is shipping an IPP client. Well, I guess that was the original announcement and reality is different. :-) > In doing this I would like to support the DocFlavor > SERVICE.FORMATTED.PRINTABLE and PAGEABLE. > > For the interface Printable and Pageable I have to provide a > Graphics Object for the user to draw into to format the print document. > > I tried to use PDFDocumentGraphics, but could not control the number > of pages. I didn't say it would go without any code changes. :-) You try to use FOP is a very particular fashion is was not really designed for. I guess you need to change PDFDocumentGraphics so you can start new pages. > Also, PDFGraphics2D does not support all drawing functions into PDF. So why not try to implement the missing functions. We would be grateful if you helped improve the code in redesign (CVS HEAD). > THe SVGGraphics2D object supports way more functions. Obviously, but it makes you take a big detour. > Also the way I designed, I could control the number of pages > generated. > > > I will try the SVG.text suggestion. > > I have tried the fo:external suggestion, and will try again, cause > of an error I have found recently in my code. > > I will also look back into the PS way of formatting. > > But this is the big picture, provide a true IPP client using Java's > pre-defined print architecture. BTW, you made me look into JPS. Just for the fun of it I think I will try to implement a PDFStreamPrintService today. Maybe something good comes from that. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
