Thank you.
Right now, timing constrains me from implementing or adding to
methods
of PDF*
Once I get the initial IPP Print service out the door,
I will look back into a better way of formatting print documents.
Yes, I thought Java already had IPP client as well, but the catch I
have found is, that there architecture supports IPP, but does not
use IPP. This is why it way easy for me to implement
a Java IPP client PrintService.
But, found trouble when trying to support 2d graphics printing :-(
I hope the next version of this IPP Client(v2) will be better :-)
Thank you for your help and suggestions.
-----Original Message-----
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2003 3:04 AM
To: [EMAIL PROTECTED]
Subject: Re: PostScript
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]