I downloaded the 0.18 version of FOP (Fop-0.18.1-DEV-src.zip).
In it I did find the PCLRenderer class but found no example explaining how to
use it.
Also the code I found in the src directory do not contain the
org.apache.fop.render.pcl package and all the new packages of 0.18 although the
javadocs has them. Did I downloaded the wrong zip file.?
Can somebody provide me with a code snippet as to how to use PCLRenderer.
Hitesh..


Art Welch wrote:

> I think that you will want to upgrade to a newer version of FOP. I believe
> that the PrintCommandLine/AWTRenderer were not functioning in earlier
> versions. The PCLRenderer is also a fairly recent addition.
>
> HTH,
> Art
>
> -----Original Message-----
> From: Hitesh Bagchi [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 13, 2001 8:04 AM
> To: [EMAIL PROTECTED]
> Subject: Printing PDF using FOP...
>
> Hi,
> I am new to fop and I am not sure whether this is the right place to post
> this
> question.
> Actually what I intend to do is:
> Write an application which will generate a pdf file using fop and then send
> it
> to the printer without user intervention. I am able to generate the pdf file
> using fop. It works perfectly. But I am struggling for the past few days as
> to
> how to print the pdf using fop. I went through the mailing list archives and
> found some references to AWTRenderer and PCLRenderer but I couldn't work out
> a
> solution. Moreover I didn't find the PCLRenderer in fop 0.17. Is it a new
> addition.?
> I tried running the PrintCommandLine program in fop but it always gives me
> an
> error:
>     using SAX parser org.apache.xerces.parsers.SAXParser
>     using element mapping org.apache.fop.fo.StandardElementMapping
>     using element mapping org.apache.fop.svg.SVGElementMapping
>     using property list mapping
> org.apache.fop.fo.StandardPropertyListMapping
>     using property list mapping org.apache.fop.svg.SVGPropertyListMapping
>     building formatting object tree
>     WARNING: Unknown formatting object
> http://www.w3.org/1999/XSL/Transform^stylesheet
>     FATAL ERROR: null
>
> Can somebody please help. My query is how to send the generated pdf document
> to
> the printer to print with the default options.
>
> Thanks,
> Hitesh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to