Building a Printer Definition Table (PDT) for PC400

This chapter explains how to create and change the printer definition table (PDT file) used for PC400. Building a Printer Definition Table (PDT) for PC/3270 contains specific information about creating PC/3270 PDTs. PDTs for PC/3270 and PC400 differ only slightly; if you use a common PDT (used for both PC/3270 and PC400), the additional statements for PC400 are ignored for PC/3270 processing. Similarly, statements unique to PC/3270 are ignored for PC400 processing.

The PDT file is created by converting the printer definition file (PDF file). The PDF and PDT define the transmission of characters and control codes to the printer and the format of printer output. To change an existing PDF (the recommended method) or create a new one, use a text editor that can produce or update an ASCII file.

Using the Printer Definition Table (PDT) File

To use the PDT file:

  1. Select File from the menu bar of the workstation window.
  2. Select Printer Setup from the File menu.

    The Printer Setup window appears.

  3. Select the Use PDT file check box and Select PDT.

    The Select PDT file window appears.

To build the PDT file (required only if the PDF has been changed or created):

  1. Select Convert PDF. Select the PDF file to be converted from the list in the Convert PDF to PDT window; then select Convert. The PDF File Converter window appears. After the file has been converted, click on Close, then click Close in the Convert PDF to PDT window.
  2. Click OK in the Select PDT file window.
  3. Click OK on the Printer Setup window.

    After printer setup is complete, the Printer Setup window is closed.

Printer Definition File (PDF File) Format

A PDF contains 3 main sections:

Macro Definitions

This section of a PDF contains user-defined macros. A macro is a single mnemonic that stands for a control code or a sequence of control codes. A mnemonic simplifies defining control sequences for PC printers and makes it easier to read the information in the PDF.

The following table shows the structure of a macro definition statement. A macro definition is composed of four parts:

1 2 3 4
name EQU PC Printer Control Codes Comments

For example:

   FFF    EQU   0C               /* Form Feed */

The first part is the user-defined mnemonic or macro name. This name must be exactly three characters long and must not begin with a number. It is helpful to define a meaningful mnemonic, such as P17 for 17.1 pitch.

The second part, EQU, stands for equate and must be coded as EQU.

The third part is the hexadecimal control code, which is specific to a PC printer. Each PC printer manufacturer can define different control codes for the same printer function. For example, the IBM® 4019 LaserPrinter uses control codes defined by the IBM Personal Printer Data Stream (PPDS). Hewlett-Packard printers use control codes defined by the Hewlett-Packard Printer Control Language (PCL). These control codes are usually defined in the manual that comes with the printer.

Some PC printer manuals describe control sequences as a string of ASCII symbols, such as ESC J 1 K: others use hexadecimal numbers, such as 1B 57 01; while others use decimal values, such as 27 28 1. The printer definition table compiler accepts any of these formats.

The control codes in the macro definitions section can be any of the following:

If you leave the control code section blank or if you delete it, the character or control code is interpreted as a null string. If a character or control code is defined more than once in the file, the last definition is used.

The fourth part is the comment section. The symbols /* indicate the beginning of a comment and the symbols */ indicate the end of a comment. Comments can be coded at any point in the printer definition file and are ignored by the printer definition table compiler.

The following is an example macro definition statements that are specific to the IBM 4019 LaserPrinter.

LFF EQU 0A                       /* Line Feed                  */
VTB EQU 0B                       /* Vertical Tab                */
FFF EQU 0C                       /* Form Feed                   */
CRR EQU 0D                       /* Carriage Return             */
P05 EQU 1B 57 01                 /* 5 Pitch-Characters/inch     */
P10 EQU 12                       /* 10 Pitch-Characters/inch    */
CDW EQU 1B 57 00                 /* Cancel Double Wide contin.  */
P17 EQU 12 0F                    /* 17.1 Pitch-Character/inch   */
LL8 EQU 1B 41 09 1B 32           /* Set line length 8 lines/inch*/
P12 EQU 1B 3A                    /* 12 Pitch-characters/inch    */
RES EQU 1B 5B 4B 07 00 05 31 01 A4 00 00 90
                                 /* The above macro resets the  */
                                 /* printer using the factory   */
                                 /* defaults.  See the IBM Laser*/
                                 /* Printer Technical Reference */
                                 /* manual.                     */

To illustrate how macros are coded, consider this example. To have the host print job printed in double-wide characters, you must know what control code turns on double-wide printing on your PC printer. On the IBM 4019 LaserPrinter, the control code to turn on double-wide printing is X'1B5701'. This would be coded as:

BDW EQU 1B 57 01

where BDW stands for Begin Double Wide.

This alone would not cause 3270 host print to send this control to the printer. The mnemonic would have to be included in a control code statement, such as START_JOB which is described in the control codes section of the file.

Note:
The IBM 4019 LaserPrinter printer definition file that comes with HCL Z and I Emulator for Windows already has this control code defined as the P05 macro. See line 9 of the sample IBM 4019 LaserPrinter Macro Definition Statements (IBM4019.PDF File Contents).

Macro Name Examples

The following are example mnemonics or macros. The control codes are for the IBM 4019 LaserPrinter:

   LND      EQU 1B 26 6C 31 4F                /* LANDSCAPE    */
   POR      EQU 1B 26 6C 30 4F                /* PORTRAIT     */
   P12      EQU 1B 28 73 31 32 2E 30 30 48    /* PITCH_12.00  */
   T10      EQU 1B 28 73 31 30 2E 30 56       /* POINT_10.0   */
   LTR      EQU 1B 26 6C 32 41                /* LETT_PAPER   */
   G66      EQU 1B 26 6C 36 36 50             /* PG_LENGTH_66 */

Formatting Controls

The controls section of a PDF contains the following:

Session parameters

MAXIMUM_PAGE_LENGTH, MAXIMUM_PRINT_POSITION, and SET_PAGE_LENGTH

The parameter to the left of the equal sign is a keyword and must be coded exactly as shown. The keyword is used to define a statement. The values to the right of the equal sign are macros or control codes. Because the values to the right of the equal sign can be both macros and control codes, they will sometimes be referred to as parameters.

The MAXIMUM_PAGE_LENGTH, MAXIMUM_PRINT_POSITION, and SET_PAGE_LENGTH parameters specify the dimensions of the output job. The number specified in the MAXIMUM_PAGE_LENGTH parameter is used in the SET_PAGE_LENGTH parameter and is substituted for the value keyword. In other words, if SET_PAGE_LENGTH and MAXIMUM_PAGE_LENGTH are coded as follows:

  MAXIMUM_PAGE_LENGTH=066 /* Printed lines per page */
  SET_PAGE_LENGTH=SFL 066

The results would be:

SET_PAGE_LENGTH=SFL 066

Because SFL is coded as X'1B 43' in the macro section, the actual control code that would be sent to the printer to set the maximum page length is:

X'1B 43 42'

where X'42' is decimal 66.

Note:
Setting MPL=255 causes suppression of form feeds (FFs).

Control Codes

The control codes section of a PDF is used by the PDT function to determine what specific PC printer control code is to be sent to the PC printer when an SCS control code is received. Some of the statements used by Communications Manager are shown in the following example.

START_JOB=SEL CDW CDL CUL CDS CP8 CS2
END_JOB=CAT CDW CDL CUL CDS CP4 FFF
SET_PAGE_LENGTH=SFL value
SET_VARIABLE_LINE_DENSITY=ESC A value ESC 2
SET_10_CHARACTERS_PER_INCH=P10
Note:
The above example lines come from the IBM 4019 LaserPrinter PDF.

START_JOB and END_JOB

The control codes associated with START_JOB are sent at the start of each host print job. It is best to set all printer options to a known or desired state at the beginning of each host print job. The PC printer changes its state or changes the options selected only when instructed to do so by control codes. Therefore, the previous PC application could have left the printer in portrait mode with a Courier font selected, and unless your job changed them, these would be the printer options used.

Even though the START_JOB and END_JOB control codes are the ones shipped with the IBM4019.PDF, many users change them to be more like the ones below:

   START_JOB=RES P12 LL8
   END_JOB=RES

In this example, the RES, P12 and LL8 macros are used on the START_JOB statement (these macros are defined in IBM4019.PDF File Contents). This translates into the following control codes being sent to the printer at the beginning of your print job:

X'1B 5B 4B 07 00 05 31 01 A4 00 00 90 1B 3A 1B 41 09 1B 32'

This sequence of control codes:

The END-JOB statement sends the following control code to the printer at the end of your job:

X'1B 5B 4B 07 00 05 31 01 A4 00 00 90'

This control code resets the printer to IBM PPDS factory default settings (RES).

SET_VARIABLE_LINE_DENSITY

The SET_VARIABLE_LINE_DENSITY statement is used in combination with the panel where you can select the number of lines per inch (LPI), which can be either 6 or 8.

The PDT process uses whatever is selected in the lines per inch field, and substitutes this number for the value keyword in the SET_VARIABLE_LINE_DENSITY parameter. In other words, if lines per inch is set to 8, the SET_VARIABLE_LINE_DENSITY parameter is

SET_VARIABLE_LINE_DENSITY=ESC A 09 ESC 2

where the 09 comes from 72/8. The number of typographic points in 1 inch is 42; thus a value of 12 points would indicate six lines to an inch.

The control code that is sent to the printer to set the line density is:

X'1B 41 09 1B 32'
SET_10_CHARACTERS_PER_INCH

On most printers, the default pitch is 10 characters per inch. In most PDTs, Z and I Emulator for Windows uses this same convention and sends the control code found on the SET_10_CHARACTERS_PER_INCH statement. This is usually coded in the PDF as:

SET_10_CHARACTERS_PER_INCH=P10

where P10 is coded in the macro definition section as:

P10 EQU 12

Printing More than One Screen on a Page

If you want to print two or more screens per page, use the BEL command in the PDF to specify the number of blank lines to insert (instead of a Form Feed between two successive screens). You must coordinate this modification with the usage of the LPI and MPL parameters in the PDF (see Field Names of Printer Definition Files).

Note:
This specific use of the BEL command is applicable only for printing screens using the Print Screen Collection function.

Setting the value BEL=FF will send a Form Feed, while the value BEL=00 does not insert a Form Feed or a Line Feed.

Values between 00 and FF send that number of blank lines between successive screens. For example, BEL=02 inserts two blank lines between two successive screens. Thus, more than one screen can be printed on a single page.

Transparent Print Capability

ASCII_PASSTHRU? Keyword Support

If you add the following line to your PDF, Z and I Emulator for Windows will send host data without any translation:

     ASCII_PASSTHRU? = YES

This option is for special host applications that generate PC printer control codes directly.

Even if ASCII_PASSTHRU? is set, control codes defined START_JOB and END_JOB are sent to the printer at the start and the end of a print job respectively. To remove those commands, you need to rebuild the PDT file after removing the PDF keyword definitions for START_JOB and END_JOB.

If ASCII_PASSTHRU? is set, all character definition lines, for example, EBCDIC_xx, are ignored.

If both ASCII_PASSTHRU? and EBCDIC_PASSTHRU? are set, ASCII_PASSTHRU? has priority.

EBCDIC_PASSTHRU? Keyword Support

If you add the following line to your PDF, Z and I Emulator for Windows will ignore all SCS commands and send data to the printer after EBCDIC-to-ASCII translation:

     EBCDIC_PASSTHRU? = YES

For example, the default EBCDIC-ASCII translation table used for U.S. English host code page 037 is as follows:

     Hex |  0 1  2 3  4 5  6 7  8 9  A B  C D  E F
    -----+----------------------------------------
       0 | 2020 2020 2020 2020 2020 2020 2020 2020
      10 | 2020 2020 2020 2020 2020 2020 2020 2020
      20 | 2020 2020 2020 2020 2020 2020 2020 2020
      30 | 2020 2020 2020 2020 2020 2020 2020 2020
      40 | 20FF 8384 85A0 C686 87A4 BD2E 3C28 2B7C
      50 | 2682 8889 8AA1 8C8B 8DE1 2124 2A29 3BAA
      60 | 2D2F B68E B7B5 C78F 80A5 DD2C 255F 3E3F
      70 | 9B90 D2D3 D4D6 D7D8 DE60 3A23 4027 3D22
      80 | 9D61 6263 6465 6667 6869 AEAF D0EC E7F1
      90 | F86A 6B6C 6D6E 6F70 7172 A6A7 91F7 92CF
      A0 | E67E 7374 7576 7778 797A ADA8 D1ED E8A9
      B0 | 5E9C BEFA B8F5 F4AC ABF3 5B5D EEF9 EF9E
      C0 | 7B41 4243 4445 4647 4849 F093 9495 A2E4
      D0 | 7D4A 4B4C 4D4E 4F50 5152 FB96 8197 A398
      E0 | 5CF6 5354 5556 5758 595A FDE2 99E3 E0E5
      F0 | 3031 3233 3435 3637 3839 FCEA 9AEB E9FF

You can modify this code page using EBCDIC_xx keywords. Note that the EBCDIC_PASSTHRU? line precedes any EBCDIC_xx lines in your PDF file because Z and I Emulator for Windows reinitializes the EBCDIC-to-ASCII translation table when it finds that EBCDIC_PASSTHRU? is set.

Even if EBCDIC_PASSTHRU? is set, control codes defined START_JOB and END_JOB are sent to the printer at the start and the end of a print job respectively. To remove those commands, you need to rebuild the PDT file after removing PDF keyword definitions for START_JOB and END_JOB.

Printer Definition Tables

Standard printer definition table file names are of the form IBMnnnnn.PDT, and PDT's ASCII-to-ASCII character definitions are of the form PRNnnnnn.PDT, where nnnnn is a machine type. See character definition descriptions for more details.

See the help panel or the specific 5250, 3270, or VT emulator user's reference for a list of the PDT files provided by Z and I Emulator for Windows.

The PDT files contained in the PC400 installation diskette can be used as is. However, you might want to do special formatting by changing the definitions of some fields. To do so, copy an existing PDF file, modify it, and then convert it to a new PDT file.

Example PDF files are shown in "Example Printer Definition Files". Do not attempt to change the statements in a field for which modification is specifically prohibited. If you use a PDT file created from a changed PDF file, the results of printing cannot be guaranteed.

Example Printer Definition Files

The following examples are annotated versions of printer definition files for the IBM LaserPrinter 4019 (for SBCS sessions). These are examples only; the actual files may differ.

IBM4019.PDF File Contents

/**********************************************************************/
/*                                                                    */
/*    PRINTER SESSION DEFINITION FILE FOR: LaserPrinter 4019/4019-E   */
/*                                                                    */
/**********************************************************************/
/**********************************************************************/
/*                        Macro Definitions                           */
/* Define values here that will be used commonly throughout your      */
/* definitions.  Then use the left hand side of the equate as you     */
/* define your characters and control strings.  The printer compiler  */
/* will substitute the right hand side of the equate for each         */
/* occurrence of the left hand side throughout the file.              */
/*                                                                    */
/* Macro names must be at least three characters long and may not     */
/* begin with a number.                                               */
/*                                                                    */
/* Format                                                             */
/* A Macro Name is associated with a value or string of values by the */
/* EQU statement.  The right hand side of an EQU statement must be a  */
/* string of zero or more two digit hexadecimal numbers.  If a macro  */
/* definition is more than one line long, you may extend it to the    */
/* next line by ending the first line with a comma.  In this manner   */
/* you may define a macro which is many lines long by terminating each*/
/* line except the last with a comma.  No macro names are allowed on  */
/* right hand side.                                                   */
/**********************************************************************/
BEGIN_MACROS
/* The following values are standard for most printers.  Check your   */
/* printer manual to verify that these are correct for your printer   */
NUL EQU 00             /* Nul character                               */
BEL EQU 07             /* Beeper                                      */
BAK EQU 08             /* Back Space                                  */
TAB EQU 09             /* Tab                                         */
LFF EQU 0A             /* Line Feed                                   */
VTB EQU 0B             /* Vertical Tab                                */
FFF EQU 0C             /* Form Feed                                   */
CRR EQU 0D             /* Carriage Return                             */
P05 EQU 1B 57 01       /* 5 Pitch-Characters/inch                     */
                       /* Same as Double Wide                         */
SEL EQU 11             /* Select Printer                              */
P10 EQU 12             /* 10 Pitch-Characters/inch                    */
CDW EQU 1B 57 00       /* Cancel Double Wide contin.                  */
CDL EQU 14             /* Cancel Double Wide line                     */
ESC EQU 1B             /* Escape                                      */
CAN EQU 18             /* Cancel Data                                 */
SPA EQU 20             /* Space                                       */
P17 EQU 12 0F          /* 17.1 Pitch-Characters/inch                  */
CS2 EQU 1B 36          /* Select Character Set 2                      */
CS1 EQU 1B 37          /* Select Character Set 1                      */
P12 EQU 1B 3A          /* 12 Pitch-characters/inch                    */
SVT EQU 1B 42          /* Set Vertical Tabs                           */
SFL EQU 1B 43 00       /* Set Form Length                             */
SHT EQU 1B 44          /* Set Horizontal Tabs                         */
SDS EQU 1B 47          /* Start Double Strike                         */
CDS EQU 1B 48          /* Cancel Double Strike                        */
SSP EQU 1B 4E          /* Set skip perforation                        */
CSP EQU 1B 4F          /* Cancel skip perforation                     */
CAT EQU 1B 52          /* Cancel all tabs Clears VT                   */
                       /* and sets HT every 8 position                */
CSS EQU 1B 54          /* Cancel Subscript or Superscript             */
SSO EQU 1B 53 00       /* Set Superscript over                        */
SSU EQU 1B 53 01       /* Set Subscript under                         */
SUL EQU 1B 2D 01       /* Start Underline                             */
CUL EQU 1B 2D 00       /* Cancel Underline                            */
SCP EQU 1B 5B 54 04 00 00 00 /* ESC T - select code page              */
CP8 EQU 1B 5B 54 04 00 00 00 03 52     /* select code page 850        */
CP4 EQU 1B 5B 54 04 00 00 00 01 B5     /* select code page 437        */
LL2 EQU 1B 41 24 1B 32 /* Setline length 2 lines/inch                 */
LL3 EQU 1B 41 18 1B 32 /* Setline length 3 lines/inch                 */
LL4 EQU 1B 41 12 1B 32 /* Setline length 4 lines/inch                 */
LL6 EQU 1B 41 0C 1B 32 /* Set line length 6 lines/inch                */
LL8 EQU 1B 41 09 1B 32 /* Set line length 8 lines/inch                */
LL0 EQU 1B 41 07 1B 32 /* Set line length 10 lines/inch               */
                       /* actually 7/72 inch                          */
SD1 EQU 1B 5B 46 05 00 00 01 01 00 00 /* Select Drawer 1              */
SD2 EQU 1B 5B 46 05 00 00 01 02 00 00 /* Select Drawer 2              */
ENV EQU 1B 5B 46 05 00 00 02 00 00 00 /* Select Envelope              */
FRM EQU 1B 64          /* Forward Relative Movement                   */
VLF EQU 1B 4A          /* Vertical Line Feed 1/216 inch units         */
SPO EQU 1B 6B          /* Set Portrait Orientation                    */
SLO EQU 1B 6C          /* Set Landscape Orientation                   */
SFG EQU 1B 5B 49 08 00 /* Set Font Global                             */
END_MACROS
/*                     Session Parameters                             */
/* These parameters determine the way in which output will be         */
/* formatted for your printer.                                        */
/* Numeric Parameters                                                 */
/* These parameters should be defined with a two digit hex number     */
/* or a three digit decimal number.  The range of the number is zero  */
/* to 255 (decimal).                                                  */
MAXIMUM_PAGE_LENGTH=066              /* Printed lines per page        */
MAXIMUM_PRINT_POSITION=080           /* Printed characters per line   */
INTERV_REQ_TIMER=001
RESELECT_TIME_EXCPT_5204=001
INTERV_TIMER_ON_PE_ONLY?=NO
HORIZONTAL_PEL=120
VERTICAL_PEL=216
LINE_SPACING_RATIO=072
PAGE_LENGTH_TYPE?=INCH               /* SET_PAGE_LENGTH "value" is    */
                                       /* values                      */
/* YES/NO Parameters                                                  */
/* These parameters should be defined with either "YES" or "NO" on the*/
/* right hand side of the '='                                         */
COMPRESS_LINE_SPACING?=NO            /* Should blank or null lines    */
                                       /* be printed?                 */
FORM_FEED_ANY_POSITION?=YES          /* Should the form feed be       */
                                       /* valid in any position?      */
OVERRIDE_FORMATTED_PRINT?=YES        /* Should nulls be printed as    */
                                       /* blanks?                     */
AUTO_NEWLINE_AT_MAX_POS?=NO
/*                         Control Codes                              */
/* These definitions tell the emulator what control strings to send to*/
/* your printer to issue control commands.                            */
/*                                                                    */
/* Format                                                             */
/* The name of the control command should always be at the beginning  */
/* of a line followed by a '=' and then a definition string.          */
/* A Definition String is any combination of macro names, hexadecimal */
/* numbers, and characters separated by blanks.  A macro must have    */
/* previously defined in the macro definitions section above. A       */
/* hexadecimal number must be two digits (0,..,F) long. and a         */
/* character must be preceded and followed by a blank.  If a          */
/* definition string will not fit on a line, it may be continued      */
/* as many lines as you wish by ending each line except the last with */
/* a comma;  ','.   You made add any comments you wish to by including*/
/* them between a slash*  and a *slash where slash is the symbol /.   */
 
/* START_JOB is the control string which will be sent to your printer */
/* at the beginning of each print job.                                */
START_JOB=SEL CDW CDL CUL CDS CP8 CS2
/* END_JOB is the string which will be sent to your printer at the end*/
/* of each print job.                                                 */
END_JOB=CAT CDW CDL CUL CDS CP4 FFF
BACKSPACE=BAK
BEL=BEL
CARRIAGE_RETURN=CRR
NEW_LINE=CRR LFF
LINE_FEED=LFF
FORM_FEED=FFF
HORIZONTAL_TAB=TAB
VERTICAL_TAB=VTB
START_SUBSCRIPT=SSU
END_SUBSCRIPT=CSS
START_SUPERSCRIPT=SSO
END_SUPERSCRIPT=CSS
DUP=*
FIELD_MARK=;
/* The following commands specify control codes for which most PC     */
/* printers require command strings which contain a variable value    */
/* or values somewhere in the middle of the string.                   */
/* Place the word "value(s)" in the position of your definition       */
/* string where the Z and I Emulator for Windows 5250 should fill in       */
/* the hexadecimal value(s) indicated.                                */
/* For example, on the IBM Proprinter, the SET_HORIZONTAL_TABS        */
/* definition is:                                                     */
/* SET_HORIZONTAL_TABS=ESC D values NUL                               */
SET_HORIZONTAL_TABS=SHT values NUL   /* "values" are the tab stops    */
                                       /* in column numbers           */
SET_VERTICAL_TABS=SVT values NUL     /* "values" are the tab stops    */
                                       /* in line numbers             */
SET_HORIZONTAL_MARGINS=
SET_PAGE_LENGTH=SFL value            /* "value"=inch of the page      */
SET_AUTO_PERFORATION_SKIP=SSP value
                                       /* "value"=number of lines to  */
                                       /* skip over the perforation   */
                                       /* between pages.  Used to set */
                                       /* top and bottom margins.     */
SET_VARIABLE_LINE_DENSITY=ESC A value ESC 2
                                       /* "value"=number of points.   */
                                       /* A point is                  */
                                       /* 1/(LINE_SPACING_RATIO) inch.*/
SET_CHARACTER_SET=
/*SET_CHARACTER_SET=ESC I NULL  selects the normal font               */
/*SET_CHARACTER_SET=ESC I 02  selects the NLQ (near letter quality)   */
/*SET_CHARACTER_SET=ESC I 04  selects the normal downloaded font      */
/*SET_CHARACTER_SET=ESC I 06  selects the NLQ downloaded font         */
/*SET_CHARACTER_SET=CS1       selects the Character set 1             */
/*SET_CHARACTER_SET=CS2       selects the Character set 2             */
 
/* These control codes set the printer lines per inch and characters  */
/* per inch to fixed amounts.                                         */
/* If your printer does not support setting the line density in points*/
/* then you can enter control strings for the following commands.     */
/* When Z and I Emulator for Windows 5250 gets a command from the host to  */
/* set the lines per  inch, it will round it to the closest line per  */
/* inch setting that you provide.  Note that if you provide a command */
/* for the SET_VARIABLE_LINE_DENSITY command above that it will be    */
/* used and any control strings you provide for the set lines per inch*/
/* commands below will not be used.                                   */
 
SET_2_LINES_PER_INCH=LL2
SET_3_LINES_PER_INCH=LL3
SET_4_LINES_PER_INCH=LL4
SET_6_LINES_PER_INCH=LL6
SET_8_LINES_PER_INCH=LL8
SET_10_LINES_PER_INCH=LL0            /* 7/72 inch or 9/96 inch        */
SET_10_CHARACTERS_PER_INCH=P10
SET_12_CHARACTERS_PER_INCH=P12
SET_13_CHARACTERS_PER_INCH=          /*                               */
SET_15_CHARACTERS_PER_INCH=          /* The proprinter does not       */
                                       /* support 15 pitch except in  */
                                       /* graphic mode                */
SET_17_CHARACTERS_PER_INCH=P17       /* Condensed mode                */
SET_20_CHARACTERS_PER_INCH=
START_DOUBLE_WIDTH_CHARACTERS=P05
END_DOUBLE_WIDTH_CHARACTERS=CDW
 
/* These control codes are used to select the source drawer number    */
/* when your printer has the dual drawer sheetfeed option.            */
SELECT_DRAWER1=SD1
SELECT_DRAWER2=SD2
SELECT_DRAWER3=
SELECT_ENVELOPE=ENV                  /* Envelope                      */
 
/* These control codes select the print mode (quality of print).      */
SELECT_DRAFT_QUALITY=
SELECT_LETTER_QUALITY=
SELECT_ENHANCED_QUALITY=
SELECT_SETUP_QUALITY=
 
/* These control codes                                                */
SET_DUPLEX=
SET_DUPLEX_TUMBLE=
RESET_DUPLEX=
 
/* These control codes set page orientation                           */
SET_PORTRAIT_ORIENT=SPO
SET_LANDSCAPELEFT_ORIENT=SLO
SET_PORTRAITUPDWN_ORIENT=SPO
SET_LANDSCAPERGHT_ORIENT=SLO
 
/* These control codes move the print position (Horizontal/Vertical)  */
FORWARD_HORIZONTAL_SKIP=FRM word-value(LH)
FORWARD_VERTICAL_STEP_FEED=VLF byte-value
 
/* These control codes select the printer font via global font ID     */
SET_FONT_GLOBAL=
SET_GFID_0003=SFG 00 03 00 90 01 01 03 52 CDW   /* OCR-B.10           */
SET_GFID_0005=SFG 00 05 00 90 01 01 03 52 CDW   /* Orator.10          */
SET_GFID_0011=SFG 00 0B 00 90 01 01 03 52 CDW   /* Courier.10         */
SET_GFID_0012=SFG 00 0C 00 90 01 01 03 52 CDW   /* Prestige.10        */
SET_GFID_0013=SFG 00 0B 00 90 01 01 03 52 CDW   /* Artisan.10         */
SET_GFID_0018=SFG 00 12 00 90 01 01 03 52 CDW   /* Courier.Italic.10  */
SET_GFID_0019=SFG 00 13 00 90 01 01 03 52 CDW   /* OCR-A.10           */
SET_GFID_0020=SFG 00 14 00 90 01 01 03 52 CDW   /* Pica.10            */
SET_GFID_0030=SFG 00 1E 00 90 01 01 03 52 CDW   /* Math-Symbol.10     */
SET_GFID_0038=SFG 00 26 00 90 01 01 03 52 CDW   /* Orator.Bold.10     */
SET_GFID_0039=SFG 00 27 00 90 01 01 03 52 CDW   /* Gothic.Bold.10     */
SET_GFID_0040=SFG 00 28 00 90 01 01 03 52 CDW   /* Gothic-Text.10     */
SET_GFID_0041=SFG 00 29 00 90 01 01 03 52 CDW   /* Roman-text.10      */
SET_GFID_0042=SFG 00 2A 00 90 01 01 03 52 CDW   /* Serif-text.10      */
SET_GFID_0043=SFG 00 2B 00 90 01 01 03 52 CDW   /* Serif-text.Italic.10*/
SET_GFID_0044=SFG 00 2C 00 90 01 01 03 52 CDW   /* Katakana-gothic.10 */
SET_GFID_0045=SFG 00 2D 00 90 01 01 03 52 CDW   /* APL.10             */
SET_GFID_0046=SFG 00 2E 00 90 01 01 03 52 CDW   /* Courier.Bold.10    */
SET_GFID_0050=SFG 00 32 00 90 01 01 03 52 CDW   /* Shalom.10          */
SET_GFID_0066=SFG 00 42 00 78 01 01 03 52 CDW   /* Gothic-text.12     */
SET_GFID_0068=SFG 00 44 00 78 01 01 03 52 CDW   /* Gothic-text.Italic.12*/
SET_GFID_0069=SFG 00 45 00 78 01 01 03 52 CDW   /* Gothic.Bold.12     */
SET_GFID_0070=SFG 00 46 00 78 01 01 03 52 CDW   /* Serif-text.12      */
SET_GFID_0071=SFG 00 47 00 78 01 01 03 52 CDW   /* Serif-text.Italic.12*/
SET_GFID_0072=SFG 00 48 00 78 01 01 03 52 CDW   /* Serif.Bold.12      */
SET_GFID_0080=SFG 00 73 00 78 01 01 03 52 CDW   /* Math-Symbol.12     */
SET_GFID_0084=SFG 00 54 00 78 01 01 03 52 CDW   /* Script.12          */
SET_GFID_0085=SFG 00 55 00 78 01 01 03 52 CDW   /* Courier.12         */
SET_GFID_0086=SFG 00 56 00 78 01 01 03 52 CDW   /* Prestige.12        */
SET_GFID_0087=SFG 00 57 00 78 01 01 03 52 CDW   /* Letter-gothic.12   */
SET_GFID_0091=SFG 00 70 00 78 01 01 03 52 CDW   /* Light.Italic.12    */
SET_GFID_0107=SFG 00 55 00 78 01 01 03 52 CDW   /* Courier.12         */
SET_GFID_0110=SFG 00 6E 00 78 01 01 03 52 CDW   /* Letter-Gothic.Bold.12*/
SET_GFID_0111=SFG 00 6F 00 78 01 01 03 52 CDW   /* Prestige-Elite.Bold.12*/
SET_GFID_0112=SFG 00 70 00 78 01 01 03 52 CDW   /* Prestige.Italic.12 */
SET_GFID_0115=SFG 00 73 00 78 01 01 03 52 CDW   /* Math-Symbol.12     */
SET_GFID_0155=SFG 00 9B 00 78 02 01 03 52 CDW   /* Boldface.Italic.PSM*/
SET_GFID_0158=SFG 00 9E 00 78 02 01 03 52 CDW   /* Modern.PSM         */
SET_GFID_0159=SFG 00 9F 00 78 02 01 03 52 CDW   /* Document.PSM       */
SET_GFID_0160=SFG 00 A0 00 78 02 01 03 52 CDW   /* Essay.PSM          */
SET_GFID_0162=SFG 00 A2 00 78 02 01 03 52 CDW   /* Essay.Italic.PSM   */
SET_GFID_0163=SFG 00 A3 00 78 02 01 03 52 CDW   /* Essay.Bold.PSM     */
SET_GFID_0168=SFG 00 A8 00 78 02 01 03 52 CDW   /* Barak.PSM          */
SET_GFID_0173=SFG 00 AD 00 78 02 01 03 52 CDW   /* Essay.Light.PSM    */
SET_GFID_0175=SFG 00 AF 00 78 02 01 03 52 CDW   /* Document.PSM       */
SET_GFID_0176=SFG 00 B0 00 78 02 01 03 52 CDW   /* Boldface.PSM       */
SET_GFID_0177=SFG 00 9B 00 78 02 01 03 52 CDW   /* Boldface.Italic.PSM*/
SET_GFID_0193=SFG 00 73 00 78 01 01 03 52 CDW   /* Math-Symbol.12     */
SET_GFID_0198=SFG 00 1E 00 90 01 01 03 52 CDW   /* Math-Symbol.10     */
SET_GFID_0204=SFG 00 CC 00 6C 01 01 03 52 CDW   /* Gothic-text.13     */
SET_GFID_0221=SFG 00 DD 00 60 01 01 03 52 CDW   /* Prestige.15        */
SET_GFID_0222=SFG 00 E6 00 60 01 01 03 52 CDW   /* Gothic-text.15     */
SET_GFID_0223=SFG 00 DF 00 60 01 01 03 52 CDW   /* Courier.15         */
SET_GFID_0225=SFG 00 E1 00 60 01 01 03 52 CDW   /* Math-symbol.15     */
SET_GFID_0229=SFG 00 E5 00 60 01 01 03 52 CDW   /* Serif-text.15      */
SET_GFID_0230=SFG 00 E6 00 60 01 01 03 52 CDW   /* Gothic-text.15     */
SET_GFID_0245=SFG 00 2E 00 90 01 01 03 52 P05   /* Courier.Bold.5     */
SET_GFID_0252=SFG 00 FC 00 54 01 01 03 52 CDW   /* Courier.15         */
SET_GFID_0253=SFG 00 FD 00 54 01 01 03 52 CDW   /* Courier.Bold.17    */
SET_GFID_0254=SFG 00 FE 00 55 01 01 03 52 CDW   /* Courier.17         */
SET_GFID_0280=SFG 01 18 00 48 01 01 03 52 CDW   /* APL.20             */
SET_GFID_0281=SFG 01 19 00 48 01 01 03 52 CDW   /* Gothic-text.20     */
SET_GFID_0290=SFG 01 22 00 36 01 01 03 52 CDW   /* Gothic-text.27     */
SET_GFID_0751=SFG 11 37 00 A0 01 03 03 52 CDW   /* Sonoran-serif.8pt  */
SET_GFID_1051=SFG 11 37 00 C8 01 03 03 52 CDW   /* Sonoran-serif.10pt */
SET_GFID_1053=SFG 11 4B 00 C8 01 03 03 52 CDW   /* Sonoran-serif.bold.10pt*/
SET_GFID_1056=SFG 11 B7 00 C8 01 03 03 52 CDW   /* Sonoran-serif.italic.10pt*/
SET_GFID_1351=SFG 11 37 00 F0 01 03 03 52 CDW   /* Sonoran-serif.12pt  */
SET_GFID_1653=SFG 11 4B 01 40 01 03 03 52 CDW   /* Sonoran-serif.Bold.16pt*/
SET_GFID_2103=SFG 11 4B 01 E0 01 03 03 52 CDW   /* Sonoran-serif.Bold.24pt*/
 
/*                      Color Specifications                          */
START_COLOR_BLUE=
END_COLOR_BLUE=
START_COLOR_GREEN=
END_COLOR_GREEN=
START_COLOR_CYAN=
END_COLOR_CYAN=
START_COLOR_RED=
END_COLOR_RED=
START_COLOR_MAGENTA=
END_COLOR_MAGENTA=
START_COLOR_YELLOW=
END_COLOR_YELLOW=
START_COLOR_BLACK=
END_COLOR_BLACK=
START_COLOR_WHITE=
END_COLOR_WHITE=
 
/*                        Highlight Specifications                    */
/* These definitions will determine how things which are sent by the  */
/* host to be displayed or printed as underlined, reverse video, or   */
/* blinking will be highlighted on your printer.                      */
 
START_HIGHLIGHT_INTENSE=SDS           /* This is double strike        */
END_HIGHLIGHT_INTENSE=CDS
START_HIGHLIGHT_UNDERLINE=SUL
END_HIGHLIGHT_UNDERLINE=CUL
START_HIGHLIGHT_REVERSE_VIDEO=
END_HIGHLIGHT_REVERSE_VIDEO=
START_HIGHLIGHT_BLINK=
END_HIGHLIGHT_BLINK=
 
/*                      Character Definitions                         */
SPACE=SPA
EXCLAMATION_POINT=21
QUOTATION_MARKS=22
NUMBER_SIGN=23
DOLLAR_SIGN=24
PERCENT_SIGN=25
AMPERSAND=26
APOSTROPHE=27
LEFT_PARENTHESIS=28
RIGHT_PARENTHESIS=29
ASTERISK=2A
PLUS_SIGN=2B
COMMA=2C
HYPHEN=2D
PERIOD=2E
SLASH=2F
ZERO=0
ONE=1
TWO=2
THREE=3
FOUR=4
FIVE=5
SIX=6
SEVEN=7
EIGHT=8
NINE=9
COLON=3A
SEMICOLON=3B
LESS_THAN_SIGN=3C
EQUAL_SIGN=3D
GREATER_THAN_SIGN=3E
QUESTION_MARK=3F
AT_SIGN=40
A_CAPITAL=A
B_CAPITAL=B
C_CAPITAL=C
D_CAPITAL=D
E_CAPITAL=E
F_CAPITAL=F
G_CAPITAL=G
H_CAPITAL=H
I_CAPITAL=I
J_CAPITAL=J
K_CAPITAL=K
L_CAPITAL=L
M_CAPITAL=M
N_CAPITAL=N
O_CAPITAL=O
P_CAPITAL=P
Q_CAPITAL=Q
R_CAPITAL=R
S_CAPITAL=S
T_CAPITAL=T
U_CAPITAL=U
V_CAPITAL=V
W_CAPITAL=W
X_CAPITAL=X
Y_CAPITAL=Y
Z_CAPITAL=Z
LEFT_BRACKET=5B
BACKSLASH=5C
RIGHT_BRACKET=5D
CIRCUMFLEX_ACCENT=5E
UNDERLINE=5F
GRAVE_ACCENT=60
A_SMALL=a
B_SMALL=b
C_SMALL=c
D_SMALL=d
E_SMALL=e
F_SMALL=f
G_SMALL=g
H_SMALL=h
I_SMALL=i
J_SMALL=j
K_SMALL=k
L_SMALL=l
M_SMALL=m
N_SMALL=n
O_SMALL=o
P_SMALL=p
Q_SMALL=q
R_SMALL=r
S_SMALL=s
T_SMALL=t
U_SMALL=u
V_SMALL=v
W_SMALL=w
X_SMALL=x
Y_SMALL=y
Z_SMALL=z
LEFT_BRACE=7B
VERTICAL_BAR=7C
RIGHT_BRACE=7D
TILDE_ACCENT=7E
C_CEDILLA_CAPITAL=80
U_DIAERESIS_SMALL=81
E_ACUTE_SMALL=82
A_CIRCUMFLEX_SMALL=83
A_DIAERESIS_SMALL=84
A_GRAVE_SMALL=85
A_OVERCIRCLE_SMALL=86
C_CEDILLA_SMALL=87
E_CIRCUMFLEX_SMALL=88
E_DIAERESIS_SMALL=89
E_GRAVE_SMALL=8A
I_DIAERESIS_SMALL=8B
I_CIRCUMFLEX_SMALL=8C
I_GRAVE_SMALL=8D
A_DIAERESIS_CAPITAL=8E
A_OVERCIRCLE_CAPITAL=8F
E_ACUTE_CAPITAL=90
AE_DIPTHONG_SMALL=91
AE_DIPTHONG_CAPITAL=92
O_CIRCUMFLEX_SMALL=93
O_DIAERESIS_SMALL=94
O_GRAVE_SMALL=95
U_CIRCUMFLEX_SMALL=96
U_GRAVE_SMALL=97
Y_DIAERESIS_SMALL=98
O_DIAERESIS_CAPITAL=99
U_DIAERESIS_CAPITAL=9A
O_SLASH_SMALL=9B
POUND_SIGN=9C
O_SLASH_CAPITAL=9D
MULTIPLY_SIGN=9E
A_ACUTE_SMALL=A0
I_ACUTE_SMALL=A1
O_ACUTE_SMALL=A2
U_ACUTE_SMALL=A3
N_TILDE_SMALL=A4
N_TILDE_CAPITAL=A5
ORDINAL_INDICATOR_FEMININE=A6
ORDINAL_INDICATOR_MASCULINE=A7
QUESTION_MARK_INVERTED=A8
REGISTERED_TRADEMARK_SYMBOL=A9
LOGICAL_NOT=AA
ONE_HALF=AB
ONE_QUARTER=AC
EXCLAMATION_POINT_INVERTED=AD
LEFT_ANGLE_QUOTES=AE
RIGHT_ANGLE_QUOTES=AF
A_ACUTE_CAPITAL=B5
A_CIRCUMFLEX_CAPITAL=B6
A_GRAVE_CAPITAL=B7
COPYRIGHT_SYMBOL=B8
CENT_SIGN=BD
YEN_SIGN=BE
A_TILDE_SMALL=C6
A_TILDE_CAPITAL=C7
INTERNATIONAL_CURRENCY_SYMBOL=CF
ETH_ICELANDIC_SMALL=D0
ETH_ICELANDIC_CAPITAL=D1
E_CIRCUMFLEX_CAPITAL=D2
E_DIAERESIS_CAPITAL=D3
E_GRAVE_CAPITAL=D4
I_DOTLESS_SMALL=D5
I_ACUTE_CAPITAL=D6
I_CIRCUMFLEX_CAPITAL=D7
I_DIAERESIS_CAPITAL=D8
VERTICAL_LINE_BROKEN=DD
I_GRAVE_CAPITAL=DE
O_ACUTE_CAPITAL=E0
SHARP_S_SMALL=E1
O_CIRCUMFLEX_CAPITAL=E2
O_GRAVE_CAPITAL=E3
O_TILDE_SMALL=E4
O_TILDE_CAPITAL=E5
MICRO_SYMBOL=E6
THORN_ICELANDIC_SMALL=E7
THORN_ICELANDIC_CAPITAL=E8
U_ACUTE_CAPITAL=E9
U_CIRCUMFLEX_CAPITAL=EA
U_GRAVE_CAPITAL=EB
Y_ACUTE_SMALL=EC
Y_ACUTE_CAPITAL=ED
OVERLINE=EE
ACUTE_ACCENT=EF
SYLLABLE_HYPHEN=F0
PLUS_OR_MINUS_SIGN=F1
THREE_QUARTERS=F3
PARAGRAPH_SYMBOL=F4
SECTION_SYMBOL=F5
DIVIDE_SIGN=F6
CEDILLA=F7
DEGREE_SYMBOL=F8
DIAERESIS=F9
MIDDLE_DOT_ACCENT=FA
ONE_SUPERSCRIPT=FB
THREE_SUPERSCRIPT=FC
TWO_SUPERSCRIPT=FD
REQUIRED_SPACE=SPA
/**********************************************************************/
/*                PC5250 Internal Data Area.                          */
/* Do not change these statements.                                    */
/**********************************************************************/
TOP_MARGIN=
LEFT_MARGIN=
DYNAMIC_START_JOB=00 00 00 00 00 00 00 00 00 00 00
DYNAMIC_END_JOB=00 00
DYNAMIC_SET_PAGE_LENGTH=00 00 00
PRINTER_ID=40 19
/*                      End of Definition File                        */

IBM5577.PDF File Contents

/**********************************************************************/
/*    PDF FILE (PRINTER DEFINITION FILE) FOR: PS/55 Printer           */
/**********************************************************************/
BEGIN_MACROS
NUL EQU 00
BEL EQU 07
BAK EQU 08
TAB EQU 09
LFF EQU 0A
VTB EQU 0B
FFF EQU 0C
CRR EQU 0D
SEL EQU 11
DC3 EQU 13
ESC EQU 1B
CAN EQU 18
SPA EQU 20
P10 EQU 1B 7E 02 00 01 32
P12 EQU 1B 7E 02 00 01 3C
P13 EQU 1B 7E 02 00 01 43
P15 EQU 1B 7E 02 00 01 4B
SDW EQU 1B 7E 0E 00 01 09
EDW EQU 1B 7E 0E 00 01 0A
SVT EQU 1B 7E 19
SHT EQU 1B 7E 18
CSS EQU 1B 7E 0E 00 01 0F
SSO EQU 1B 7E 0E 00 01 0D
SSU EQU 1B 7E 0E 00 01 0E
SUL EQU 1B 7E 11 00 01 01
CUL EQU 1B 7E 11 00 01 00
LL2 EQU 1B 7E 03 00 01 14
LL3 EQU 1B 7E 03 00 01 1E
LL4 EQU 1B 7E 03 00 01 28
LL6 EQU 1B 7E 03 00 01 3C
LL7 EQU 1B 7E 03 00 01 4B
LL8 EQU 1B 7E 03 00 01 50
SPL EQU 1B 7E 04 00 03 00
INZ EQU 1B 7E 01 00 00
EJC EQU 1B 7E 0E 00 01 06
END_MACROS
/**********************************************************************/
/*                     Session Parameters                             */
/**********************************************************************/
MAXIMUM_PAGE_LENGTH=066
MAXIMUM_PRINT_POSITION=132
DEFAULT_CPI?=010
DEFAULT_LPI?=006
COMPRESS_LINE_SPACING?=NO
FORM_FEED_ANY_POSITION?=YES
OVERRIDE_FORMATTED_PRINT?=YES
HORIZONTAL_PEL=180
VERTICAL_PEL=120
UNITS_OF_DRAW_LINE=
KANJI_CODE?=SHIFT_JIS
ZENKAKU_SPACE=
PAGE_LENGTH_TYPE?=6INCH
/**********************************************************************/
/*                     Control Codes                                  */
/**********************************************************************/
START_JOB=INZ SEL LL6 P10
END_JOB=INZ
BACKSPACE=BAK
BEL=BEL
CARRIAGE_RETURN=CRR
NEW_LINE=CRR LFF
LINE_FEED=LFF
FORM_FEED=EJC
HORIZONTAL_TAB=TAB
VERTICAL_TAB=VTB
DESELECT=DC3
START_SUBSCRIPT=SSU
END_SUBSCRIPT=CSS
START_SUPERSCRIPT=SSO
END_SUPERSCRIPT=CSS
DUP=*
FIELD_MARK=;
SET_HORIZONTAL_TABS=SHT length(HL)-values
SET_VERTICAL_TABS=SVT length(HL)-values
SET_HORIZONTAL_MARGINS=
SET_PAGE_LENGTH=SPL word-value(HL)
SET_2_LINES_PER_INCH=LL2
SET_3_LINES_PER_INCH=LL3
SET_4_LINES_PER_INCH=LL4
SET_6_LINES_PER_INCH=LL6
SET_7.5_LINES_PER_INCH=LL7
SET_8_LINES_PER_INCH=LL8
SET_10_CHARACTERS_PER_INCH=P10
SET_12_CHARACTERS_PER_INCH=P12
SET_13.4_CHARACTERS_PER_INCH=P13
SET_15_CHARACTERS_PER_INCH=P15
START_DOUBLE_WIDTH_CHARACTERS=SDW
END_DOUBLE_WIDTH_CHARACTERS=EDW
IMAGE_TRANSMISSION=1B 25 31 length(HL)-images
FORWARD_HORIZONTAL_SKIP=1B 25 33 word-value(HL)
FORWARD_VERTICAL_STEP_FEED=1B 25 35 word-value(HL)
SET_FONT_SIZE=1B 7E 20 00 03 word-value(HL) 02
SET_TATEGAKI_MODE=1B 7E 0E 00 01 0B
RESET_TATEGAKI_MODE=1B 7E 0E 00 01 0C
SBCS_FONT_LOAD=1B 7E 81 00 28 F0 40 00 18 byte-values F0 40
SELECT_DRAWER=
SET_LOCAL_FONT=
RESET_LOCAL_FONT=
ABS_HORIZONTAL_COLUMN_SKIP=1B 7E 1C 00 02 00 byte-value
REL_HOR_COLUMN_SKIP_TO_RIGHT=1B 7E 1C 00 02 01 byte-value
SET_SOLID_LINE_TYPE=
SET_DOTTED_LINE_TYPE=
SET_LINE_WIDTH_THIN=
SET_LINE_WIDTH_BOLD=
DRAW_LINE=
KANJI_ON=
KANJI_OFF=
ATTRIBUTE_GRID_LINE=1B 7E 16 length(HL)-values
/**********************************************************************/
/*                     Highlight Specifications                       */
/**********************************************************************/
START_HIGHLIGHT_INTENSE=ESC 7E 0E 00 01 17
END_HIGHLIGHT_INTENSE=ESC 7E 0E 00 01 18
START_HIGHLIGHT_UNDERLINE=1B 7E 11 00 01 01
END_HIGHLIGHT_UNDERLINE=1B 7E 11 00 01 00
/**********************************************************************/
/*                     Internal Data Area.                            */
/* Do not change these statement.                                     */
/**********************************************************************/
TOP_MARGIN=
LEFT_MARGIN=
DYNAMIC_START_JOB=00 00 00 00 00 00 00 00 00 00 00
DYNAMIC_END_JOB=00 00
DYNAMIC_SET_PAGE_LENGTH=00 00 00
PRINTER_ID=55 77
/*                      End of Definition File                        */

Field Names of Printer Definition Files

Table 7 lists the field names of the printer definition files (PDF files) and their meanings:

Table 7. Field Names of PDF Files
Field Name Meaning Remarks
MAXIMUM_PAGE_LENGTH Default MPL Default is 66
MAXIMUM_PRINT_POSITION Default MPP Default is 132
DEFAULT_CPI? Default CPI Default is 10
DEFAULT_LPI? Default LPI Default is 6
COMPRESS_LINE_SPACING? Specifies whether to print a line containing only space characters or nonprint characters.
FORM_FEED_ANY_POSITION? Specifies whether to validate the FF control code on the first line. Do not change this field.
OVERRIDE_FORMATTED_PRINT? Specifies whether to print NULL characters as blanks. Do not change this field.
HORIZONTAL_PEL FORWARD_HORIZONTAL_SKIP length unit
VERTICAL_PEL FORWARD_VERTICAL_SKIP length unit
IMAGE_HORIZONTAL_PEL IMAGE_TRANSMISSION horizontal length unit
IMAGE_VERTICAL_PEL IMAGE_TRANSMISSION vertical length unit
LINE_SPACING_RATIO SET_VARIABLE_LINE_DENSITY length unit
PAGE_LENGTH_TYPE? SET_PAGE _LENGTH page length parameter type
FIRST_LEFT_POSITION Distance from left paper edge
FIRST_TOP_POSITION Distance from top paper edge
DRAWER1_ORIENTATION Default page orientation for drawer 1 Default is COR
DRAWER2_ORIENTATION Default page orientation for drawer 2 Default is COR
AUTOMATIC_ORIENTATION Specifies whether to calculate the page orientation.
START_JOB Printer control code sent to a printer to start printing If the control code specifying LPI/CPI is defined, also change DEFAULT_CPI, DEFAULT_LPI.
END_JOB Printer control code sent to a printer when printing ends
BACKSPACE Backspace control code
BEL Bell control code Specifies the number of blank lines to send in Print Screen Collection mode
CARRIAGE_RETURN Carriage return control code
NEW_LINE New line (CR/LF) control code
LINE_FEED New line control code
FORM_FEED Form feed (FF) control code
HORIZONTAL_TAB Horizontal tab control code
VERTICAL_TAB Vertical tab control code
DESELECT Device control 3 control code
START_SUBSCRIPT Subscript character specification
END_SUBSCRIPT Subscript character specification release
START_SUPERSCRIPT Superscript character specification
END_SUPERSCRIPT Superscript character specification release
DUP Character used for printing DUP codes
FIELD_MARK Character used for printing FIELD MARK characters
SET_HORIZONTAL_TABS Horizontal tab setup Do not change this field.
SET_VERTICAL_TABS Vertical tab setup Do not change this field.
SET_HORIZONTAL_MARGINS Right and left margin setup Do not change this field.
SET_PAGE_LENGTH Page length setup Assign the unit used for the defined control code page length to the PAGE_LENGTH_TYPE field. When single sheets are to be used, delete this field.
SET_VARIABLE_LINE_DENSITY Line density setup Assign the unit used for the control code length defined to LINE_SPACING_RATIO field.
SET_2_LINES_PER_INCH New line pitch (2LPI) setup
SET_3_LINES_PER_INCH New line pitch (3LPI) setup
SET_4_LINES_PER_INCH New line pitch (4LPI) setup
SET_6_LINES_PER_INCH New line pitch (6LPI) setup
SET_8_LINES_PER_INCH New line pitch (8LPI) setup
SET_10_LINES_PER_INCH New line pitch (10LPI) setup
SET_10_CHARACTERS_PER_INCH Character pitch (10CPI) setup
SET_12_CHARACTERS_PER_INCH Character pitch (12CPI) setup
SET_13_CHARACTERS_PER_INCH Character pitch (13CPI) setup
SET_15_CHARACTERS_PER_INCH Character pitch (15CPI) setup
SET_17_CHARACTERS_PER_INCH Character pitch (17CPI) setup
SET_20_CHARACTERS_PER_INCH Character pitch (20CPI) setup
IMAGE_TRANSMISSION Image data setup (vertical 24-dot image)
SELECT_DRAWER1 Page tray (Primary) setup
SELECT_DRAWER2 Page tray (Alternate) setup
SELECT_ENVELOPE Envelope tray setup
SELECT_DRAFT_QUALITY Draft print quality setup
SELECT_LETTER_QUALITY Letter print quality setup
SELECT_ENHANCED_QUALITY Enhanced print quality setup
SET_DUPLEX Duplex printing setup
SET_DUPLEX_TUMBLE Duplex (tumble) printing setup
RESET_DUPLEX Duplex printing release
SET_PORTRAIT_ORIENT Page orientation (Normal portrait (upright)) setup
SET_LANDSCAPELEFT_ORIENT Page orientation (Landscape left (270 degree clockwise rotation of text)) setup
SET_PORTRAITUPDWN_ORIENT Page orientation (Portrait upside down (180 degree clockwise rotation of text)) setup
SET_LANDSCAPERGHT_ORIENT Page orientation (Landscape right (90 degree clockwise rotation of text)) setup
FORWARD_HORIZONTAL_SKIP Variable skip (relative position/dot unit) Assign the unit of the defined control code length to the HORIZONTAL_PEL field.
FORWARD_VERTICAL_STEP_FEED Variable line feed (relative position/dot unit) Assign the unit of the defined control code length to the VERTICAL_PEL field.
SET_FONT_GLOBAL Global font ID setup Do not change this field.
SET_GFID_0003 GFID 3 (OCR-B) setup
SET_GFID_0005 GFID 5 (Orator) setup
SET_GFID_0011 GFID 11 (Courier 10) setup
SET_GFID_0012 GFID 12 (Prestige Pica) setup
SET_GFID_0013 GFID 13 (Artisan 10) setup
SET_GFID_0018 GFID 18 (Courier Italic 10) setup
SET_GFID_0019 GFID 19 (OCR-A) setup
SET_GFID_0020 GFID 20 (Pica) setup
SET_GFID_0030 GFID 30 (Math Symbol 10) setup
SET_GFID_0038 GFID 38 (Orator Bold) setup
SET_GFID_0039 GFID 39 (Gothic Bold 10) setup
SET_GFID_0040 GFID 40 (Gothic Text 10) setup
SET_GFID_0041 GFID 41 (Roman Text 10) setup
SET_GFID_0042 GFID 42 (Serif Text 10) setup
SET_GFID_0043 GFID 43 (Serif Italic 10) setup
SET_GFID_0044 GFID 44 (Katakana 10) setup
SET_GFID_0045 GFID 45 (APL 10) setup
SET_GFID_0046 GFID 46 (Courier Bold 10) setup
SET_GFID_0050 GFID 50 (Shalom 10) setup
SET_GFID_0066 GFID 66 (Gothic Text 12) setup
SET_GFID_0068 GFID 68 (Gothic Italic 12) setup
SET_GFID_0069 GFID 69 (Gothic Bold 12) setup
SET_GFID_0070 GFID 70 (Serif Text 12) setup
SET_GFID_0071 GFID 71 (Serif Italic 12) setup
SET_GFID_0072 GFID 72 (Serif Bold 12) setup
SET_GFID_0080 GFID 80 (Math Symbol 12) setup
SET_GFID_0084 GFID 84 (Script 12) setup
SET_GFID_0085 GFID 85 (Courier 12) setup
SET_GFID_0086 GFID 86 (Prestige Elite) setup
SET_GFID_0087 GFID 87 (Letter Gothic 12) setup
SET_GFID_0091 GFID 91 (Light Italic 12) setup
SET_GFID_0110 GFID 110 (Letter Gothic Bold 12) setup
SET_GFID_0111 GFID 111 (Prestige Elite Bold) setup
SET_GFID_0112 GFID 112 (Prestige Elite Italic) setup
SET_GFID_0115 GFID 115 (Math Symbol 12) setup
SET_GFID_0155 GFID 155 (Boldface Italic) setup
SET_GFID_0158 GFID 158 (Modern) setup
SET_GFID_0159 GFID 159 (Boldface) setup
SET_GFID_0160 GFID 160 (Essay) setup
SET_GFID_0162 GFID 162 (Essay Italic) setup
SET_GFID_0163 GFID 163 (Essay Bold) setup
SET_GFID_0168 GFID 168 (Barak PSM) setup
SET_GFID_0173 GFID 173 (Essay Light) setup
SET_GFID_0175 GFID 175 (Document) setup
SET_GFID_0176 GFID 176 (Boldface) setup
SET_GFID_0177 GFID 177 (Boldface Italic) setup
SET_GFID_0193 GFID 193 (Math Symbol 12) setup
SET_GFID_0198 GFID 198 (Math Symbol 10) setup
SET_GFID_0204 GFID 204 (Gothic Text 13) setup
SET_GFID_0221 GFID 221 (Prestige 15) setup
SET_GFID_0222 GFID 222 (Gothic Text 15) setup
SET_GFID_0223 GFID 223 (Courier 15) setup
SET_GFID_0225 GFID 225 (Math Symbol 15) setup
SET_GFID_0229 GFID 229 (Serif Text 15) setup
SET_GFID_0230 GFID 230 (Gothic Text 15) setup
SET_GFID_0245 GFID 245 (Courier Bold 5) setup
SET_GFID_0252 GFID 252 (Courier 17) setup
SET_GFID_0253 GFID 253 (Courier Bold 17) setup
SET_GFID_0254 GFID 254 (Courier 17 (sub/super)) setup
SET_GFID_0280 GFID 280 (APL 20) setup
SET_GFID_0281 GFID 281 (Gothic Text 20) setup
SET_GFID_0290 GFID 290 (Gothic Text 27) setup
SET_GFID_0751 GFID 751 (Sonoran-Serif 8-pt Roman Medium) setup
SET_GFID_1051 GFID 1051 (Sonoran-Serif 10-pt Roman Medium) setup
SET_GFID_1053 GFID 1053 (Sonoran-Serif 10-pt Roman Bold) setup
SET_GFID_1056 GFID 1056 (Sonoran-Serif 10-pt Italic Medium) setup
SET_GFID_1351 GFID 1351 (Sonoran-Serif 12-pt Roman Medium) setup
SET_GFID_1653 GFID 1653 (Sonoran-Serif 16-pt Roman Bold) setup
SET_GFID_2103 GFID 2103 (Sonoran-Serif 24-pt Roman Bold) setup
START_HIGHLIGHT_INTENSE Highlight printing setup
END_HIGHLIGHT_INTENSE Highlight printing release
START_HIGHLIGHT_UNDERLINE Underline setup
END_HIGHLIGHT_UNDERLINE Underline release
TOP_MARGIN Default top margin Do not change this field.
LEFT_MARGIN Default left margin Do not change this field.
DYNAMIC_START_JOB Printer control code sent to a printer to start printing (internal use) Do not change this field.
DYNAMIC_END_JOB Printer control code sent to a printer to stop printing (internal use) Do not change this field.
DYNAMIC_SET_PAGE_LENGTH Page length setup control code sent to a printer at the start of printing (internal use) Do not change this field.
PRINTER_ID Printer ID Do not change this field.
ZENKAKU_SPACE The size (adjustment unit) of a user-defined character and a HANKAKU character Do not change this field.
SBCS_FONT_LOAD Registration of a HANKAKU GAIJI Do not change this field.
SET_LOCAL_FONT Set a font set of user-defined characters Remove this field when user-defined characters are not loaded to a printer.
RESET_LOCAL_FONT Reset a font set of user-defined characters Remove this field when user-defined characters are not loaded to a printer.
ATTRIBUTE_GRID_LINE Grid-line print Do not change this field.
START_DOUBLE_WIDTH_CHARACTER Set a double-width character  
END_DOUBLE_WIDTH_CHARACTER Reset a double-width character  
Notes:
  1. When using IBM5577.PDF, change FORM_FEED=EJC to FORM_FEED in the file when a continuous form job does not feed correctly.

The following table lists the session parameter field names and their effective values:

Table 8. Effective Values for PDF File Field Names
Field Name Effective Value
MAXIMUM_PAGE_LENGTH 001 to 255
MAXIMUM_PRINT_POSITION 001 to 255
DEFAULT_CPI? 010/012/015
DEFAULT_LPI? 004/006/008
COMPRESS_LINE_SPACING? YES/NO
FORM_FEED_ANY_POSITION? YES/NO
OVERRIDE_FORMATTED_PRINT? YES/NO
HORIZONTAL_PEL FORWARD_HORIZONTAL_SKIP length unit
VERTICAL_PEL FORWARD_VERTICAL_ STEP_FEED length unit
IMAGE_HORIZONTAL_PEL IMAGE_TRANSMISSION horizontal unit
IMAGE_VERTICAL_PEL IMAGE_TRANSMISSION vertical unit
LINE_SPACING_RATIO SET_VARIABLE_LINE_DENSITY length unit
PAGE_LENGTH_TYPE? LINE/INCH/6INCH*
FIRST_LEFT_POSITION 000 to 1440 in units of 1/1440 inch
FIRST_TOP_POSITION 000 to 1440 in units of 1/1440 inch
DRAWER1_ORIENTATION LANDSCAPE/PORTRAIT/COR
DRAWER2_ORIENTATION LANDSCAPE/PORTRAIT/COR
AUTOMATIC_ORIENTATION YES/NO
* 6/INCH indicates that page length should be specified in units of 1/6 inch.
Notes:
  1. If one of the desired CPI/LPI settings is not exactly supported by the printer, set the nearest value. The results of printing might not be as desired.
  2. If the units used to specify the control code length defined in FORWARD_HORIZONTAL _SKIP and FORWARD_VERTICAL _STEP_FEED are not the same as the units used to specify the HORIZONTAL_PEL and VERTICAL_PEL, the desired output will not be obtained.
  3. If the units used to specify the control code length defined in SET_VARIABLE_LINE_DENSITY are not the same as the units used to specify the LINE_SPACING_RATIO, the desired output will not be obtained.
  4. When FIRST_LEFT_POSITION and FIRST_TOP_POSITION are specified, their values are regarded as specifying the unprintable area in the page of the printer. These values are included in the top margin and the left margin specified by the iSeries®, eServer™ i5, or System i5® printer control code.

Symbols of Printer Definition Files

The following table lists the symbols that are defined for printer definition files.

Table 9. Printer Symbol Definitions
Field Name Symbol
SPACE  
EXCLAMATION_POINT !
QUOTATION_MARKS "
NUMBER_SIGN #
DOLLAR_SIGN $
PERCENT_SIGN %
AMPERSAND &
APOSTROPHE '
LEFT_PARENTHESIS (
RIGHT_PARENTHESIS )
ASTERISK *
PLUS_SIGN +
COMMA ,
HYPHEN -
PERIOD .
SLASH /
ZERO 0
ONE 1
TWO 2
THREE 3
FOUR 4
FIVE 5
SIX 6
SEVEN 7
EIGHT 8
NINE 9
COLON :
SEMICOLON ;
LESS_THAN_SIGN <
EQUAL_SIGN =
GREATER_THAN_SIGN >
QUESTION_MARK ?
AT_SIGN @
A_CAPITAL A
B_CAPITAL B
C_CAPITAL C
D_CAPITAL D
E_CAPITAL E
F_CAPITAL F
G_CAPITAL G
H_CAPITAL H
I_CAPITAL I
J_CAPITAL J
K_CAPITAL K
L_CAPITAL L
M_CAPITAL M
N_CAPITAL N
O_CAPITAL O
P_CAPITAL P
Q_CAPITAL Q
R_CAPITAL R
S_CAPITAL S
T_CAPITAL T
U_CAPITAL U
V_CAPITAL V
W_CAPITAL W
X_CAPITAL X
Y_CAPITAL Y
Z_CAPITAL Z
LEFT_BRACKET [
BACKSLASH \
RIGHT_BRACKET ]
CIRCUMFLEX_ACCENT ^
UNDERLINE _
GRAVE_ACCENT
grave
A_SMALL a
B_SMALL b
C_SMALL c
D_SMALL d
E_SMALL e
F_SMALL f
G_SMALL g
H_SMALL h
I_SMALL i
J_SMALL j
K_SMALL k
L_SMALL l
M_SMALL m
N_SMALL n
O_SMALL o
P_SMALL p
Q_SMALL q
R_SMALL r
S_SMALL s
T_SMALL t
U_SMALL u
V_SMALL v
W_SMALL w
X_SMALL x
Y_SMALL y
Z_SMALL z
LEFT_BRACE {
VERTICAL_BAR |
RIGHT_BRACE }
TILDE_ACCENT ~
C_CEDILLA_CAPITAL Ç
U_DIAERESIS_SMALL ü
E_ACUTE_SMALL é
A_CIRCUMFLEX_SMALL â
A_DIAERESIS_SMALL ä
A_GRAVE_SMALL à
A_OVERCIRCLE_SMALL å
C_CEDILLA_SMALL ç
E_CIRCUMFLEX_SMALL ê
E_DIAERESIS_SMALL ë
E_GRAVE_SMALL è
I_DIAERESIS_SMALL ï
I_CIRCUMFLEX_SMALL î
I_GRAVE_SMALL ì
A_DIAERESIS_CAPITAL Ä
A_OVERCIRCLE_CAPITAL Å
E_ACUTE_CAPITAL É
AE_DIPTHONG_SMALL æ
AE_DIPTHONG_CAPITAL Æ
O_CIRCUMFLEX_SMALL ô
O_DIAERESIS_SMALL ö
O_GRAVE_SMALL ò
U_CIRCUMFLEX_SMALL û
U_GRAVE_SMALL ù
Y_DIAERESIS_SMALL ÿ
O_DIAERESIS_CAPITAL Ö
U_DIAERESIS_CAPITAL Ü
O_SLASH_SMALL ø
POUND_SIGN £
O_SLASH_CAPITAL Ø
MULTIPLY_SIGN ×
A_ACUTE_SMALL á
I_ACUTE_SMALL í
O_ACUTE_SMALL ó
U_ACUTE_SMALL ú
N_TILDE_SMALL ñ
N_TILDE_CAPITAL Ñ
ORDINAL_INDICATOR_FEMININE a
ORDINAL_INDICATOR_MASCULINE o
QUESTION_MARK_INVERTED
inverted question mark
REGISTERED_TRADEMARK_SYMBOL ®
LOGICAL_NOT ¬
ONE_HALF ½
ONE_QUARTER ¼
EXCLAMATION_POINT_INVERTED ¡
LEFT_ANGLE_QUOTES «
RIGHT_ANGLE_QUOTES »
A_ACUTE_CAPITAL Á
A_CIRCUMFLEX_CAPITAL Â
A_GRAVE_CAPITAL À
COPYRIGHT_SYMBOL ©
CENT_SIGN ¢
YEN_SIGN ¥
A_TILDE_SMALL ã
A_TILDE_CAPITAL Ã
E_CIRCUMFLEX_CAPITAL Ê
E_DIAERESIS_CAPITAL Ë
I_ACUTE_CAPITAL Í
I_CIRCUMFLEX_CAPITAL Î
I_DIAERESIS_CAPITAL Ï
VERTICAL_LINE_BROKEN
split vertical bar
I_GRAVE_CAPITAL Ì
O_ACUTE_CAPITAL Ó
O_CIRCUMFLEX_CAPITAL Ô
O_GRAVE_CAPITAL Ò
O_TILDE_SMALL õ
O_TILDE_CAPITAL Õ
MICRO_SYMBOL
micro or mu
U_ACUTE_CAPITAL Ú
U_CIRCUMFLEX_CAPITAL Û
U_GRAVE_CAPITAL Ù
ACUTE_ACCENT ´
SYLLABLE_HYPHEN -
PLUS_OR_MINUS_SIGN ±
THREE_QUARTERS ¾
PARAGRAPH_SYMBOL
SECTION_SYMBOL §
DIVIDE_SIGN ÷
DEGREE_SYMBOL °
ONE_SUPERSCRIPT 1
THREE_SUPERSCRIPT 3
TWO_SUPERSCRIPT 2
REQUIRED_SPACE  
INTERNATIONAL_CURRENCY_SYMBOL ¤
ETH_ICELANDIC_SMALL ð
ETH_ICELANDIC_CAPITAL Ð
SHARP_S_SMALL ß
THORN_ICELANDIC_SMALL þ
THORN_ICELANDIC_CAPITAL Þ
Y_ACUTE_SMALL ý
Y_ACUTE_CAPITAL Ý
OVERLINE
over line
CEDILLA ¸
DIAERESIS ..
MIDDLE_DOT_ACCENT .

Using Printer Control Codes

This section explains the String (SCS) control codes, or Final Form Text: Document Content Architecture (FFT DCA).

For details of iSeries, eServer i5, or System i5 printer control codes, refer to AS/400 Guide to Programming for Printing.

Printer Control Code Format

Some printer control codes perform single, specific functions by themselves, while others perform multiple functions according to the parameters specified after the control code.

A printer control code with parameters has the following format:

Control Code Count Parameter 1 Parameter 2...
1 or 2 bytes 1 byte 1 or 2 bytes 1 or 2 bytes

A count consists of 1 byte, and indicates the length of the parameters (including the count) after the control code, in bytes. For example, a count and two 1-byte parameters is shown as X'03', because the count itself is included. Some control codes, such as the Printing Position (PP) control code, do not have counts.

A parameter can be 1 or 2 bytes in length. The number of bytes depends on the control codes. Not all control codes have parameters.

Note:
In this manual, counts and parameters that are actually processed in binary are all expressed in hexadecimal (0-F) to improve readability.

Parameter Definition of Printer Control Codes

Some printer control codes require that parameters be specified. Pay particular attention when defining a parameter because how this is done depends on the parameter type. If the definition method for another type is used, the desired output will not be obtained.

The following table lists printer control code parameter types and their meanings:

Table 10. Printer Control Code Parameter Types
Parameter Type Meaning
byte-value One-byte parameter.
byte-values
Multibyte parameter.
  Used if operands are fixed.
word-value(HL) One-word parameter (higher and lower bytes).
word-value(LH) One-word parameter (lower and higher bytes).
length(HL)-values
Multibyte parameter requiring operands.
  An operand consists of a higher and lower byte.
  Used if operands are variable.
length(LH)-values
Multibyte parameter requiring operands.
  An operand consists of a lower and higher byte.
  Used if operands are variable.
length(HL)-images
Image data requiring operands.
  An operand consists of a higher and lower byte.
length(LH)-images
Image data requiring operands.
  An operand consists of a lower and higher byte.
decimal-characters    Decimal characters parameter.

Supported Control Codes

Z and I Emulator for Windows supports all control codes for the 3812 printer.

Programming Notes

This section briefly explains how a printer reacts if a partial control code is received, or if an incomplete control code is sent.

If the transmission of a control code is interrupted, the printer waits for the remaining part of the code. If the data stream (the series of data units and control codes) sent after the interruption is consistent with the data stream sent before the interruption, (that is, if one complete printer control code is restored by chaining), the control code is processed as is.

If the two parts of the data stream are inconsistent, an error occurs. A negative response to an "Invalid Printer Parameter" is sent to the host system, or treated as a no-op (no operation; ignored because of a meaningless code). Detailed information is not sent to the host system if an error occurs in a control code. After programming, the data stream must be checked thoroughly by repeating the printing test.

Restrictions and Notes for iSeries, eServer i5, or System i5 Commands and Printer Setup

This section provides supplementary notes and explains restrictions for printing.

Printer Control Codes

Table 11. Printer Control Codes
Printer Control Code If Use PDT file is Selected: If a Windows Printer Driver is Used:
SCD -- Set the Character Density Select the GFID for the valid character distance (CD) parameter as shown in Table 12.
If the specified font is not supported, a substitution is provided. For example, when 15 CPI font is specified but the font is not supported, the supported 17 CPI font is substituted. See How to Determine PC400 Font.
SFG -- Set Font ID through GFID Recognizable GFIDs are restricted. (See Field Names of Printer Definition Files.) If the specified GFID is not supported and it is out of the range from 154 through 200, the closest font width from the fonts shown in Table 13 is substituted.

If the specified GFID is not supported and it is between 154 and 200, the following font is substituted: Font name: Document; GFID value:175.

See How to Determine PC400 Font.
BUS -- Begin Underscore The selected font might not support the underscore.
BES -- Begin Emphasis The selected font might not support the emphasis.
STO -- Set Text Orientation The page orientation can be changed to portrait or landscape. The direction, which is up, down, left, or right on the paper, depends on the Microsoft Windows printer driver. If the page orientation is changed, the current paper is ejected.
Table 12. SCD Parameter Values
CD Parameter Character Pitch (normal) GFID Value (COR)
000A 10 CPI 13 CPI 204
000B Proportional 13 CPI 175
000C 12 CPI 15 CPI  86
000F 15 CPI 20 CPI 230
00FF 10 CPI 13 CPI 204

The following table lists only the most commonly used GFIDs. See Table 14 for the complete list.

Table 13. Commonly Used SFG GFID Values
Font Name GFID value
Courier Bold 5 245
Courier 10 11
Prestige Elite 12 86
Gothic-text 13 204
Gothic-text 15 230
Courier 17 252
Gothic-text 20 281
Gothic-text 27 290

When you use the Windows printer driver, the spooler must be on.

How to Determine PC400 Font

When a print job is created on iSeries, eServer i5, or System i5, a certain font, identified by font ID (GFID), is associated with it. Such a font can be specified by the following parameters:

System fonts are available with all print drivers, and more flexible device fonts are unique to each printer and printer driver. These fonts are also more fixed as to CPI, weight, code pages, and other criteria that can preclude use of it when matching to the host specified needs.

There are problems associated with mapping an iSeries, eServer i5, or System i5 font to a PC font. When your PC has all of the fonts that you need, use the following table to determine the best font to use.

Table 14. iSeries, eServer i5, or System i5 Font Parameters
Entry ID Font Family GFID Pitch & Family Character Set Width Height Weight Style
GFID0003 OCR-B 3 49 0 144 240 400 0
GFID0005 Orator 5 49 0 144 240 400 0
GFID0011 Courier 11 49 0 144 240 400 0
GFID0012 Prestige 12 49 0 144 240 400 0
GFID0013 Artisan 13 49 0 144 240 400 0
GFID0018 Courier Italic 18 49 0 144 240 400 255
GFID0019 OCR-A 19 49 0 144 240 400 0
GFID0020 Pica 20 49 0 144 240 400 0
GFID0030 Symbol 30 49 2 144 240 400 0
GFID0038 Orator 38 49 0 144 240 400 0
GFID0039 Gothic 39 49 0 144 240 800 0
GFID0040 Gothic 40 49 0 144 240 800 0
GFID0041 Roman 41 49 0 144 240 400 0
GFID0042 Serif 42 49 0 144 240 400 0
GFID0043 Serif 43 49 0 144 240 400 255
GFID0044 Katakana 44 49 0 144 240 400 0
GFID0045 APL 45 49 0 144 240 400 0
GFID0046 Courier Bold 46 49 0 144 240 800 0
GFID0050 Shalom 50 49 0 144 240 400 0
GFID0066 Gothic 66 49 0 144 240 400 0
GFID0068 Gothic 68 49 0 120 240 400 255
GFID0069 Gothic 69 49 0 120 240 800 0
GFID0070 Serif 70 49 0 120 240 400 0
GFID0071 Serif 71 49 0 120 240 400 255
GFID0072 Serif 72 49 0 120 240 800 0
GFID0080 Symbol 80 49 2 120 240 400 0
GFID0084 Script 84 49 0 120 240 400 0
GFID0085 Courier 85 49 0 120 240 400 0
GFID0086 Prestige 86 49 0 120 240 400 0
GFID0087 Letter-Gothic 87 49 0 120 240 400 0
GFID0091 Light 91 49 0 120 240 400 255
GFID0107 Courier 107 49 0 120 240 400 0
GFID0110 Letter-Gothic 110 49 0 120 240 800 0
GFID0111 Prestige 111 49 0 120 240 800 0
GFID0112 Prestige 112 49 0 120 240 400 255
GFID0115 Symbol 115 49 2 120 240 400 0
GFID0155 Boldface 155 18 0 120 240 400 0
GFID0158 Document 158 18 0 120 240 400 0
GFID0159 Boldface 159 18 0 120 240 800 0
GFID0160 Essay 160 34 0 120 240 800 0
GFID0162 Essay 162 34 0 120 240 800 255
GFID0163 Essay 163 34 0 120 240 800 0
GFID0168 Barak 168 18 0 120 240 400 0
GFID0173 Essay 173 34 0 120 240 400 0
GFID0175 Document 175 18 0 120 240 400 0
GFID0176 Boldface 176 18 0 120 240 800 0
GFID0177 Boldface 177 18 0 120 240 800 255
GFID0193 Symbol 193 49 2 120 240 400 0
GFID0198 Symbol 198 49 2 144 240 400 0
GFID0204 Gothic 204 49 0 108 210 400 0
GFID0221 Prestige 221 49 0 96 210 400 0
GFID0222 Gothic 222 49 0 96 210 400 0
GFID0223 Courier 223 49 0 96 210 400 0
GFID0225 Symbol 225 49 2 96 240 400 0
GFID0229 Serif 229 49 0 96 210 400 0
GFID0230 Gothic 230 49 0 96 210 400 0
GFID0245 Courier Bold 245 49 0 288 240 800 0
GFID0252 Courier 252 49 0 84 240 400 0
GFID0253 Courier Bold 253 49 0 84 240 800 0
GFID0254 Courier 254 49 0 84 120 400 0
GFID0280 APL 280 49 0 72 120 400 0
GFID0281 Gothic 281 49 0 72 120 400 0
GFID0290 Gothic 290 49 0 54 120 400 0
GFID0751 Sonoran-serif 751 18 0 54 162 400 0
GFID1051 Sonoran-serif 1051 18 0 66 198 400 0
GFID1053 Sonoran-serif 1053 18 0 66 198 800 0
GFID1056 Sonoran-serif 1056 18 0 66 198 400 255
GFID1351 Sonoran-serif 1351 18 0 84 240 400 0
GFID1653 Sonoran-serif 1653 18 0 108 312 800 0
GFID2103 Sonoran-serif 2103 18 0 162 480 800 0
Notes:
  1. Default GFID from host is 011, we use Courier 10 CPI.
  2. A print driver will change the font to its default if you ask for a font name that it does not recognize. Some drivers recognize Gothic, but the DeskJet drivers do not.
  3. Most print drivers default to Courier New, instead of Courier. So Courier switched to Courier New works, but Gothic switched to Courier New changes the font family. Preferably, you should explicitly select Courier New.
  4. Special fonts like CourHEB and GRCOUR869 (for Greek) has required them to be added to PCSPD.DAT to work. Note if the operating system properly or fully supports a language, that font could be the default font instead of Courier New.

Avoiding iSeries System Dump

If you are running OS/400® Version 3 Release 1, and you attempt to perform a Telnet 5250 mode host print operation, you may experience an iSeries system dump under certain conditions. To prevent this from occurring you should apply PTF SF35327 on OS/400.

This table matches the iSeries, eServer i5, or System i5 table of fonts. PC400 builds a PC spool file with the selected font in it. The printer driver picks up the spool file and the font and sends it to the printer where the expected font is used. Refer to Printer Device Programming for additional information on other useful tables.

The following factors can produce unexpected results:

PFT Migration Utility

The PFT migration utility converts the printer function table (PFT) for the PC Support/400 workstation feature to a printer definition file (PDF) for PC400.

This section describes the operator interface of the PFT migration utility.

For details about PFT, refer to AS/400 PC Support: DOS and OS/2 Technical Reference.

Using the PFT Migration Utility

The file name of the PFT Migration Utility program is PCSPFC.EXE. It is a Windows application, and you can execute it by doing the following:

  1. Double-click the program name using the Windows Explorer utility.
  2. Specify the program name (and parameters) in the Windows Run utility as follows:
           PCSPFC [ [drive:] [path] PFT-file-name[.extension] ]

  3. When you execute the PFT Migration Utility, the Convert PFT to PDF dialog box appears. On the Convert PFT to PDF dialog box, select a PFT file from the list box or type a specific PFT file name, and click OK. The PFT Migration Utility starts the conversion and displays the PFT File Converter dialog box to show the conversion status.

After the conversion, if you click Save List on the PFT File Converter dialog box, conversion messages in the dialog box are saved into a list file. The list file is created in the same directory and with the same name as the PFT file, except the extension. The extension of the list file is .LS2.

If the conversion was completed successfully, you can click Convert PDF to PDT from the PFT File Converter dialog box to convert the PDF file to a PDT file. You can also create a PDT file by selecting Printer Setup from the File pull-down menu as explained in Using the Printer Definition Table (PDT) File.

Migration Considerations

When the base PDF file already exists, the converted PDF fields are appended to the end of the base PDF file. The name of the base PDF file is decided as follows:

Table 15. PDF File Name
PFT File Name Base PDF File Name
xxxxxxxx.PFT xxxxxxxx.PDF
xxxxx.MNL MNLxxxxx.PDF
zzzxxxxx.MNL* zzzxxxxx.PDF*
:
* "zzz" is not "IBM".

Even if the same fields are already defined in the PDF file, the appended fields are effective because the last definition is always effective in a PDF file.

If the base PDF file does not exist in the directory, the PFT Migration Utilitycreates a new PDF file that has only the converted fields from the PFT file. In this case, you should append this file to an appropriate base file manually, because the fields converted from the PFT file do not cover all of the necessary PDF fields.

Therefore, it is recommended that you prepare both the PFT file and its base PDF file in the same directory before the conversion.

Details of Migration

This section describes how the PFT Migration Utility migrates the printer function table (PFT) to the printer definition file (PDF).

Migration from the Printer Function Table

The following table shows the target fields of the PDF for the data in the PFT.

Table 16. Migration from the Printer Function Table to the Printer Definition File
PFT Field Name PDF Field Name
Description
INITIALIZATION AND RESET
Initialization
Initialization START_JOB=
When the data is defined in the Initialization field of PFT, the data is appended to the string START_JOB=.
Filename
Filename None
This field is ignored.
Reset
Reset END_JOB=
When the data is defined in the Reset field of PFT, the data is appended to the string END_JOB=.
VERTICAL LINE SPACING
6 lines per inch
6 lines per inch SET_6_LINES_PER_INCH=
When the data is defined in the 6 lines per inch field of PFT, the data is appended to the string SET_6_LINES_PER_INCH=.
8 lines per inch
8 lines per inch SET_8_LINES_PER_INCH=
When the data is defined in the 8 lines per inch field of PFT, the data is appended to the string SET_8_LINES_PER_INCH=.
Variable line spacing
Control Sequence SET_VARIABLE_DENSITY=

When the data is defined in the control sequence field of the PFT for the variable line spacing, the data is appended to the string SET_VARIABLE_DENSITY=. The parameter n in the control sequence is replaced with the PDF parameter type.

Maximum None
This field is ignored.
Offset None
This field is ignored.
X/Y LINE_SPACING_RATIO=
When the data is defined in the X/Y field of the PFT for the variable line spacing, the value Y/X is appended to the string LINE_SPACING_RATIO= as three-digit or four-digit numbers to indicate the decimal number. For example, when Y/X is 72, the 072 is appended to the string LINE_SPACING_RATIO= and LINE_SPACING_RATIO=072 is written to the output file. When the value is greater than 255, the four-digit number is migrated. When the value is less than 255, the three-digit number is migrated.
Indexing Functions
Begin Superscript START_SUPERSCRIPT=
When the data is defined in the Begin Superscript field and End Superscript field of the PFT for the indexing functions, the data is appended to the string START_SUPERSCRIPT=. If the data for the End Superscript is not defined, the data for the Begin Superscript is ignored.
End Superscript END_SUPERSCRIPT=
When the data is defined in the End Superscript field and Begin Superscript field of the PFT for the indexing functions, the data is appended to the string END_SUPERSCRIPT=. If the data for the Begin Superscript is not defined, the data for the End Superscript is ignored.
Begin Subscript START_SUBSCRIPT=
When the data is defined in the Begin Subscript field and End Subscript field of the PFT for the indexing functions, the data is appended to the string START_SUBSCRIPT=. If the data for the End Subscript is not defined, the data for the Begin Subscript is ignored.
End Subscript END_SUBSCRIPT=
When the data is defined in the End Subscript field and Begin Subscript field of the PFT for the indexing functions, the data is appended to the string END_SUBSCRIPT=. If the data for the Begin Subscript is not defined, the data for the End Subscript is ignored.
Reverse 1/2 Index START_SUPERSCRIPT= END_SUBSCRIPT=

The data is appended to the START_SUPERSCRIPT= for all of the following conditions:

  • When the data is not defined in the Begin Superscript field in the PFT or when the data is not defined in the End Superscript field in the PFT.
  • When the data is defined in the Reverse 1/2 index and Forward 1/2 index field in the PFT.

The data is appended to END_SUBSCRIPT= for all of the following conditions:

  • When the data is not defined in the Begin Subscript field in the PFT or when the data is not defined in the End Subscript field in the PFT.
  • When the data is defined in the Reverse 1/2 index and Forward 1/2 index field in the PFT.
Forward 1/2 Index END_SUPERSCRIPT= START_SUBSCRIPT=

The data is appended to END_SUPERSCRIPT= for all of the following conditions:

  • When the data is not defined in Begin Superscript field in the PFT or when the data is not defined in End Superscript field in the PFT.
  • When the data is defined in the Reverse 1/2 index and Forward 1/2 index field in the PFT.

The data is appended to START_SUBSCRIPT= for all of the following conditions:

  • When the data is not defined in the Begin Subscript field in the PFT or when the data is not defined in the End Subscript field in the PFT.
  • When the data is defined in the Reverse 1/2 index and Forward 1/2 index field in the PFT.
Reverse Index None
This field is ignored.
HORIZONTAL LINE SPACING
5 pitch
5 pitch None
This field is ignored.
8.55 pitch
8.55 pitch None
This field is ignored.
10 pitch
10 pitch SET_10_CHARACTERS_PER_INCH=
When the data is defined in the 10 pitch field of the PFT for the horizontal character spacing, the data is appended to the string SET_10_CHARACTERS_PER_INCH=.
12 pitch
12 pitch SET_12_CHARACTERS_PER_INCH=
When the data is defined in the 12 pitch field of the PFT for the horizontal character spacing, the data is appended to the string SET_12_CHARACTERS_PER_INCH=.
15 pitch
15 pitch SET_15_CHARACTERS_PER_INCH=
When the data is defined in the 15 pitch field of the PFT for the horizontal character spacing, the data is appended to the string SET_15_CHARACTERS_PER_INCH=.
17.1 pitch
17.1 pitch SET_17_CHARACTERS_PER_INCH=
When the data is defined in the 17.1 pitch field of the PFT for the horizontal character spacing, the data is appended to the string SET_17_CHARACTERS_PER_INCH=.
Horizontal Motion Index
Control Sequence None
This field is ignored.
Maximum None
This field is ignored.
Offset None
This field is ignored.
X/Y None
This field is ignored.
HORIZONTAL RELATIVE MOVEMENT
Forward Relative Movement
Control Sequence FORWARD_HORIZONTAL_SKIP=
When the data is defined in the Forward Relative Movement field of PFT, the data is appended to the string FORWARD_HORIZONTAL_SKIP=. The parameter n in the control sequence is replaced with the PDF parameter type.
Maximum None
This field is ignored.
Offset None
This field is ignored.
X/Y HORIZONTAL_PEL=
When the data is defined in the X/Y field of the PFT for the forward relative movement, the value Y/X is appended to the string HORIZONTAL_PEL= as three-digit or four-digit number to indicate the decimal number. For example, when Y/X is 120, 120 is appended to the string HORIZONTAL_PEL= and HORIZONTAL_PEL=120 is written to the output file. When the value is greater than 255, the four-digit number is migrated. When the value is less than 255, the three-digit number is migrated.
Backward Relative Movement
Control Sequence None
This field is ignored.
Maximum None
This field is ignored.
Offset None
This field is ignored.
X/Y None
This field is ignored.
HIGHLIGHTING
Begin Emphasis
Begin Emphasis START_HIGHLIGHT_INTENSE=
When the data is defined in the Begin Emphasis of PFT, the data is appended to the string START_HIGHLIGHT_INTENSE=.
End Emphasis
End Emphasis END_HIGHLIGHT_INTENSE=
When the data is defined in the End Emphasis of PFT, the data is appended to the string END_HIGHLIGHT_INTENSE=.
Begin Underline
Begin Underline START_HIGHLIGHT_UNDERLINE=
When the data is defined in the Begin Underline of PFT, the data is appended to the string START_HIGHLIGHT_UNDERLINE=.
End Underline
End Underline END_HIGHLIGHT_UNDERLINE=
When the data is defined in the End Underline of PFT, the data is appended to the string END_HIGHLIGHT_UNDERLINE=.
Begin Quality Print
Begin Quality Print None
This field is ignored.
End Quality Print
End Quality Print None
This field is ignored.
PAPER HANDLING
Bottom Tray Feed
Bottom Tray Feed SELECT_DRAWER2=
If the data is defined in some fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility assumes that this control sequence includes the control of the portrait orientation. For this, the PFT Migration Utility divides this control sequence into two parts and migrates the control sequence for the drawer select and paper feed. The control sequence of the portrait orientation is migrated to SET_PORTRAIT_ORIENT=. If no data is defined in any fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility migrates this control sequence to the SELECT_DRAWER2=. (See Definition of PAPER HANDLING Migration.)
Top Tray Feed
Top Tray Feed SELECT_DRAWER1=
If the data is defined in some fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility assumes that this control sequence includes the control of the portrait orientation. For this, the PFT Migration Utility divides this control sequence into two parts and migrates the control sequence for the drawer select and paper feed. The control sequence of the portrait orientation is migrated to SET_PORTRAIT_ORIENT=. If no data is defined in any fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility migrates this control sequence to SELECT_DRAWER1=. (See Definition of PAPER HANDLING Migration.)
Envelope Feed
Envelope Feed SELECT_ENVELOPE=
If the data is defined in some fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility assumes that this control sequence includes the control of the portrait orientation. For this, the PFT Migration Utility divides this control sequence into two parts and migrates the control sequence for the drawer select and paper feed. The control sequence of the portrait orientation is migrated to SET_PORTRAIT_ORIENT=. If no data is defined in any fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility migrates this control sequence to SELECT_ENVELOPE=. (See Definition of PAPER HANDLING Migration.)
Manual Feed
Manual Feed SELECT_DRAWER3=
If the data is defined in some fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility assumes that this control sequence includes the control of the portrait orientation. For this, the PFT Migration Utility divides this control sequence into two parts and migrates the control sequence for the drawer select and paper feed. The control sequence of the portrait orientation is migrated to SET_PORTRAIT_ORIENT=. If no data is defined in any fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility migrates this control sequence to SELECT_DRAWER3=. (See Definition of PAPER HANDLING Migration.)
Continuous Feed
Continuous Feed None
This field is ignored.
Ignore Paper End Sensor
Ignore Paper End Sensor None
This field is ignored.
Enable Paper End Sensor
Enable Paper End Sensor None
This field is ignored.
Eject Automatic Cut Sheet
Eject automatic Cut Sheet None
This field is ignored.
Eject Manual Cut Sheet
Eject Manual Cut Sheet None
This field is ignored.
Collate
Collate None
This field is ignored.
PAPER POSITIONING
Continuous Forms
Dist. from Top Paper Edge None
This field is ignored.
Dist. from Left Paper Edge None
This field is ignored.
Location of First Print Column None
This field is ignored.
Manual Feed
Dist. from Top Paper Edge None
This field is ignored.
Dist. from Left Paper Edge None
This field is ignored.
Location of First Print Column None
This field is ignored.
Automatic Feed
Dist. from Top Paper Edge None
This field is ignored.
Dist. from Left Paper Edge None
This field is ignored.
Location of First Print Column None
This field is ignored.
SET PAGE LENGTH (INCHES)
Control Sequence PAGE_LENGTH_TYPE?=INCH SET_PAGE_LENGTH=
When the data is defined in the control sequence for SET PAGE LENGTH (INCHES) and if any of the data is not defined in the control sequence for SET PAGE LENGTH (LINES), this field is migrated.
Maximum None
This field is ignored.
Offset None
This field is ignored.
X/Y None
This field is ignored.
Top Margin Size None
This field is ignored.
Bottom Margin Size None
This field is ignored.
SET PAGE LENGTH (LINES)
Control Sequence PAGE_LENGTH_TYPE?=LINE SET_PAGE_LENGTH=
When the length is defined in the control sequence for SET PAGE LENGTH (LINES), this field is migrated.
Maximum None
This field is ignored.
Offset None
This field is ignored.
X/Y None
This field is ignored.
Top Margin Size None
This field is ignored.
Bottom Margin Size None
This field is ignored.
SET LEFT MARGIN (INCHES)
Control Sequence None
This field is ignored.
Maximum None
This field is ignored.
Offset None
This field is ignored.
X/Y None
This field is ignored.
SET LEFT MARGIN (COLUMNS)
Control Sequence SET_HORIZONTAL_MARGIN=
When the data is defined in the control sequence field for SET LEFT MARGIN (COLUMNS), this field is migrated.
Maximum None
This field is ignored.
Offset None
This field is ignored.
CARRIER RETURN/LINE FEED
Continuous Forms
Carrier Return (Continuous Forms) CARRIAGE_RETURN=
This field is migrated for the following cases:
  • Case 1
    • The data is defined in the Carrier Return field for the Continuous Forms.
    • Any of the data in the Carrier Return field is not defined for the Manual Feed and Automatic Feed.
  • Case 2
    • The data is defined in the Carrier Return field for the Continuous Forms.
    • The same data is defined in the Carrier Return field for the Manual Feed.
    • Any of the data in the Carrier Return field is not defined for the Automatic Feed.
  • Case 3
    • The data is defined in the Carrier Return field for the Continuous Forms.
    • The same data is defined in the Carrier Return field for the Automatic Feed.
    • Any of the data in the Carrier Return field is not defined for the Manual Feed.
  • Case 4
    • The data is defined in the Carrier Return field for the Continuous Forms.
    • The same data is defined in the Carrier Return field for the Automatic Feed and Manual Feed.
Line Feed (Continuous Forms) LINE_FEED=
This field is migrated for the following cases:
  • Case 1
    • The data is defined in the Line Feed field for the Continuous Forms.
    • Any of the data in the Line Feed Line field is not defined for the Manual Feed and Automatic Feed.
  • Case 2
    • The data is defined in the Line Feed field for the Continuous Forms.
    • The same data is defined in the Line Feed field for the Manual Feed.
    • Any data is not defined in the Line Feed field for the Automatic Feed.
  • Case 3
    • The data is defined in the Line Feed field for the Continuous Forms.
    • The same data is defined in the Line Feed field for the Automatic Feed.
    • Any data is not defined in the Line Feed field for the Manual Feed.
  • Case 4
    • The data is defined in the Line Feed field for the Continuous Forms.
    • The same data is defined in the Line Feed field for the Automatic Feed and Manual Feed.
Manual Feed
Carrier Return (Manual Feed) CARRIAGE_RETURN=
This field is migrated for the following cases:
  • Case 1
    • The data is defined in the Line Feed field for the Manual Feed.
    • Any of the data in the Line Feed Line field is not defined for the Continuous Forms and Automatic Feed.
  • Case 2
    • The data is defined in the Line Feed field for the Manual Feed.
    • The same data is defined in the Line Feed field for the Continuous Forms.
    • Any data is not defined in the Line Feed field for the Automatic Feed.
  • Case 3
    • The data is defined in the Line Feed field for the Manual Feed.
    • The same data is defined in the Line Feed field for the Automatic Feed.
    • Any data is not defined in the Line Feed field for the Continuous Forms.
  • Case 4
    • The data is defined in the Line Feed field for the Manual Feed.
    • The same data is defined in the Line Feed field for the Automatic Feed and Continuous Forms.
Line Feed (Manual Feed) LINE_FEED=
This field is migrated for the following cases:
  • Case 1
    • The data is defined in the Line Feed field for the Manual Feed.
    • Any of the data in the Line Feed Line field is not defined for the Continuous Forms and Automatic Feed.
  • Case 2
    • The data is defined in the Line Feed field for the Manual Feed.
    • The same data is defined in the Line Feed field for the Continuous Forms.
    • Any data is not defined in the Line Feed field for the Automatic Feed.
  • Case 3
    • The data is defined in the Line Feed field for the Manual Feed.
    • The same data is defined in the Line Feed field for the Automatic Feed.
    • Any data is not defined in the Line Feed field for the Continuous Forms.
  • Case 4
    • The data is defined in the Line Feed field for the Manual Feed.
    • The same data is defined in the Line Feed field for the Automatic Feed and Continuous Forms.
Automatic Feed
Carrier Return (Automatic Feed) CARRIAGE_RETURN=
This field is migrated for the following cases:
  • Case 1
    • The data is defined in the Carrier Return field for the Automatic Feed.
    • Any of the data in the Carrier Return field is not defined for the Continuous Feed and Manual Feed.
  • Case 2
    • The data is defined in the Carrier Return field for the Automatic Feed.
    • The same data is defined in the Carrier Return field for the Continuous Forms.
    • Any of the data in the Carrier Return field is not defined for the Manual Feed.
  • Case 3
    • The data is defined in the Carrier Return field for the Automatic Feed.
    • The same data is defined in the Carrier Return field for the Manual Feed.
    • Any of the data in the Carrier Return field is not defined for the Continuous Forms.
  • Case 4
    • The data is defined in the Carrier Return field for the Automatic Feed.
    • The same data is defined in the Carrier Return field for the Manual Feed and Continuous Forms.
Line Feed (Automatic Feed) LINE_FEED=
This field is migrated for the following cases:
  • Case 1
    • The data is defined in the Line Feed field for the Automatic Feed.
    • Any of the data in the Line Feed Line field is not defined for the Continuous Forms and Manual Feed.
  • Case 2
    • The data is defined in the Line Feed field for the Automatic Feed.
    • The same data is defined in the Line Feed field for the Continuous Forms.
    • Any data is not defined in the Line Feed field for the Manual Feed.
  • Case 3
    • The data is defined in the Line Feed field for the Automatic Feed.
    • The same data is defined in the Line Feed field for the Manual Feed.
    • Any data is not defined in the Line Feed field for the Continuous Forms.
  • Case 4
    • When the data is defined in the Line Feed field for the Automatic Feed.
    • The same data is defined in the Line Feed field for the Manual Feed and Continuous Forms.
MULTIPLE COPIES
Print without Clearing Page from
Top Tray None
This field is ignored.
Bottom Tray None
This field is ignored.
Envelope Tray None
This field is ignored.
Manual Tray None
This field is ignored.
Clear Page Buffer None
This field is ignored.
Multiple Copies Variable Control
Control Sequence None
This field is ignored.
Maximum None
This field is ignored.
Offset None
This field is ignored.
LANDSCAPE PAPER HANDLING
Bottom Tray Feed
Bottom Tray Feed SET_LANDSCAPELEFT_ORIENT=
If the data is defined in some fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility assumes that this control sequence includes the control sequence for the landscape orientation. For this, the PFT Migration Utility divides the control sequence into two parts. The control sequence for the drawer select and paper feed is ignored because this control sequence is migrated when the data for PAPER HANDLING is processed. The control sequence for landscape orientation is migrated to SET_LANDSCAPE_ORIENT=. (See Definition of PAPER HANDLING Migration.)
Top Tray Feed
Top Tray Feed SET_LANDSCAPELEFT_ORIENT=
If the data is defined in some fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility assumes that this control sequence includes the control sequence for the landscape orientation. For this, the PFT Migration Utility divides the control sequence into two parts. The control sequence for the drawer select and paper feed is ignored because this control sequence is migrated when the data for PAPER HANDLING is processed. The control sequence for landscape orientation is migrated to SET_LANDSCAPE_ORIENT=. (See Definition of PAPER HANDLING Migration.)
Envelope Feed
Envelope Feed SET_LANDSCAPELEFT_ORIENT=
If the data is defined in some fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility assumes that this control sequence includes the control sequence for the landscape orientation. For this, the PFT Migration Utility divides the control sequence into two parts. The control sequence for the drawer select and paper feed is ignored because this control sequence is migrated when the data for PAPER HANDLING is processed. The control sequence for landscape orientation is migrated to SET_LANDSCAPE_ORIENT=. (See Definition of PAPER HANDLING Migration.)
Manual Feed
Manual Feed SET_LANDSCAPELEFT_ORIENT=
If the data is defined in some fields for LANDSCAPE PAPER HANDLING, the PFT Migration Utility assumes that this control sequence includes the control sequence for the landscape orientation. For this, the PFT Migration Utility divides the control sequence into two parts. The control sequence for the drawer select and paper feed is ignored because this control sequence is migrated when the data for PAPER HANDLING is processed. The control sequence for landscape orientation is migrated to SET_LANDSCAPE_ORIENT=. (See Definition of PAPER HANDLING Migration.)
TYPESTYLE DEFINITION
Default Typestyle Definition
PC Character Set None
This field is ignored.
Initial Control Sequence None
This field is ignored.
Ending Control Sequence None
This field is ignored.
Individual Typestyle Definition
Typestyle number SET_GFID_
This number is appended as a four-digit number after the string SET_GFID_. For example, when the typestyle number 9 is defined, 0009 is appended after the string SET_GFID_ and SET_GFID_0009= is migrated. And the numbers supported by PC400 are migrated. The numbers not supported by PC400 are ignored.
PC Character Set None
This field is ignored.
Initial Control Sequence SET_GFID_xxxx=
This control sequence is appended after the string SET_GFID_xxxx=, where xxxx is the four-digit number defined in the typestyle number field.
Ending Control Sequence None
This field is ignored.
Characters None
This field is ignored.
Initial Control Sequence None
This field is ignored.
Ending Control Sequence None
This field is ignored.
Symbols None
This field is ignored.
Initial Control Sequence None
This field is ignored.
Ending Control Sequence None
This field is ignored.
Group Typestyle Definition
Group Identifier None
This field is ignored.
Group Identifier Comment None
This field is ignored.
Typestyle number SET_GFID_
This number is appended as a four-digit number after the string SET_GFID_. For example, when the typestyle numbers 1, 2, 3, and 4 are defined, 0001, 0002, 0003, and 0004 are appended after the string SET_GFID_ and SET_GFID_0001=, SET_GFID_0002=, SET_GFID_0003=, and SET_GFID_0004= are migrated because the PC400 does not have the group typestyle definition. The typestyle numbers that are not supported by the PC400 are not migrated.
PC Character Set None
This field is ignored.
Initial Control Sequence SET_GFID_xxxx=
This control sequence is appended after the string SET_GFID_xxxx=, where xxxx is the four-digit number defined in the typestyle number field.
Ending Control Sequence None
This field is ignored.
Characters None
This field is ignored.
Initial Control Sequence None
This field is ignored.
Ending Control Sequence None
This field is ignored.
Symbols None
This field is ignored.
Initial Control Sequence None
This field is ignored.
Ending Control Sequence None
This field is ignored.
Character Set Number
Character Set Number None
This field is ignored.
SLOT SELECTION
Slot 1 Sequence
Slot 1 Sequence None
This field is ignored.
Slot 2 Sequence
Slot 2 Sequence None
This field is ignored.
Slot 3 Sequence
Slot 3 Sequence None
This field is ignored.
Stop Sequence
Stop Sequence None
This field is ignored.
USER DEFINED CONTROL
Parameters of SET ENVELOP SIZE Command
Control Number: 984 None
This field is ignored.
Control Sequence None
This field is ignored.
Control Sequence File Name None
This field is ignored.
ESC Sequence of SET ENVELOP SIZE Command
Control Number: 985 None
This field is ignored.
Control Sequence None
This field is ignored.
Control Sequence File Name None
This field is ignored.
Parameters of SET PAGE SIZE Command
Control Number: 986 None
This field is ignored.
Control Sequence None
This field is ignored.
Control Sequence File Name None
This field is ignored.
ESC Sequence of SET PAGE SIZE Command
Control Number: 987 None
This field is ignored.
Control Sequence None
This field is ignored.
Control Sequence File Name None
This field is ignored.
Printer Data Stream
Control Number: 988 None
This field is ignored.
Control Sequence SET_FONT_GLOBAL=1B 5B 49 word-value(LH) word-value(HL) word-value(HL) byte-value word-value(HL)
When 04 is defined in this field, SET_FONT_GLOBAL=1B 5B 49 ... word-value(HL) is migrated. When the other value is defined, this field is ignored. 04 means IBM Personal Printer Data Stream Level 2 or higher. When the migration is done for PAPER HANDLING, use this information. (See Definition of PAPER HANDLING Migration.)
Control Sequence File Name None
This field is ignored.
Duplex long edge
Control Number: 989 None
This field is ignored.
Control Sequence SET_DUPLEX=
When the data is defined in the control sequence for the duplex long edge, the data is appended to the string SET_DUPLEX=.
Control Sequence File Name None
This field is ignored.
Duplex short edge
Control Number: 990 None
This field is ignored.
Control Sequence SET_DUPLEX_TUMBLE=
When the data is defined in the control sequence for the duplex short edge, the data is appended to the string SET_DUPLEX_TUMBLE=.
Control Sequence File Name None
This field is ignored.
Simplex
Control Number: 991 None
This field is ignored.
Control Sequence RESET_DUPLEX=
When the data is defined in the control sequence for the simplex, the data is appended to the string RESET_DUPLEX=.
Control Sequence File Name None
This field is ignored.
Jog the output tray
Control Number: 992 None
This field is ignored.
Control Sequence None
This field is ignored.
Control Sequence File Name None
This field is ignored.
Normal portrait orientation
Control Number: 993 None
This field is ignored.
Control Sequence SET_PORTRAIT_ORIENT=
When the data is defined in the control field for the normal portrait orientation, the data is appended to the string SET_PORTRAIT_ORIENT=.
Control Sequence File Name None
This field is ignored.
Landscape left
Control Number: 994 None
This field is ignored.
Control Sequence SET_LANDSCAPELEFT_ORIENT=
When the data is defined in the control field for the landscape left, the data is appended to the string SET_LANDSCAPELEFT_ORIENT=.
Control Sequence File Name None
This field is ignored.
Portrait upside down orientation
Control Number: 995 None
This field is ignored.
Control Sequence SET_PORTRAITUPDWN_ORIENT=
When the data is defined in the control field for the portrait upside down orientation, the data is appended to the string SET_PORTRAITUPDWN_ORIENT=.
Control Sequence File Name None
This field is ignored.
Landscape right
Control Number: 996 None
This field is ignored.
Control Sequence SET_LANDSCAPERGHT_ORIENT=
When the data is defined in the control field for the landscape right, the data is appended to the string SET_LANDSCAPERGHT_ORIENT=.
Control Sequence File Name None
This field is ignored.
COR in 10 pitch
Control Number: 997 None
This field is ignored.
Control Sequence None
This field is ignored.
Control Sequence File Name None
This field is ignored.
COR in 12 pitch
Control Number: 998 None
This field is ignored.
Control Sequence None
This field is ignored.
Control Sequence File Name None
This field is ignored.
COR in 15 pitch
Control Number: 999 None
This field is ignored.
Control Sequence None
This field is ignored.
Control Sequence File Name None
This field is ignored.
FUNCTION SELECTION TEST RESPONSES
Superscript
/Subscript
None
This data is ignored.
Underline None
This data is ignored.
Emphasis (Bold) None
This data is ignored.
Form Feed None
This data is ignored.
Back Space BACKSPACE=
This field is migrated when you type YES or NO in response to the prompt during the Backspace Function Selection Test.
Mid-line pitch change None
This data is ignored.
Horizontal Character spacing None
This data is ignored.
First character position None
This data is ignored.
PSM None
This data is ignored.
Cursor Draw None
This data is ignored.
Note:
When you migrate IBM3812.PFT and IBM3812.MNL, the following fields are added to IBM3812.PDF:

Definition of PAPER HANDLING Migration

The PFT Migration Utility migrates the data for PAPER HANDLING and LANDSCAPE PAPER HANDLING as follows:

  1. The PFT Migration Utility checks whether the LANDSCAPE PAPER HANDLING controls are defined.
  2. If the LANDSCAPE PAPER HANDLING controls are defined, the PFT Migration Utility assumes that the PAPER HANDLING control sequences include controls to set the page orientation to portrait. Each LANDSCAPE PAPER HANDLING control sequence has the controls to set the page orientation to landscape in addition to the tray select and feed controls.
  3. If the LANDSCAPE PAPER HANDLING controls are not defined, the PAPER HANDLING controls do not have the controls to set the page orientation to portrait. If a personal printer supports normal portrait, landscape left, portrait upside down, and landscape right orientation, the page orientation controls are defined in the appropriate user-defined controls.
If the LANDSCAPE PAPER HANDLING controls are not defined

When the PAPER HANDLING controls are not defined, the controls are migrated as follows:

If the LANDSCAPE PAPER HANDLING controls are defined

When the PAPER HANDLING controls are defined, these controls have the controls to set the page orientation to portrait. The LANDSCAPE PAPER HANDLING controls have the controls to set the page orientation to landscape. The PFT Migration Utility migrates the controls as follows:

The PFT Migration Utility migrates the data in the following order:

  1. Top Tray Select and Feed
  2. Bottom Tray Select and Feed
  3. Manual Select and Feed
  4. Envelope Tray Select and Feed

The migration stops for the page orientation, SET_PORTRAIT_ORIENT= and SET_LANDSCAPELEFT_ORIENT=, when the controls for the page orientation are found. For example, the controls for the page orientation are found when the data is migrated for the Bottom Tray Select and Feed. The PFT Migration Utility does not care about the page orientation when migrating the data Manual Select and Feed, and Envelop Tray Select and Feed.