printer-codepage
This single-valued attribute specifies the code page that is used by the printer. Infoprint Server uses this code page as the target when it converts line and text data between ASCII and EBCDIC.
ISPF field name
Printer code page
Allowed values
A valid code page name. Examples
of valid code pages are:
printer-codepage = ISO8859-1
printer-codepage = IBM-500
Default value
If this attribute is not specified,
the default action and code
page differs for each component of Infoprint Server:
- Print Interface does not convert data between code pages.
- NetSpool uses the IBM-850 (ASCII) code page.
- IP PrintWay™ basic mode:
- Email or VTAM® protocol: IP PrintWay does not convert data between code pages.
- LPR, direct sockets, or IPP protocol: IP PrintWay uses the IBM-850 (ASCII) code page.
- IP PrintWay extended
mode:
- Email or VTAM protocol: IP PrintWay uses the IBM-1047 (EBCDIC) code page.
- LPR, direct sockets, or IPP protocol: IP PrintWay uses the IBM-850 (ASCII) code page.
Usage guidelines
- If Print Interface uses this printer definition, you must specify this attribute. If you do not specify a code page, Print Interface does not convert data, so some documents processed by Print Interface might not print correctly.
- For code page names, see z/OS XL C/C++ Programming Guide.
- If you specify a custom code page, make sure that conversion tables
exist to convert between these code pages:
- The code pages in the document-codepage and printer-codepage attributes.
- The code page for the z/OS® locale and the custom code page.
- In an IP PrintWay printer definition for an ASCII printer, specify an ASCII code page such as ISO8859-1.
- In a PSF printer definition, or in an IP PrintWay printer definition with protocol-type=vtam, specify an EBCDIC code page such as IBM-1047.
- In an IP PrintWay printer
definition for the email protocol, specify one of these:
- Any ASCII code page: IP PrintWay converts EBCDIC data from the document code page (default is IBM®-1047) to the specified ASCII code page.
- EBCDIC code page IBM-1047: Sendmail converts EBCDIC data from code page IBM-1047 to an ASCII code page. However, if the code page for the locale on the z/OS system where Infoprint Server is running is not IBM-1047, specify an ASCII code page instead of an EBCDIC code page.
- IP PrintWay basic mode: If document-codepage or printer-codepage is not specified and old-style-translation=yes, IP PrintWay basic mode uses the standard TCP/IP translation table.
- NetSpool converts data between code pages only if netspool-formatting=convert-to-pcl in the netspool-options object class. Otherwise, NetSpool ignores this attribute.