Procedure for specifying attributes
The procedure you use depends on how you want IP PrintWay™ to convert data between
EBCDIC and ASCII.
Using iconv to convert data between code pages
To use the iconv utility to convert data
from the document code page to the printer code page:
- In the IP PrintWay FSS
definition, specify the source code page in the Document
code page field. If no code page is specified, the default is
IBM-1047.
- In the IP PrintWay Options
section of the printer definition, select Standard, Use FCB, or Translate only in
the Formatting field. Standard is
the default.
- On the Processing panel of the printer definition, specify these
fields:
- Document code page: Leave this field blank.
IP PrintWay uses the document
code page you specified in the FSS definition.
- Printer code page: Specify the name of
either an ASCII code page (such as ISO8859-1) or an EBCDIC code page
(such as IBM-1047) that is supported by IBM®.
For code page names, see z/OS XL C/C++ Programming Guide.
If
you leave this field blank, the default action depends on the protocol
selected in the printer definition:
- VTAM® or email protocol:
IP PrintWay does not convert
data from one code page to another.
- LPR, direct sockets, or IPP protocol: IP PrintWay uses IBM-850 as the printer code page.
If you use the ISPF panels to create an IP PrintWay printer definition,
the panel, by default, displays either the default ASCII or the default
EBCDIC code page that is specified in the Infoprint Server configuration
file (aopd.conf) or in the system configuration
definition, depending on the protocol selected in the printer definition:
- VTAM or email protocol:
The EBCDIC code page is displayed.
- LPR, direct sockets, or IPP protocol: The ASCII code page is displayed.
- Leave the Translation data set qualifier field
blank.
- Leave the Double-byte translate table fields
blank.
Using the standard TCP/IP translation table
To use the standard TCP/IP translation table to convert from EBCDIC
to ASCII:
- In the IP PrintWay FSS
definition, select the Old-style translation field.
You do not need to select this field if you select a double-byte option
in the Double-byte translate table field.
- On the IP PrintWay Options
panel of the printer definition, in the Formatting field:
Select Standard, Use FCB,
or Translate only. Standard is
the default.
- On the Processing panel, specify these fields:
- Document code page: Leave this field blank.
- Printer code page: Leave this field blank.
Tip:
When you leave this field blank, Print
Interface does not translate data from one code page to another, for
example from EBCDIC to ASCII. Therefore, your output might not print
correctly. If you have a problem printing documents using Print Interface,
create a second printer definition for this printer, and specify a
printer code page or use the default ASCII code page that is displayed
in this field when you use the ISPF panels to create an IP PrintWay printer definition.
- Translation data set qualifier: Leave this
field blank.
- Double-byte translate table: To print DBCS
data, select a double-byte option.
Using a customized or a DBCS TCP/IP translation table
To use a customized TCP/IP translation table or a DBCS TCP/IP translation
table to convert data between EBCDIC and ASCII:
- On the IP PrintWay Options
panel in the Formatting field: Select either Standard, Use FCB, or Translate only option. Standard is
the default.
- On the Processing panel, specify these fields:
- Printer code page: Leave this field blank.
Tip:
When you leave this field blank, Print
Interface does not translate data from one code page to another, for
example from EBCDIC to ASCII. Therefore, your output might not print
correctly. If you have a problem printing documents using Print Interface,
create a second printer definition for this printer, and specify a
printer code page or use the default ASCII code page that is displayed
in this field when you use the ISPF panels to create an IP PrintWay printer definition.
- Translation data set qualifier: Specify
the name of the table.
- Double-byte translate table: To print DBCS
data, select a double-byte option.
|