FOP Generated double byte characters are not printing in JPS

Here should go questions about transforming XML with XSLT and FOP.
soma
Posts: 2
Joined: Sat Mar 07, 2009 2:01 am

FOP Generated double byte characters are not printing in JPS

Post by soma »

Hi,

I am using FOP 0.95 for generating PDF documents. By using font metrics I generated double byte characters (Japanese characters) PDF…it got generated perfectly…

Now here Is the problem…I am using java print service(JPS) to print that PDF in target printer…all pages got printed…except which has double byte characters those page didn’t print…what could be the problem…I research all places I didn’t get…

I appreciate you help guys

Thanks,
-Gondi
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: FOP Generated double byte characters are not printing in JPS

Post by sorin_ristache »

Hello,

Do you mean the PDF was generated correctly when you viewed it in a PDF reader, for example Adobe Reader? Is the PDF printed correctly from a PDF reader application (Adobe Reader)?

Is the PDF not printed correctly from a Java application using the Java Print Service API? First you should check that the printer can print a PDF file when an application sends the document to printer as PDF file. Also it can be a problem in how the Java application uses the Java Print Service API.


Regards,
Sorin
soma
Posts: 2
Joined: Sat Mar 07, 2009 2:01 am

Re: FOP Generated double byte characters are not printing in JPS

Post by soma »

Sorin,

PDF generated correctly, I can print that PDF using Acrobat Reader.

This problem occurring only with double byte characters...I am using Arial Unicode MS font, I checked with document properties...it showing font embedded subset, Type: True Type(CID) & Encoding: Identity-H.

Any way this problem got resolved...I used different font(MS Gothic) & tried...it works perfectly...

Thanks,
-Gondi
Post Reply