Quantcast
Channel: SCN : All Content - Output Management
Viewing all articles
Browse latest Browse all 1353

Thai Characters in PDF not working in Multiple Document/Multiple Output device scenario

$
0
0

Hi

We are using Thangsan font to display Thai Font.We have a standalone program whcih will generate a PDF  & print.

 

For PDF, we are using Device THSWINU, and for printing we are using a device type "ZHPLJ4"( This device will generate a Small spool size over the network).

Our Pseudo code will looks like this.

 

LOOP at Documents.

 

*---------------------PDF ------------------------------------

* Send mail with PDF data * SEND 2 copies of PDF with differtn values

DO  2 times.

 

*** Different parmaters are passed to Smartform 1st time and 2nd Time.

call smartform using THSWINU

Convert OTF to PDF and  SEND MAIL.

ENDDO.

 

*-----------------------------------------------------------------

 

 

*----------------------PRINTING ---------------------------

*Printing only one Copy.

 

call smartform using ZHPLJ4 ( this is mapped to the actual printer)

 

 

*----------------------------------------------------------------

 

ENDLOOP.

 

* Note: ZPHLJ4 IS only works for printing, if used in PDF genration, that PDF is totally out of alignment and Font will not displyed properly.

        

 

When we execute the program with 1 document Both PDF & print works fine. But if we execute the program with 2 or 3 documents , 1st copy of PDF for each document is misaligned ( looks like its taking ZHPLJ4 Settings). But second copy for that document is Fine. printing is always Fine.

 

Document

PDF Copy1(Device: THSWINU)

PDF Copy 2(Device THSWINU)

Print( Device Type ZHPLJ4)

Document 1OKokok
Document 2NOT ok(Out of alignemnt)okok
Document 3NOT ok(Out of alignemnt)okok
Document 4NOT ok(Out of alignemnt)okok
Document 5NOT ok(Out of alignemnt)okok

 

 

We suspect that, after printing a copy with ZHPLJ4 , when it comes to next documents 1st copy, system is still taking ZHPLJ4 setting even though  THSWINU is mentioned in the parameters.

 

Please suggest how  to clear the printer buffer or any of other way to solve this issue.

 

thanks


Viewing all articles
Browse latest Browse all 1353

Trending Articles