Page 1 of 1

FOP Generated double byte characters are not printing in JPS

Posted: Sat Mar 07, 2009 2:06 am
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

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

Posted: Mon Mar 09, 2009 5:49 pm
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

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

Posted: Wed Mar 11, 2009 9:17 pm
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