Field Names of Printer Definition Files

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

Table 1. 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  
Note:
  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 2. 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.
Note:
  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.