FOP-0.95
RedHat Linux
Java 1.5
Creating the PDF file is not a problem. The output is perfect.
Printing What: a short doc that includes one logo file (.gif) and one
watermark (.jpg).
The user has a requirement that the SAME data must also produce a .PCL
file.
My Java program (from the Apache web site) has been changed as follows:
Fop fop = fopFactory.newFop(MimeConstants.MIME_PCL, foUserAgent, out);
My fop.xconf has been changed as follows:
<renderer mime="application/vnd.hp-PCL">
<rendering>quality</rendering>
<text-rendering>bitmap</text-rendering>
</renderer>
The PCL file is produced with two problems:
1. It chooses Legal Size paper by default
2. The Logo (a .gif) shows up as a solid black rectangle
3. The watermark (a .jpg) does not print
Any ideas/suggestions???
Thanks.
Jeff