Hi Jeff,
Thanks a million for at least giving me some direction. Yes this 
definitely helps. I just checked the system, we don't have the library 
QFNT64. I did some searching & found the following code page. I'm not too 
sure if it will work but I will give it a try.
                         Work with Objects Using PDM 
 
Library . . . . .   QFNTCPL          Position to . . . . . . . . 
                                     Position to type  . . . . . 
 
Type options, press Enter. 
  2=Change       3=Copy        4=Delete      5=Display       7=Rename 
  8=Display description        9=Save       10=Restore      11=Move ...
 
Opt  Object      Type        Attribute   Text 
     T1000836    *FNTRSC     CDEPAG      PEOPLES REPUBLIC OF CHINA 
 
Thanks again Jeff, I appreciate it.
Ewart
jeffw@xxxxxxxxxxxxxxxx
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/17/2007 07:06 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
To
rpg400-l@xxxxxxxxxxxx
cc
Subject
Re: Chinese characters printing with *SCS but not with *AFPDS
Hi Ewart
I recently did something almost the same for our China plant and had the
same problem. We had to purchase the DBCS AFP Font Package from IBM. We 
run
on v5r4 as well. I actually had the opposite problem. Could only get the
Chinese characters to print compiled as AFPDS (once we purchased the
package).
Check your system to see if you have a library called QFNT64. If you have
then you should have the needed library for the AFPDS compile. In order to
get a field to print in Chinese in AFPDS each field has to be compiled 
with
the lib and font/size you want to print. For example here is a Chinese
customer name field defined on a printer file:
P#NAME        68O  O    24
IGCCDEFNT(QFNT64/X0S32P (*POINTSIZE-
30 30))
FYI: you could have lineup problems with the field if you put both english
and chinese in the open field. I only recommend putting Chinese characters
in these fields. However you can always test it.
Hope this helps. Email me if you need anything else.
Thanks
Jeff Williams
Hello All,
I had sent this earlier but did not receive a response - hence I'm trying
my luck again !
I have a field which accepts both English as well as Chinese characters.
It prints fine when the print file is compiled with *SCS but somehow
prints junk when compiled with *AFPDS.
Does anyone know how to get the field printed properly ?? Or can point me
to a good site. I've tried going through the manuals but as usual I can
find everything else but what I want.
I am on V5R4.
Thanks & best regards
Ewart
--
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at 
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.