× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.