PSF/AIX or InfoPrint for Simplified Chinese
ITEM: RTA000150233
Q:
Abstract: PSF/AIX and DBCS ASCII for Simplified Chinese
I want to make sure that DBCS ASCII for Simplified Chinese is supported
by PSF/AIX and InfoPrint Manager. Flash 9449 and the PSF/InfoPrint
manuals mentions only Traditional Chinese. db2afp doesn't seem to
support Simp. Chinese. line2afp/acif supports ASCII but I haven't found
anything that explicitly says it support DBCS ASCII. Does iconv support
simplified Chinese? Thanks.
A:
db2afp does not support Simplified Chinese, only Traditional Chinese,
Japanese, and Korean. However, you can use acif/line2afp and iconv
with Simplified Chinese.
I found some information on printing Simplified Chinese in the
InfoPrint Manager production book on page 163, and the same general
process would hold true for PSF/AIX though I don't have a file to
try here. If you have a Simplified Chinese file you'd like me to
convert to AFP and return to you, I'd be glad to.
If you need additional assistance, please reopen. Thanks for using
ViewBlue.
From S544-5473-00, IBM InfoPrint Manager for AIX: Using IBM InfoPrint
Control for Production Printing (page 163-164):
=======================================================================
Printing Jobs That Contain Simplified Chinese Characters
--------------------------------------------------------
Use the AIX iconv command to convert simplified Chinese ASCII data
into EBCDIC line data, then use the pdpr command to submit the job
to the logical printer associated with an InfoPrint supported
physical printer. Include InfoPrint attributes with the pdpr command
that cause InfoPrint to convert the line data to AFP data
before printing the job. Optionally, you can use the InfoPrint
line2afp command to convert the simplified Chinese line-data file
to AFP and then print the job at a later time.
Note: The appropriate conversion files must be available to the
iconv command. The /usr/lib/nls/loc/iconv directory contains the
conversion files. Contact your AIX administrator if necessary.
Use the following procedure to print jobs containing simplified
Chinese characters:
1. Use the iconv command with the -f and -t flags to convert the file
to line data. The -f flag specifies the original character set of the
data and the -t specifies the character set to which AIX converts the
data. To convert the file schin from the IBM-eucCN character set to the
IBM-935 character set and to name the converted file schin.935, enter
the command:
iconv -f IBM-eucCN -t IBM-935 schin > schin.935
2. Convert the file to AFP format and print the file:
You can specify the AFP conversion with your print request by creating
an InfoPrint attributes file. Substitute the appropriate values for your
job, such as the appropriate search path or paths for any AFP resources
required by your job. The contents of your keyword file should be
similar to:
# This is ibm935.attr file
document-format=line-data
carriage-control-type=none
shift-out-shift-in=two
chars=GT10 S32P
table-reference-characters=no
form-definition=F1A10111
page-definition=P1A06462
resource-context-font=/reslib:/net/proj/dbcsres/schin
Submit your job to an InfoPrint logical printer. For example, to submit
the line-data job schin.935 to logical printer srv-lp4 and use the
attributes file ibm935.attr, enter the command:
pdpr -p srv-lp4 -X ibm935.attr schin.935
To use the InfoPrint line2afp command to convert the line-data job to
AFP without submitting it for printing, create a file containing
line2afp transform keywords and specify the appropriate values for your
job. The contents of the file should be similar to:
# This is the ibm935.parms file
inputdd=/usr/print/schin.935
outputdd=/usr/print/schin.afp
cc=no
prmode=SOSI2
chars=GT10,S32P
trc=no
formdef=F1A10111
pagedef=P1A06462
reslib=/reslib:/net/proj/dbcsres/schin
a. Use the line2afp command to convert the data to AFP. To use the
keyword file named ibm935.parms enter the command:
line2afp parmdd=ibm935.parms
b. Submit the file generated by line2afp to InfoPrint for printing. To
submit the file schin.afp located in your current directory to the
logical printer srv-lp4, enter the command:
pdpr -p srv-lp4 schin.afp
For further information about:
- InfoPrint attributes used in the attributes file, see the man page
pd_att_document.
- line2afp command and keywords, see the Chapter 24, "Customizing the
Transform for Line Data" on page 329.
========================================================================
Since this documentation is for InfoPrint Manager while you're working
in a PSF/AIX environment, there would be some necessary command and
parameter changes to use this with PSF/AIX. If you need assistance in
converting the InfoPrint references above to their PSF/AIX equivalents,
please reopen this item.
S e a r c h - k e y w o r d s:
psf/6000 psf/aix psf aix infoprint manager ipmgr simplified chinese
schin dbcs ascii iconv db2afp acif line2afp pod 9449 afp print
WWQA: ITEM: RTA000150233 ITEM: RTA000150233
Dated: 03/1999 Category: XPSF6000
This HTML file was generated 99/06/24~12:43:38
Comments or suggestions?
Contact us