Jeff,

From experience:
Don't use transparency in gif's.
Don't use oversized jpeg's & expect scaling down to work in PCL, it doesn't.

I convert all images to non-transparent gif & they work in both PCL and PDF. PCL versions of the image are lower quality & slightly shrunken, but workable.

BMP etc probably work OK, but I use the same images for web stuff too.

Regards,
*Roland*


Steffanina, Jeff wrote:

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/*


This e-mail is solely for the use of the intended recipient and may contain information which is confidential or privileged. Any unauthorised use of its contents is prohibited. If you have received this e-mail in error, please notify the sender via return e-mail and then delete the original e-mail.

This e-mail is solely for the use of the intended recipient and may contain 
information which is confidential or privileged. Any unauthorised use of its 
contents is prohibited. If you have received this e-mail in error, please 
notify the sender via return e-mail and then delete the original e-mail.


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

Reply via email to