Printronix SL5000 Series Programmer's Reference Manual
Printronix SL5000 Series Programmer's Reference Manual

Printronix SL5000 Series Programmer's Reference Manual

Lineprinter plus emulation for sl5000/t5000 series printers
Hide thumbs Also See for SL5000 Series:
Table of Contents

Advertisement

®
LinePrinter Plus
Emulation
®
for SL5000/T5000 series Printers
Programmer's Reference Manual

Advertisement

Table of Contents
loading

Summary of Contents for Printronix SL5000 Series

  • Page 1 ® LinePrinter Plus Emulation ® for SL5000/T5000 series Printers Programmer’s Reference Manual...
  • Page 3 LinePrinter Plus Emulation ® for SL5000/T5000 series Printers Programmer’s Reference Manual ®...
  • Page 4 Printronix, Inc. makes no representations or warranties of any kind regarding this material, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Printronix, Inc. shall not be held responsible for errors contained herein or any omissions from this...
  • Page 5: Trademark Acknowledgements

    DEC is a registered trademark of Digital Equipment Corporation. Epson is a registered trademark of Seiko Epson Corporation. HP and LaserJet are registered trademarks of Hewlett-Packard Company. LinePrinter Plus, PGL, ThermaLine and Printronix are registered trademarks, of Printronix, Inc. NCR is a registered trademark of NCR Corporation.
  • Page 7: Table Of Contents

    1 Overview... 17 Introduction ...17 About This Manual ...17 Software Features ...18 Printer Configuration ...19 2 P-Series Printer Protocol ... 21 Introduction ...21 P-Series Default Values and States ...22 Configuring the P-Series Emulation with Control Codes ...24 Format for Control Code Descriptions...24 Special Function Control Code-Control Code Header ...24...
  • Page 8 Super-Set Commands... 58 Underline... 58 VFU Commands (P-Series) ... 59 Vertical Tab ... 59 3 P-Series XQ Printer Protocol ... 61 Introduction ... 61 P-Series XQ Default Values and States... 62 Configuring the XQ Emulation with Control Codes... 64 Format for Control Code Descriptions... 64 Edit Mode ...64...
  • Page 9 Space ...74 Underline ...74 Vertical Tab ...75 4 Serial Matrix Printer Protocol... 77 Introduction ...77 Serial Matrix Default Values and States...78 Configuring the Serial Matrix Emulation with Control Codes ...80 Format for Control Code Descriptions...80 Escape Control Code Header ...80 Attribute Set and Reset Codes...80...
  • Page 10 Super-Set Commands... 114 Underline... 114 Vertical Tab ... 115 Vertical Tab, Set/Clear ...116 5 IBM Proprinter III XL Printer Protocol ... 117 Introduction ... 117 Proprinter III XL Emulation Default Settings...118 Configuring the Proprinter III XL Emulation with Control Codes... 120 Escape Control Code Header ...
  • Page 11 Character Pitch 12 cpi ...129 Characters 80-9F (Control Codes) ...129 Characters 80-9F (Printable Symbols) ...129 Condensed Print ...130 Condensed Print Reset ...130 Deselect Printer...131 Emphasized Print ...131 Emphasized Print Reset...131 Expanded (Double Wide) Print...132 Expanded (Double Wide) Print (One Line Only) ...133 Expanded (Double Wide) Print Reset (1 Line) ...133...
  • Page 12 Table of Contents Vertical Tab ... 151 Vertical Tab Set/Clear ... 152 6 Epson FX-1050 Printer Protocol ... 153 Introduction ... 153 Epson FX-1050 Default Values and States... 154 Epson Emulation Exceptions and Differences ... 156 Epson Character Sets ... 157 Configuring the Epson FX-1050 Emulation with Control Codes ...
  • Page 13 Table of Contents Graphics, Quadruple Density ...180 Half Speed Mode, On/Off ...180 Horizontal Tab Execute ...181 Horizontal Tab Set/Release ...181 Initialize Printer...182 Italic Printing...182 Italic Printing, Cancel ...182 Line Feed ...183 Line Feed n/216 Inch ...183 Line Spacing 1/6 Inch (6 lpi)...184 Line Spacing 1/8 Inch (8 lpi)...184...
  • Page 14 Font Size ... 211 TrueType Font Selection ... 212 Form Length and Width... 212 Host Form Size ... 213 Horizontal Movements in Printer Resolution ... 214 PCX Data ...214 Line Spacing n/288 Inch... 214 Page Orientation Select ... 215 Print Engine Options ... 217 Printer Protocol Select ...225...
  • Page 15 PostBar and Royal Mail...254 POSTNET ...255 Telepen ...256 UCC/EAN-128 ...258 UPC-A ...263 UPC-E ...265 UPC Shipping...268 UPS 11 ...269 8 Graphics ... 271 Introduction ...271 Bit Image Graphics ...272 Plotting a Bit Image Pattern ...273 Bit Image Density ...275 Bit Image Programming Format ...276 P-Series Compatible Plot Mode (Odd/Even Dot Plotting)...278 Plot Density ...278 Plot Data Byte Format ...279...
  • Page 16 The PTR_SETUP Commands ... 297 Commands ... 298 C Character Library ... 305 D P-Series Plot Byte Definition ... 311 E Glossary ... 313 F Contact Information ... 323 Printronix Customer Support Center... 323 Printronix Supplies Department ... 323 Corporate Offices... 324...
  • Page 17: About This Manual

    Overview Introduction ® The Printronix on two diskettes capable of emulating five different impact printer protocols: ® • Printronix • Printronix P-Series XQ P300/600, hereafter called P-Series XQ • Printronix Serial Matrix ® • Proprinter ® • Epson FX-1050 The software is designed to be compatible with a variety of paper sizes as well as different print engine dots-per-inch ratios.
  • Page 18: Software Features

    Portrait/Inverted Portrait Landscape/Inverted Landscape • Graphics: Bit Image Graphics P-Series Compatible Plot Mode • Vertical Page Formatting: Printronix P-Series Electronic Vertical Format Unit (EVFU) Serial Matrix Vertical Formatting Unit (VFU) • Character Sets: IBM PC ECMA-94 Latin 1 Multinational ®...
  • Page 19: Printer Configuration

    Set “Character Set Selection” (SSCC R) command (see page 206). Printer Configuration Matching certain printer operational settings to those of the host computer is known as printer configuration . The settings, or configuration parameters, are adjusted according to the printer function key descriptions in your printer User's Manual .
  • Page 20 Chapter Introduction...
  • Page 21: P-Series Printer Protocol

    NOTE: Configuration values selected from the menus or via host control codes can be saved to the printer's NVRAM memory so that they will not be lost when you power off the printer or reset it to the factory defaults. The menu selection for saving a configuration to memory is described in the User's Manual.
  • Page 22: P-Series Default Values And States

    Chapter Introduction P-Series Default Values and States The factory settings for the P-Series emulation menu options are shown in Table 1. Table 1 also lists additional factory settings for parameters provided by the ASCII Emulation formatting menus. (The EMULATION menu options are described in the User's Manual ).
  • Page 23 Form Length Form Length Form Length Form Width Form Width Form Width * Advanced User must be enabled under the Printer Control Menu in order for the Advanced User parameters to be visible and changeable. Default Setting Enable Enable Control Code...
  • Page 24: Format For Control Code Descriptions

    Configuring the P-Series Emulation with Control Codes The remainder of this chapter describes the P-Series printer control language codes that may be sent from a host computer attached to the printer, in order to invoke and configure numerous P-Series emulation functions.
  • Page 25: Command Line

    Command Line Print format, print mode, or international language selection can be controlled by a longer sequence known as a Command Line. Command Lines are string type commands placed between complete lines of text and affect the text which follows. The protocol has six Command Lines: PMODE, OSET, PSET, LPI, LINES, and INCHES.
  • Page 26: Attribute Set And Reset Codes

    Control Code Reference Index This index lists each printer command by function, ASCII mnemonic, and the page where the command is explained in detail. The rest of this chapter defines the control code functions for P-Series Emulation mode. The commands are listed in alphabetical order.
  • Page 27 Print Attributes Bold Print Bold Print (1 line only) Bold Print Reset Elongated (Double High) Print (1 line) Elongated (Double High) Print, Set/Reset Emphasized Print Emphasized Print Reset Expanded (Double Wide) Print Expanded (Double Wide) Print (1 line) Overscoring Print Mode/Pitch Selection FUNCTION Print Attributes (continued) Superscript/Subscript Printing...
  • Page 28: Backspace

    “=” characters, the output would look like the sample below. Bell ASCII Code BEL Hex Code Dec Code Purpose Sounds the printer's buzzer/beeper. Comment The BEL function sounds the buzzer/beeper for 0.2 seconds upon receipt of this command.
  • Page 29: Bold Print

    When the bold character printing control code is received, all characters are printed in bold until reset by the bold print reset control code or printer reset. Bold Print is the same as printing double strike on an impact printer.
  • Page 30: Carriage Return

    Chapter Configuring the P-Series Emulation with Control Codes Carriage Return ASCII Code CR Hex Code Dec Code Purpose Returns the logical print head to the first character column (resets the pointer to the first character position). Comment The CR code may or may not cause printing or paper motion, depending on the DEFINE CR CODE configuration parameter value.
  • Page 31: Character Set Select

    Character Set Select ASCII Code SFCC l xyz (lowercase L) Hex Code SFCC 6C xyz SFCC 108 xyz Dec Code Purpose Selects the character set, extended character set, and the international language for a specific character set. where: x is the character set (Table 3); y is the international language for the selected character set (Table 4);...
  • Page 32 The character set, international language and extended character set can also be selected from the printer control panel. The control code settings override the control panel selection. Except for the asterisk value discussed above, values other than those shown in the tables result in the control sequence being terminated.
  • Page 33: Characters 80-9F (Printable Symbols)

    Characters 80-9F (Control Codes) ASCII Code SFCC 7 Hex Code SFCC 37 Dec Code SFCC 55 Purpose Selects the character set wherein hex codes 80 through 9F are control codes. Cancels Character Set Select activated by SFCC Comment This feature is also selectable from the control panel (see the “Alternate Set 80-9F”...
  • Page 34: Character Set Select: Ecma-94 Latin 1 Extended

    Chapter Configuring the P-Series Emulation with Control Codes Character Set Select: ECMA-94 Latin 1 Extended ASCII Code SFCC OSET; n Purpose Selects the Extended Character Set and the print mode and pitch at which the extended character prints. Valid only in the ECMA-94 Latin 1 Extended Character Set;...
  • Page 35: Character Set Select: International Languages

    Character Set Select: International Languages ASCII Code SFCC PSET; n Hex Code Dec Code Purpose Specifies the international language set identified by n in the basic character set selected from the control panel (ECMA-94 Latin 1, IBM PC, Multinational, and DEC Multinational). n corresponds to the language as shown in Table 7.
  • Page 36: Download A Character Set Overlay

    Chapter Configuring the P-Series Emulation with Control Codes Table 7. International Character Sets SFCC R PSET ECMA Latin 1 (hex) 0E (3E) 0F (3F) 10 (40) 11 (41) 12 (42) 13 (43) 14 (44) 15 (45) Comment The international character set can also be selected from the control panel.
  • Page 37 E is the terminator following each numeric field for overlay using the Printronix number. {QQQ} represents a decimal value between 0 and 255, which identifies the number of entries in the substitution table. No leading zeros are required for entries of one and two digits.
  • Page 38 Download a Character Set Overlay command. The quantity of entries (characters) in the substitution table (in this example, the letters A and B). The numeric field terminator for overlay using a Printronix number (required after each numeric field). {65} The (decimal) address code for the first character in the current character set that causes the substituted character to be printed (uppercase A/alpha).
  • Page 39: Elongated (Double High) Print (One Line Only)

    Elongated (Double High) Print (One Line Only) ASCII Code SFCC h Hex Code SFCC 68 08 Dec Code SFCC 104 8 Purpose Selects elongated (double high) character printing for one line only. Elongated characters are approximately double height but standard width. Comment The elongated character control code is a line-by-line print attribute;...
  • Page 40: Elongated (Double High) Print, Set/Reset

    NOTE: It is recommended to use double Line Feeds and Carriage Returns when double-high character printing is on (after an SFCC w control code has been sent), or else the printer will overstrike text that has already printed. If Superscript/Subscript (SFCC S) is combined with Double High printing, only Double High printing will occur.
  • Page 41: Emphasized Print

    When the emphasized print control code is received, all characters are printed in emphasized print until reset by the emphasized print reset control code or printer reset. Emphasized print is ignored during superscript or subscript printing, and when 15-20 cpi characters have been selected.
  • Page 42: Emulation Reset

    Character-by- character and line-by-line attributes are canceled. The vertical format unit is cleared. The current line is set to the top-of-form position. Interface parameters and printer protocol selection are not affected. Expanded (Double Wide) Print...
  • Page 43: Expanded (Double Wide) Print (One Line Only)

    When the SFCC k control code is received, the current line is printed double wide and then automatically reset. This control code can be reset by a paper motion control code (LF, VT, CR, etc.), SFCC @ (printer reset), CAN or SFCC W (double wide print). Example The following sample illustrates Expanded Print for one line only.
  • Page 44: Extended Character Set Cancel (Primary Character Set Select)

    Chapter Configuring the P-Series Emulation with Control Codes Example The following sample illustrates Extended Character Set. Extended Character Set Cancel (Primary Character Set Select) ASCII Code SI (Shift In)SFCC SISFCC o Hex Code Dec Code Purpose Cancels Extended Character Set as selected by SO, SFCC SO, SFCC n, and SFCC 4, and selects the Primary Character Set.
  • Page 45: Form Feed

    Form Feed ASCII Code FF Hex Code Dec Code Purpose Prints the data in the buffer, advances the paper position to the next top-of-form and moves the character position to the first character column. Comment The default forms length is determined by the configuration in nonvolatile memory.
  • Page 46: Forms Length Set (Lines)

    Chapter Configuring the P-Series Emulation with Control Codes Forms Length Set (Lines) ASCII Code SFCC LINES; n Purpose Sets the length of a form (paper) in lines. where: n = 1 through 192 (hex 01 through C0) to specify the number of lines per page at the current line spacing.
  • Page 47: Line Feed

    Line Feed ASCII Code LF Hex Code Dec Code Purpose Prints the data in the buffer (if any) and advances the vertical character position one line at the current line space setting. Comment If configured for LF equals new line (LF=CR+LF), the logical print head is positioned at character column 1 of the new line.
  • Page 48: Line Spacing 1/6 Inch (6 Lpi)

    Chapter Configuring the P-Series Emulation with Control Codes Line Spacing 1/6 Inch (6 lpi) ASCII Code SFCC 2 Hex Code SFCC 32 Dec Code SFCC 50 Purpose Sets line spacing to 6 lpi or as set by SFCC A. For SFCC LPI; n , the value of n can be 6 or 8 only. If n = 6, this Comment command sets line spacing to 1/6 inch.
  • Page 49: Line Spacing 1/8 Inch (8 Lpi)

    When the 1/8-inch line spacing control code is received, all lines are printed at 8 lpi until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting.
  • Page 50: Line Spacing 7/72 Inch

    When the 7/72-inch line spacing control code is received, all lines are printed at the 7/72-inch line spacing until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting, and the message display reflects the line spacing as 10.3 lines per inch.
  • Page 51: Line Spacing N/72 Inch

    When the SFCC A control sequence is received, all line feed commands following an SFCC 2 sequence* are at n /72-inch line spacing until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting.
  • Page 52: Line Spacing N/216 Inch

    When the n /216-inch line spacing control code is received, all Comment line feeds following are at n /216-inch line spacing until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting.
  • Page 53: Plot, Even Dot (P-Series High Density Graphics)

    Example The following sample illustrates automatic overscoring and overscoring reset. Plot, Even Dot (P-Series High Density Graphics) ASCII Code EOT SFCC d Hex Code SFCC 64 Dec Code SFCC 100 Purpose Prints dots at the even numbered dot columns. Comment The even dot plot code is used for programming high density graphics and must be used in conjunction with the Odd Dot Plot code (hex 05).
  • Page 54: Print Mode/Pitch Selection

    Chapter Configuring the P-Series Emulation with Control Codes Print Mode/Pitch Selection ASCII Code SFCC X mn SFCC [ n qSFCC PMODE; n Hex Code SFCC 58 mn SFCC 5B n 71 Dec Code SFCC 88 mn SFCC 91 n 113 Purpose Selects the print mode (Letter Gothic, Courier, or OCR) and character pitch in characters per inch (cpi).
  • Page 55 *The hex values shown (i.e., 0 and 30) are equal. Either value can be used in your program expression. The density (dpi) remains the same under this setting. x and y represent the resolutions of the particular printer. Print Mode and Pitch...
  • Page 56 Chapter Configuring the P-Series Emulation with Control Codes Table 12. Print Mode and Character Pitches (SFCC X mn ) value of n : value of m : Gothic Courier Print Mode* 0 (30) 1 (31) 0 (30) 1 (31) 2 (32) 3 (33) 4 (34) 5 (35)
  • Page 57: Superscript/Subscript Printing

    Emphasized print is ignored in the superscript/subscript print mode. When the BS feature is enabled from the control panel, both...
  • Page 58: Super-Set Commands

    Comment Super-set commands affect the ASCII Emulation as a whole regardless of the printer protocol currently active. The commands are sent from the host in the data stream to the printer, and provide the following capabilities: See Chapter 7, “Super-Set Programming,” beginning on page 205 for further information on the Super-set commands.
  • Page 59: Vfu Commands (P-Series)

    VFU Commands (P-Series) ASCII Code See the P-Series EVFU section in Chapter 9, “Vertical Page Formatting” for codes. NOTE: If the SFCC being used is ESC, the PI line must be set high when using the EVFU. Purpose Load and execute the VFU. Comment See Chapter 9, “Vertical Page Formatting,”...
  • Page 60 Chapter Configuring the P-Series Emulation with Control Codes...
  • Page 61: P-Series Xq Printer Protocol

    The P-Series XQ emulation was devised for a series of Printronix printers manufactured between 1974 and 1991, but no longer available. This emulation enables your printer to emulate Printronix P300 and P600 printers with A7/B10 boards.
  • Page 62: P-Series Xq Default Values And States

    Chapter Introduction The emulation's response to several of the control codes depends on the configuration. For example, upon receipt of the carriage return control code, the emulation will either perform a carriage return function only, or a carriage return and line feed, based on the configuration for the CR function. P-Series XQ Default Values and States The factory settings for the P-Series XQ emulation menu options are shown in Table 13.
  • Page 63 Table 13. P-Series Default Settings Characteristic Elong/Alt. Font Gothic Typeface EVFU Select Upr. Case Select Slew Relative Text Position Host Command Reset Cmd CFG Ld Form Length Form Length Form Length Form Width Form Width Form Width Default Setting Elng=BS Font=SO Char 02 STX Enable Disable...
  • Page 64: Edit Mode

    Configuring the XQ Emulation with Control Codes Configuring the XQ Emulation with Control Codes The remainder of this chapter describes the P-Series XQ printer control language codes that may be sent from a host computer attached to the printer, in order to configure and invoke numerous printer functions.
  • Page 65: Nul Code

    CR = Carriage Return (hex 0D) NUL Code NUL (hex 00) is ignored by the printer and can be used as a fill character; however, it can not be used to add blank spaces since it is not a space character.
  • Page 66: Alternate Character Set Deselect (Shift In)

    Chapter Configuring the XQ Emulation with Control Codes Other Functions Alternate Character Set Deselect (Shift In) Alternate Character Set Select (Shift Out) See NOTE below Compressed Print See NOTE below Elongated Characters See NOTE below Select Letter Gothic (DP) NOTE: A code can be assigned by changing the configuration at the control panel.
  • Page 67: Alternate Character Set Select (Shift Out)

    Positions the logical print head at the left margin (resets the memory pointer to the first character position). Comment The printer can be configured to perform a carriage return only (CR = CR only), or a carriage return plus a line feed function (CR = CR + LF).
  • Page 68: Compressed Print

    Both ETX and HT also select the Letter Gothic (DP) font if the printer is configured from the control panel (see page 73). These commands can occur anywhere in the datastream and are acted upon immediately, affecting the entire current print line.
  • Page 69: Delete

    As shown in Table 15 below, the four delete control codes are used to delete DATE from the print line. NOTE: In order for this to work correctly, the printer must be configured for carriage return only. If configured for a carriage return and a line feed, the contents of the buffer are printed on receipt of the CR code.
  • Page 70: Elongated Characters (Double High Print)

    The Elongated Character control code can be placed anywhere in the data line before the line terminator. Following the line terminator, the printer automatically selects the default print mode. Consequently, the Elongated Character control code must be sent for each line of elongated characters. Elongated characters cannot be mixed with standard characters on the same print line.
  • Page 71: Line Spacing (8 Or 10.3 Lpi)

    Line Feed ASCII Code LF Hex Code Dec Code Purpose Prints the data in the buffer (if any) and advances the vertical character position one line at the current line space setting. Comment If configured for LF equals new line (LF=CR+LF), the logical print head is positioned at character column 1 of the new line.
  • Page 72: Plot, Even Dot (P-Series Xq High Density Graphics)

    Chapter Configuring the XQ Emulation with Control Codes Plot, Even Dot (P-Series XQ High Density Graphics) ASCII Code EOT Hex Code Dec Code Purpose Selects even dot plot mode to print dots in even numbered dot columns to produce high density plotting. Comment The Even Dot Plot control code can occur anywhere in the data line before the line terminator.
  • Page 73: Plot, Odd Dot (P-Series Xq Normal Density Graphics

    Comment Any of the three codes select Letter Gothic (DP) print mode. Both ETX and HT also select 17.1 cpi if you configure the printer from the control panel (see page 68). These commands can occur anywhere in the datastream and are acted upon immediately, affecting the entire current print line.
  • Page 74: Space

    Produces a blank space; no character is printed. Comment It is not necessary to pad the end of the print line with space characters. The printer automatically fills the line after the line terminator is received. The Space character code is also used to skip characters for editing and underlining as described on page 64.
  • Page 75: Vertical Tab

    Vertical Tab ASCII Code VT Hex Code Dec Code Purpose Acts as a line terminator when the EVFU is loaded, causing the paper to advance to a specified preprogrammed line. Comment Vertical Tab is primarily an EVFU line terminator code as described in Chapter 9, “Vertical Page Formatting”.
  • Page 76 Chapter Configuring the XQ Emulation with Control Codes...
  • Page 77: Serial Matrix Printer Protocol

    The Serial Matrix emulation is very similar to the code system used by an IBM Graphics Printer, but contains more features. This emulation enables your line matrix printer to print files coded for a serial matrix printer. To select the Serial Matrix emulation mode as the active printer emulation, select ASCII Emulation from the EMULATION menu and Serial Matrix from the Printer Protocol menu, as described in the User's Manual.
  • Page 78: Serial Matrix Default Values And States

    User's Manual ). Host control codes can override many of the settings for these menu options. Characteristic Control Code 06 Define CR Code Auto LF Overstrike Define LF Code Printer Select Alternate Set 80-9F Character Sets Primary Subet Extended Subset Table 17. Serial Matrix Default Settings Default Setting 8.0 LPI...
  • Page 79 Table 18. ASCII Emulation Menu Option Factory Settings Characteristic Orientation Typeface Proportional Spacing Bold Print Italic Print Slashed Zero Text Position Horizontal DPI Vertical DPI Logical Form Left Margin Right Margin Top Margin Bottom Margin Physical Page Left Margin Right Margin Top Margin Bottom Margin Perforation Skip...
  • Page 80: Escape Control Code Header

    Escape Control Code Header Serial Matrix codes use only ESC as the control code header. For example, to enable bold print in the Serial Matrix printer protocol, use the Serial Matrix ESC and the bold print control code character G as follows:...
  • Page 81: Control Code Index

    Control Code Index This index lists each printer command by function, ASCII mnemonic, and the page where the command is explained in detail. The rest of this chapter defines the control code functions for Serial Matrix Emulation mode. The commands are listed in alphabetical order.
  • Page 82 Characters 80-9F (Printable Symbols)ESC 6 Characters 80-9F (Printable Symbols)ESC u Character Set Select: International Languages Emulation Reset Extended Character Set Extended Character Set Cancel Printer Select Printer Deselect Super-Set Commands ASCII CODE PAGE ESC _ n ESC X mn ESC [ n q ESC S n ESC –...
  • Page 83: Bell

    “=” characters, the output would look like the sample below. Bell ASCII Code BEL Hex Code Dec Code Purpose Sounds the printer's buzzer/beeper. Comment The BEL function sounds the buzzer/beeper for 0.2 seconds upon receipt of this command.
  • Page 84: Bit Image Mode, Single Density

    Chapter Configuring the Serial Matrix Emulation with Control Codes Bit Image Mode, Single Density ASCII Code ESC K n1 n2 Hex Code 1B 4B n1 n2 Dec Code 27 75 n1 n2 Purpose Selects Single (Normal) Density Bit Image graphics. ( n1 + 256 n2 ) define the number of data bytes to follow.
  • Page 85: Bit Image Mode, Double Density Double Speed

    Bit Image Mode, Double Density Double Speed ASCII Code ESC Y n1 n2 Hex Code 1B 59 n1 n2 27 89 n1 n2 Dec Code Purpose Selects Double Density, Double Speed Bit Image graphics. where: ( n1 + 256 n2 ) define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes.
  • Page 86: Bit Image Mode, Quadruple Density

    Comment When the bold character printing control code is received, all characters are printed in bold until reset by the bold print reset control code or printer reset. Bold Print is the same as printing double strike. Example The following sample illustrates bold character printing.
  • Page 87: Bold Print Reset

    Bold Print Reset ASCII Code ESC H Hex Code 1B 48 Dec Code 27 72 Purpose Resets bold character printing. Comment The bold print reset control code only resets the bold print character attribute. Other print attributes such as double wide printing are not affected.
  • Page 88: Character Pitch 10 Cpi

    If the DEFINE CR CODE submenu displays: control code CR is converted to perform a carriage return and line feed function. The CR code in Serial Matrix printer protocol cancels expanded (double wide) print when set by code SO and ESC SO (single line printing attribute).
  • Page 89: Character Pitch 12 Cpi

    Character Pitch 12 cpi ASCII Code ESC M ESC : Hex Code 1B 4D 1B 3A Dec Code 27 77 27 58 Purpose Sets character pitch to 12 cpi. Comment Control Code ESC X can also be used to select a character pitch of 12 cpi.
  • Page 90 Chapter Configuring the Serial Matrix Emulation with Control Codes Table 20. International Language Select ( y ) x = 0 (hex 30) IBM PC 0 (hex 30) ASCII (USA) 1 (hex 31) French 2 (hex 32) German 3 (hex 33) English (UK) 4 (hex 34) Danish...
  • Page 91: Characters 80-9F (Control Codes)

    The character set, international language and extended character set can also be selected from the printer control panel. The control code setting overrides the control panel selection. Except for the asterisk value discussed above, values other than those shown in the tables results in the control sequence being terminated.
  • Page 92: Characters 80-9F (Printable Symbols)

    Chapter Configuring the Serial Matrix Emulation with Control Codes Characters 80-9F (Printable Symbols) ASCII Code ESC u Hex Code 1B 75 Dec Code 27 117 Purpose Selects the character set wherein hex codes 80 through 9F are printable symbols. Hex codes 03 through 06 and 15 are treated like control codes.
  • Page 93 Table 22. International Character Sets ESC R IBM PC (0437 or ECMA Latin 1 (hex) 0E (3E) 0F (3F) 10 (40) 11 (41) 12 (42) 13 (43) 14 (44) 15 (45) Comment The international character set can also be selected from the control panel.
  • Page 94: Condensed Print

    After receiving code SI, all characters are printed in condensed print until reset by ESC M, ESC P, the condensed print reset control code DC2, printer reset, or a new print mode control code. The Serial Matrix SI code (hex 0F) is equivalent to the ESC SI code.
  • Page 95: Elongated (Double High) Print (One Line Only)

    Elongated (Double High) Print (One Line Only) ASCII Code ESC h Hex Code 1B 68 Dec Code 27 104 Purpose Selects elongated (double high) character printing for one line only. Elongated characters are approximately double height but standard width. Comment The elongated character control code is a line-by-line print attribute;...
  • Page 96: Elongated (Double High) Print, Set/Reset

    NOTE: It is recommended to use double Line Feeds and Carriage Returns when double-high character printing is on (after an ESC w control code has been sent), or else the printer overstrikes text that has already printed. If Superscript/Subscript (ESC S) or Condensed Print (SI) is combined with Double High printing, only Double High printing occurs.
  • Page 97: Emphasized Print Reset

    Character-by-character and line-by-line attributes are canceled. The vertical format unit is cleared. The current line is set to the top-of-form position. Interface parameters and printer protocol selection are not affected. This command resets the horizontal tabs to every eighth...
  • Page 98: Expanded (Double Wide) Print (One Line Only)

    Chapter Configuring the Serial Matrix Emulation with Control Codes Expanded (Double Wide) Print ASCII Code ESC W n Hex Code 1B 57 n Dec Code 27 87 n Purpose Selects or resets expanded (double wide) print. n = 1 selects expanded print (hex 01 or hex 31) where: n = 0 resets expanded print (hex 00 or hex 30) Comment...
  • Page 99: Extended Character Set

    Example The following sample illustrates Expanded Print for one line only. Another example of expanded printing is shown in the Expanded (Double Wide) Print description, above. Extended Character Set ASCII Code ESC 4 Hex Code 1B 34 Dec Code 27 52 Purpose Accesses the extended character set in the range hex A0 through FF using codes hex 20 through hex 7F.
  • Page 100: Forms Length Set (Inches)

    Chapter Configuring the Serial Matrix Emulation with Control Codes Extended Character Set Cancel (Primary Character Set Select) ASCII Code ESC 5 Hex Code 1B 35 Dec Code 27 53 Purpose Cancels Extended Character Set as selected by ESC 4, and selects the Primary Character Set.
  • Page 101: Forms Length Set (Lines)

    Comment Upon receipt of this code, the current line becomes the first line of the form, and the form length set becomes the current forms length. Vertical tab positions set below the bottom of the form are ignored. Forms length is defined in inches; therefore, subsequent line spacing changes do not affect the result of this command.
  • Page 102: Form Margins, Set

    Comment Power-on default horizontal tabs are set at every eighth character in the Serial Matrix printer protocol. If there are no horizontal tabs set or the logical printhead is located at the last character column, the code is ignored and no movement occurs.
  • Page 103: Horizontal Tab Set

    Tab positions may be cleared by sending the ESC D NUL sequence. Powering the printer on/off initializes the tabs to every eighth character column. Horizontal tabs are accessed by control code HT.
  • Page 104: Line Feed N/216 Inch (One Line Only)

    Chapter Configuring the Serial Matrix Emulation with Control Codes Line Feed n /216 Inch (One Line Only) ASCII Code ESC J n Hex Code 1B 4A n Dec Code 27 74 n Advances the vertical character position n /216 inch for one line Purpose only.
  • Page 105: Line Spacing 1/6 Inch

    When the 1/8-inch line spacing control code, ESC 0, is received, all lines are printed at 8 lpi until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting.
  • Page 106: Line Spacing 7/72 Inch

    When the 7/72-inch line spacing control code is received, all lines are printed at the 7/72-inch line spacing until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting, and the message display reflects the line spacing as 10.3 lines per inch.
  • Page 107: Line Spacing N/216 Inch

    When the n /216-inch line spacing control code is received, all line feeds following are at n /216-inch line spacing until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting.
  • Page 108: Overscoring

    Chapter Configuring the Serial Matrix Emulation with Control Codes Overscoring ASCII Code ESC _ n Hex Code 1B 5F n Dec Code 27 95 n Purpose Enables or disables automatic overscoring of all characters. n = 0 to disable automatic overscoring (hex 00 or hex 30) where: n = 1 to enable automatic overscoring (hex 01 or hex 31) Comment...
  • Page 109 Comment Print mode and pitch can also be selected from the control panel. The print mode/pitch select control code from the host computer overrides the control panel print mode setting and the print mode and pitch selection are reflected on the message display.
  • Page 110 *The hex values shown (i.e., 0 and 30) are equal. Either value can be used in your program expression. The density (dpi) remains the same under this setting. x and y represent the resolutions of the particular printer. Table 25. Print Mode and Character Pitches (ESC X mn ) value of n :...
  • Page 111 Print Mode/Pitch Selection Example The sample printout below shows a number of different print modes and pitch selections.
  • Page 112: Printer Deselect

    Places printer in the selected state. Comment When the configuration parameter PRINTER SELECT is enabled, this control code allows the printer to receive and print data from the host. Printer Deselect (DC3) disables the printer from receiving data. Skip-Over Perforation...
  • Page 113: Skip-Over Perforation Cancel

    Emphasized print is ignored in the superscript/subscript print mode. Both superscript and subscript characters can be printed in the same character column using the Backspace (BS) control code (page 83).
  • Page 114: Superscript/Subscript Printing Reset

    Comment Super-set commands affect the ASCII Emulation as a whole regardless of the printer protocol currently active. The commands are sent from the host in the data stream to the printer, and provide the following capabilities: See Chapter 7, “Super-Set Programming,” for further information on the super-set commands.
  • Page 115: Vertical Tab

    Vertical Tab ASCII Code VT Hex Code Dec Code Purpose Prints the data in the buffer and advances the paper to the next vertical tab position. Comment Vertical tab positions are set by control code ESC B and executed by control code VT. In this mode, if vertical tabs are loaded, the paper position moves to the next vertical tab position.
  • Page 116: Vertical Tab, Set/Clear

    If the value of n defines a tab stop that exceeds the forms length, that tab position is ignored. In Serial Matrix printer protocol, vertical tab positions are set by control code ESC B and executed by control code VT. The tab positions must be in ascending order or the sequence terminates.
  • Page 117: Ibm Proprinter Iii Xl Printer Protocol

    NOTE: Configuration values selected from the menus or via host control codes can be saved to the printer's NVRAM memory so that they will not be lost when you power off the printer or reset it to the factory default configuration. The menu selection for saving a configuration to memory is described in the User's Manual.
  • Page 118: Proprinter Iii Xl Emulation Default Settings

    Chapter Introduction Proprinter III XL Emulation Default Settings The factory settings for the Proprinter III XL emulation menu options are shown in Table 26. Table 27 lists additional factory settings for parameters provided by the ASCII Emulation formatting menus. (The EMULATION menu options are described in the User's Manual ).
  • Page 119 Table 27. ASCII Emulation Menu Option Factory Settings Characteristic Orientation Typeface Proportional Spacing Bold Print Italic Print Slashed Zero Text Position Horizontal DPI Vertical DPI Logical Form Left Margin Right Margin Top Margin Bottom Margin Physical Page Left Margin Right Margin Top Margin Bottom Margin Perforation Skip...
  • Page 120: Configuring The Proprinter Iii Xl Emulation With Control Codes

    Chapter Configuring the Proprinter III XL Emulation with Control Codes Configuring the Proprinter III XL Emulation with Control Codes The following information is listed for each code function (where applicable): ASCII Code The standard ASCII name for the control code. Hex Code The control code numeric equivalent in hexadecimal.
  • Page 121: Control Code Index

    Control Code Index The following index lists the control codes by function and lists the ASCII mnemonic and page number. NOTE: Some control code functions can be accomplished using another control code sequence or via control panel selection. FUNCTION Paper Motion Form Feed Line Feed Line Feed n /216 Inch (1 Line Only) ESC J n...
  • Page 122 Bit Image Mode, Quadruple DensityESC Z n1 n2 Other Functions Bell Characters 80-9F (Control Codes) Characters 80-9F (Printable Symbols) Deselect Printer Initialize Parameters Print Control Codes Print One Control Code Select Attributes Select Font (Print Mode) Super-Set Commands Unidirectional Printing...
  • Page 123: Backspace

    “=” characters, the output would look like the sample below. Bell ASCII Code BEL Hex Code Dec Code Purpose Sounds the printer's buzzer/beeper. Comment The BEL function sounds the buzzer/beeper for 0.2 seconds upon receipt of this command.
  • Page 124: Bit Image Mode, Double Density

    Chapter Configuring the Proprinter III XL Emulation with Control Codes Bit Image Mode, Single Density ASCII Code ESC K n1 n2 Hex Code 1B 4B n1 n2 Dec Code 27 75 n1 n2 Purpose Selects Single (Normal) Density Bit Image graphics. ( n1 + 256 n2 ) define the number of data bytes to follow.
  • Page 125: Bit Image Mode, Double Density Double Speed

    Bit Image Mode, Double Density Double Speed ASCII Code ESC Y n1 n2 Hex Code 1B 59 n1 n2 27 89 n1 n2 Dec Code Purpose Selects Double Density, Double Speed Bit Image graphics. where: ( n1 + 256 n2 ) define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes.
  • Page 126: Bold Print Set

    Comment When the bold character printing control code is received, all characters are printed in bold until reset by the bold print reset control code or printer reset. Bold Print is the same as printing double strike. Example The following sample illustrates bold character printing.
  • Page 127: Bottom Margin, Set

    Bottom Margin, Set ASCII Code ESC N n Hex Code 1B 4E n 27 78 n Dec Code Purpose Selects the number of lines (at the current line spacing) for the paper skip at the bottom of the perforated page. where: n = 1 through 255 (hex 01 through hex FF) to select the number of lines to skip.
  • Page 128: Cancel

    Chapter Configuring the Proprinter III XL Emulation with Control Codes Cancel ASCII Code CAN Hex Code Dec Code Purpose Clears the print buffer of all printable symbols since the last paper motion command was received. Comment This control code may be used as a delete line function but should be used with extreme care to avoid possible misprinting.
  • Page 129: Carriage Return, Set

    Carriage Return, Set ASCII Code ESC 5 n Hex Code 1B 35 n 27 53 n Dec Code Purpose Defines the carriage return code. where: If n = 1, 3, 5 ... (any odd value), CR = CR + LF. This setting overrides the front panel setting.
  • Page 130: Condensed Print Reset

    The Proprinter XL condensed print control code SI affects all subsequent characters. After receiving code SI, all characters are printed in condensed print until reset by control code DC2, printer reset, or a new print mode control code. Example The following sample illustrates condensed character printing and reset.
  • Page 131: Deselect Printer

    Stops the printer from processing data received from the host computer. Discussion This code is for diagnostic use; it instructs the printer to stop processing data received from the host system. In order to resume processing data, the printer must be reset from the host system.
  • Page 132: Expanded (Double Wide) Print

    Chapter Configuring the Proprinter III XL Emulation with Control Codes Expanded (Double Wide) Print ASCII Code ESC W n Hex Code 1B 57 n Dec Code 27 87 n Purpose Selects or resets expanded (double wide) print. if n = 1, 3, 5... (any odd value) expanded print is selected where: if n = 0, 2, 4...
  • Page 133: Expanded (Double Wide) Print Reset (1 Line)

    Expanded (Double Wide) Print (One Line Only) ASCII Code SO ESC SO Hex Code 1B 0E Dec Code 27 14 Purpose Selects double wide print for one line only. where: If the emulation is set at 10 cpi, it is set to 5 cpi. If the emulation is set at 12 cpi, it is set to 6 cpi.
  • Page 134: Form Feed

    When forms length is changed by the ESC C NUL sequence, the bottom margin is set to zero. If the product of lines and line spacing (forms length) is not an exact multiple of the printer dot resolution, the value is adjusted down until forms length and dot resolution distance match.
  • Page 135: Horizontal Tab

    Forms Length Set (Lines) ASCII Code ESC C n Hex Code 1B 43 n 27 67 n Dec Code Purpose Sets the length of a form (paper) in lines. where: n = 1 through 192 (hex 01 through hex C0) to specify the number of lines per page at the current line spacing.
  • Page 136: Horizontal Tab Set/Reset

    Tab positions may be cleared by sending the ESC D NUL sequence. Powering the printer on/off initializes the tabs to every eighth character column. Horizontal tabs are accessed by control code HT.
  • Page 137: Initialize Parameters

    The 2-digit hexadecimal value for n2 defines the load configuration for the printer. The Proprinter III XL supports six values for this parameter: 00, 01, 04, 05, 254, and 255 (hex 00, 01, 04, 05, FE, and FF). Any other value will be ignored.
  • Page 138 Chapter Configuring the Proprinter III XL Emulation with Control Codes Parameter n3 is provided for compatibility with the Proprinter III XL printer control language standard. You may define any value for this parameter. (For Proprinters, this bit must define the attached printer as either Proprinter, value 03, or Proprinter III XL, value 22 [hex 16].)
  • Page 139: Line Feed

    Table 30. n5 Values n5 Bit Function Process this byte Code page Unidirectional Printing 12 cpi compressed to 20 Form feed at TOF Print Width Sheet feeder Line Feed ASCII Code LF Hex Code Dec Code Purpose Prints the data in the buffer (if any) and advances the vertical character position one line at the current line space setting.
  • Page 140: Line Feed N/216 Inch (One Line Only)

    Chapter Configuring the Proprinter III XL Emulation with Control Codes Line Feed n /216 Inch (One Line Only) ASCII Code ESC J n Hex Code 1B 4A n Dec Code 27 74 n Advances the vertical character position n /216 inch for one line Purpose only.
  • Page 141: Line Spacing 1/6 Inch (6 Lpi)

    When the 1/8-inch line spacing control code is received, all lines are printed at 8 lpi until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting.
  • Page 142: Line Spacing 7/72 Inch (10.3 Lpi)

    When the 7/72-inch line spacing control code is received, all lines are printed at the 7/72-inch line spacing until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting, and the message display reflects the line spacing as 10.3 lines per inch.
  • Page 143: Line Spacing N/72 Inch

    When the ESC A control sequence is received, all line feed commands following an ESC 2 sequence* are at n /72-inch line spacing until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting and the message display reflects the line spacing in lines per inch.
  • Page 144: Margins, Left/Right, Set

    When the n /216-inch line spacing control code is received, all Comment line feeds following are at n /216-inch line spacing until a new line spacing is selected or the printer is reset. The control code line spacing selection overrides the control panel line spacing setting.
  • Page 145: Print Control Codes

    Overscoring ASCII Code ESC _ n Hex Code 1B 5F n 27 95 n Dec Code Purpose Enables or disables automatic overscoring of all characters. where: if n = 1, 3, 5... (any odd value) automatic overscoring is enabled if n = 0, 2, 4... (any even value) automatic overscoring is disabled Comment When automatic overscore is enabled, all characters, including...
  • Page 146: Select Attributes

    Chapter Configuring the Proprinter III XL Emulation with Control Codes Select Attributes ASCII Code ESC [ @ n1 NUL NUL NUL n2 n3 Hex Code 1B 5B 40 n1 00 00 00 n2 n3 Dec Code 27 91 64 n1 0 0 0 n2 n3 Purpose Selects double height and double width attributes as well as either single or double height line spacing.
  • Page 147 n3 can take on the following characteristics: where: Table 33. Select Attributes n3 Values n3 (Hex) No change Set single width characters Set double width characters Comment All other values of n1 , n2 , and n3 are ignored. Example Function...
  • Page 148: Select Font (Print Mode)

    Chapter Configuring the Proprinter III XL Emulation with Control Codes Select Font (Print Mode) ASCII Code ESC I n Hex Code 1B 49 n Dec Code 27 73 n Purpose Selects the print mode. n can take the following values: where: Print Mode Letter Gothic (DP)
  • Page 149: Superscript/Subscript Printing

    Emphasized print is ignored in the superscript/subscript print mode. Both superscript and subscript characters can be printed in the same character column using the Backspace (BS) control code (page 123).
  • Page 150: Top-Of-Form

    Comment Super-set commands affect the ASCII Emulation as a whole regardless of the printer protocol currently active. The commands are sent from the host in the data stream to the printer, and provide the following capabilities: See Chapter 7, “Super-Set Programming,” for further information on the Super-Set commands.
  • Page 151: Unidirectional Printing

    Hex Code 1B 55 n 27 85 n Dec Code Purpose Sets or cancels unidirectional printing. Discussion The printer ignores this command. Vertical Tab ASCII Code VT Hex Code Dec Code Purpose Prints the data in the buffer and advances the paper to the next vertical tab position.
  • Page 152: Vertical Tab Set/Clear

    Chapter Configuring the Proprinter III XL Emulation with Control Codes Vertical Tab Set/Clear ASCII Code ESC B n1 n2 n3 ... nk NUL Hex Code 1B 42 n1 n2 n3 ... nk 00 Dec Code 27 66 n1 n2 n3 ... nk 0 Purpose Sets vertical tab positions.
  • Page 153: Epson Fx-1050 Printer Protocol

    NOTE: Configuration values selected from the menus or via host control codes can be saved to the printer's NVRAM memory so that they will not be lost when you power off the printer or reset it to the factory defaults. The menu selection for saving a configuration to memory is described in the User's Manual.
  • Page 154: Epson Fx-1050 Default Values And States

    Table 35. Epson Emulation Menu Option Factory Settings Characteristic Define CR Code Auto LF Define LF Code Printer Select Character Set 20 CPI Condensed Default Setting CR = CR Enable LF = LF...
  • Page 155 Table 36. ASCII Emulation Menu Option Factory Settings Characteristic Orientation Typeface Proportional Spacing Bold Print Italic Print Slashed Zero Text Position Horizontal DPI Vertical DPI Logical Form Left Margin Right Margin Top Margin Bottom Margin Physical Page Left Margin Right Margin Top Margin Bottom Margin Perforation Skip...
  • Page 156: Epson Emulation Exceptions And Differences

    • If one or more Backspace control codes follow directly after a Bit Image Graphics command (ESC K, ESC L, ESC Y, or ESC Z), the printer backspaces into the graphic pattern, the number of dots depending on the current cpi setting. For an Epson FX-1050 printer, one Backspace sends the logical printhead directly to the beginning of the graphics pattern.
  • Page 157: Epson Character Sets

    Epson Character Sets Epson printers use five character sets. The IBM Graphics Code Page 437, IBM PC Multilingual code page 0850, OCR A, and OCR B character sets may be selected from the configuration menus. In addition, there is a unique Epson character set.
  • Page 158: Escape Sequences

    Emulation with Control Codes The remainder of this chapter describes the Epson printer control language codes that may be sent from a host computer attached to the printer, in order to invoke and configure numerous Epson emulation functions. Format for Control Code Descriptions The following information is listed for each code function (where applicable): ASCII Code The standard ASCII name for the control code.
  • Page 159: Set And Reset Codes

    (hexadecimal 31 and 30). NUL Code NUL (hex 00) is ignored by the printer and can be used as a fill character; however, it can not be used to add blank spaces since it is not a space character. NUL can also be used as a parameter terminator for the Set Horizontal Tabs (page 181) or Set Vertical Tabs multibyte control code (page 203).
  • Page 160: Print Modes Supported For Character Sets

    Chapter Configuring the Epson FX-1050 Emulation with Control Codes Print Modes Supported for Character Sets Table 38 summarizes which print modes are supported for the Epson FX- 1050 emulation character sets. Additional information about character set support is provided in the "Notes" column of the table. NOTE: The print mode support for the languages shown in Table 38 (Epson Set ASCII and following) is the same for the Epson expanded character sets and the Epson 0437 PC character sets.
  • Page 161: Control Code Index

    The following index lists the control codes by function and lists the ASCII mnemonic and page number. NOTE: Some control code functions can also be selected at the operator panel. † = Produces non-Epson behavior in your printer. FUNCTION Vertical Motion and Print Execution Carriage Return...
  • Page 162 Chapter Configuring the Epson FX-1050 Emulation with Control Codes FUNCTION Emphasis † Condensed Print Condensed Print Reset † Double High Print, Set/Reset Double Strike Double Strike, Cancel † Double Wide Print † Double Wide Print (1 Line) Double Wide Print (1 Line), Cancel Emphasized Print Emphasized Print, Cancel Italic Printing...
  • Page 163 Reassign Graphics Mode † Select Graphics Mode Select 9-Pin Graphics Mode Other Functions Bell † Cut-Sheet / Paper Feed Control † Half-Speed Mode, On/Off Initialize Printer Printer Deselect Printer Select Super-Set Commands Unidirectional Printing, 1 Line Unidirectional Printing, Set/Reset ASCII CODE...
  • Page 164: Backspace

    If one or more Backspace control codes follow directly after a Bit Image Graphics command (ESC K, ESC L, ESC Y, or ESC Z), the printer backspaces into the graphic pattern, the number of dots depending on the current cpi setting. For an Epson FX- 1050 printer, one Backspace sends the logical printhead directly to the beginning of the graphics pattern.
  • Page 165: Cancel Line

    Comment Subsequent data are emphasized. A line feed is appended if the printer is configured from the operator panel for CR = CR + LF. When CR = CR + LF, this code cancels all one-line-only emphasis and font controls: double-wide from SO and ESC SO, and unidirectional printing from ESC <.
  • Page 166: Character Pitch 15 Cpi

    † Comment This command is not defined in Epson FX printers. It is included in this emulation for compatibility with the Okidata KX-P1180 printer. This command is available in all print modes except OCR A and OCR B. Character Set Select: International Languages...
  • Page 167 Table 39. Epson International Character Sets (Hex) Then International Character Set Is: French German English (UK) Danish I Swedish Italian Spanish I Japanese Norwegian Danish II Spanish II Latin American I French Canadian Latin American II Comment This control code setting overrides a character set selection made at the operator panel.
  • Page 168: Clear Bit 7 Of Incoming Data Bytes To 0

    After the printer receives code SI, all characters are printed condensed (approximately 60% of the width of normal characters) until the printer is reset by ESC M, ESC P, DC2, a printer reset, or a new print mode control code. SI code (hex 0F) is equivalent to the ESC SI code.
  • Page 169: Cut-Sheet / Paper Feed Control

    Cancels the condensed print mode set by SI, ESC SI, or the operator panel. Comment This returns the printer to the font that was active before condensed print occurred. Other print attributes are not affected. Example See the Condensed Print control code (page 168) for an example of Condensed Print Reset.
  • Page 170: Double High Print, Set/Reset

    †Comment The OCR A and OCR B fonts cannot be printed in double high. NOTE: It is recommended to use double Line Feeds and Carriage Returns when double-high character printing is on (after an ESC w control code has been sent), or else the printer overstrikes text that has already printed. †...
  • Page 171: Double Strike

    Double Strike ASCII Code ESC G Hex Code 1B 47 Dec Code 27 71 Purpose Makes text bolder by selecting a bold font. †Comment This command makes text bolder by selecting a bold font. Example The following sample illustrates bold character printing. Double Strike, Cancel ASCII Code ESC H Hex Code...
  • Page 172: Double Wide Print

    Chapter Configuring the Epson FX-1050 Emulation with Control Codes Double Wide Print ASCII Code ESC W n Hex Code 1B 57 n Dec Code 27 87 n Purpose Turns double wide print on and off. n = hex 1 or hex 31 turns double wide print on where: n = hex 0 or hex 30 turns double wide print off Comment...
  • Page 173: Double Wide Print (1 Line), Cancel

    Double Wide Print (1 Line) ASCII Code SO ESC SO Hex Code 1B 0E Dec Code 27 14 Purpose Selects double wide print for one line only. Comment This control code is a line-by-line print attribute; when SO or ESC SO is received, the characters on the current line print twice as wide, then automatically reset.
  • Page 174: Emphasized Print, Cancel

    Chapter Configuring the Epson FX-1050 Emulation with Control Codes Emphasized Print ASCII Code ESC E Hex Code 1B 45 Dec Code 27 69 Purpose Selects emphasized character print format. Comment Emphasized print makes text bolder. This command is available in both LG (Letter Gothic) and Courier modes. Example The following sample illustrates emphasized character printing.
  • Page 175: Enable Printing Hex Codes 00-1F And 80-9F

    The printable codes for the Epson character set are shown in Table 40. The mapping of 00 through 1F and 80 through 9F are the same in this case. (Table 40 shows the types of characters and their addresses; it is not a sample of printer output.)
  • Page 176 Chapter Configuring the Epson FX-1050 Emulation with Control Codes Table 40. Epson Printable Codes (Hex 00-1F and 80-9F) BITS COLUMN à è ù 0 0 1 0 0 0 1 1 ò 0 1 0 0 ì 0 1 0 1 0 1 1 0 £...
  • Page 177: Graphics, Standard Density

    Form Feed ASCII Code FF Hex Code Dec Code Purpose Prints the data in the buffer, if any, then moves the paper to the top of the next form. Comment The logical print head moves to the left margin. This code cancels all one-line-only emphasis and font controls: double- wide from SO and ESC SO, and unidirectional printing from ESC <.
  • Page 178: Graphics, Double Density

    Chapter Configuring the Epson FX-1050 Emulation with Control Codes Graphics, Double Density ASCII Code ESC L n1 n2 Hex Code 1B 4C n1 n2 Dec Code 27 76 n1 n2 Purpose Selects double density bit image graphics of 120 dots per inch horizontally and 72 dots per inch vertically.
  • Page 179: Graphics, Double Density Double Speed

    Graphics, Double Density Double Speed ASCII Code ESC Y n1 n2 Hex Code 1B 59 n1 n2 27 89 n1 n2 Dec Code Purpose Selects double density, double speed bit-image graphics of 120 dpi horizontally and 72 dpi vertically. where: ( n1 + 256 n2 ) defines the number of data bytes to follow.
  • Page 180: Graphics, Quadruple Density

    1B 73 n 27 115 n Dec Code Purpose Reduces printer speed 50% n = hex 00 or 30 turns half speed mode off where: n = hex 01 or 31 turns half speed mode on †Comment This command is ignored.
  • Page 181: Horizontal Tab Execute

    (1/pitch), excluding double wide. After the tabs are set, HT moves the logical print head to the next tab stop. Sending ESC @ initializes the printer and resets the tabs to every eighth character column (which is the default).
  • Page 182: Initialize Printer

    Character-by-character and line-by-line attributes are canceled. The vertical format unit is cleared. The current line is set to the top-of-form position. Interface parameters and printer protocol selection are not affected. This command resets the horizontal tabs to every eighth character column.
  • Page 183: Line Feed N/216 Inch

    Line Feed ASCII Code LF Hex Code Dec Code Purpose Prints the data in the buffer (if any) and advances the vertical character position a distance of one line at the current line spacing. Comment The logical print head keeps the same distance from the margin. The current line is printed and the logical printhead moves down a distance equal to the current line spacing.
  • Page 184: Line Spacing 1/6 Inch (6 Lpi)

    The 2 is ASCII character 2, not hex 2. When ESC 2 is received, all lines are printed at 6 lpi until a new line spacing is selected or the printer is reset. This control code overrides line spacing set at the operator panel.
  • Page 185: Line Spacing 7/72 Inch

    Comment All lines are printed at the 7/72-inch line spacing until a new line spacing is selected or the printer is reset. This control code overrides line spacing set at the operator panel. Example The following example illustrates 7/72-inch line spacing.
  • Page 186: Line Spacing N/216 Inch

    All line feeds following receipt of this code are at n /216 inch line Comment spacing until a new line spacing is selected or the printer is reset. Line spacing set by this control code overrides line spacing setting set at the operator panel.
  • Page 187: Make Hex 80-9F Control Codes

    Make Hex 80-9F Control Codes ASCII Code ESC 7 Hex Code 1B 37 Dec Code 27 55 Purpose Selects hex 80-9F in the character sets as control codes. Comment This is the default when the Epson character set is selected as the default set at the operator panel.
  • Page 188 Chapter Configuring the Epson FX-1050 Emulation with Control Codes Table 41. Epson Printable Codes (Hex 80-9F) BITS COLUMN à è 0 0 1 0 ù 0 0 1 1 ò 0 1 0 0 ì 0 1 0 1 0 1 1 0 £...
  • Page 189: Master Print Select

    Master Print Select ASCII Code ESC ! n Hex Code 1B 21 n 27 33 n Dec Code Purpose Selects or changes print attributes in a single command. where: n = an 8-bit number with the bits set to specify print attributes, as shown in Table 42.
  • Page 190: Paper Out Detection, Enable

    Dec Code 27 57 Purpose Asserts a paper out condition immediately when the end of the paper supply is sensed. †Comment The printer decodes and ignores this command. Paper Out Detection, Disable ASCII Code ESC 8 Hex Code 1B 38...
  • Page 191: Printer Select

    Enable. Refer to the User's Manual for information about this menu option. This control code allows the printer to receive and print data from the host if it was deselected by DC3. If the printer was not deselected by DC3, this code is ignored. Reassign Graphics Mode...
  • Page 192: Remove Downloaded Characters

    Dec Code 27 58 0 n 0 Purpose Erases all downloaded characters. †Comment The printer ignores this command but removes all data sent. Select Graphics Mode ASCII Code ESC * m n1 n2 Hex Code 1B 2A m n1 n2...
  • Page 193: Select Italic Character Set

    Select Italic Character Set ASCII Code ESC t n Hex Code 1B 74 n 27 116 n Dec Code Purpose Selects the italics characters from hex 80 through hex FF, or selects the graphics characters from hex 80 through hex FF. where: n = hex 1 selects the graphics character set n = hex 0 selects the italics character set...
  • Page 194: Select Print Quality

    Chapter Configuring the Epson FX-1050 Emulation with Control Codes Select Print Quality ASCII Code ESC x n Hex Code 1B 78 n Dec Code 27 120 n Purpose Selects print quality. Comment This command is ignored on thermal printers. Select/Deselect Proportional Spacing ASCII Code ESC p n Hex Code 1B 70 n...
  • Page 195: Select User-Defined Font

    1B 25 n 27 37 n Dec Code Purpose Selects a user-defined font. †Comment The printer ignores this command and removes all font data sent from the data stream. Select Vertical Tab Channel ASCII Code ESC / c Hex Code...
  • Page 196: Set Bit 7 Of Incoming Data Bytes To 1

    Chapter Configuring the Epson FX-1050 Emulation with Control Codes Set Bit 7 of Incoming Data Bytes to 1 ASCII Code ESC > Hex Code 1B 3E Dec Code 27 62 Purpose Sets the most significant bit (MSB) of all incoming data to 1. Comment The MSB is bit number 7.
  • Page 197: Set Margin, Right

    Set Margin, Right ASCII Code ESC Q n Hex Code 1B 51 n 27 81 n Dec Code where: n = number of columns from the left edge of the physical page to the end of the print line; n = 1 through 232 (hex 00 through hex E8) Sets the right margin to n columns at the current character width.
  • Page 198: Set Forms Length In Inches

    Chapter Configuring the Epson FX-1050 Emulation with Control Codes Set Forms Length in Inches ASCII Code ESC C NUL n Hex Code 1B 43 00 n Dec Code 27 67 0 n Sets the form length to n inches. Purpose n = 1 through 24 (hex 01 through hex 18) to specify the number where: of inches on a form.
  • Page 199: Set Vertical Tabs In Channels

    Set Vertical Tabs in Channels ASCII Code ESC b c n1 n2 n3 ... nk NUL Hex Code 1B 62 c n1 n2 n3 .. . nk 00 27 98 c n1 n2 n3 ... nk 0 Dec Code Purpose Assigns vertical tabs to channels selected by ESC / (see page 195).
  • Page 200: Skip Over Perforation, Cancel

    Comment Super-set commands affect the ASCII Emulation as a whole regardless of the printer protocol currently active. The commands are sent from the host in the data stream to the printer, and provide the following capabilities: See Chapter 7, “Super-Set Programming,” for further information on the Super-Set commands.
  • Page 201: Superscript And Subscript Printing

    Emphasized print is ignored in the superscript/subscript print mode. You can print both superscript and subscript characters in the...
  • Page 202: Underline

    1B 3C Dec Code 27 60 Purpose Causes printing to occur from left to right for one line only. †Comment The printer ignores this command. Unidirectional Printing, Set/Reset ASCII Code ESC U n 1B 55 n Hex Code 27 85 n...
  • Page 203: Vertical Tab, Execute

    Vertical Tab, Execute ASCII Code VT Hex Code Dec Code Purpose Advances the logical print head to the next vertical tab position selected by ESC /. Comment If no vertical channel was selected, channel 0 is used. If no vertical tabs were set, the paper advances one line. The logical print head moves to the left margin.
  • Page 204 Chapter Configuring the Epson FX-1050 Emulation with Control Codes...
  • Page 205: Super-Set Programming

    Introduction This chapter describes the super-set commands. Super-set commands affect each of the protocols included in the ASCII Emulation regardless of the printer protocol currently active, except for the P-Series XQ Variant emulation. The commands are sent through the host in the input data stream, and enact the features described in the following subsections.
  • Page 206: Character Set Selection

    Chapter The Super-Set Commands Character Set Selection ASCII Code SSCC R n Hex Code SSCC 52 n Dec Code SSCC 82 n Purpose Selects one of several character sets. Table 45. Epson FX Character Sets Character Set IBM Code Page 437 Epson OCR-A OCR-B...
  • Page 207 Table 46. P-Series and Serial Matrix Character Sets Character Set IBM Code Page 437 Multinational EMCA Latin 1 DEC Multinational CP 858 EURO OCR-A OCR-B ASMO 449 ASMO 449+ ASMO 708 ASMO 708+ MS DOS CP 710 MS DOS CP 720 Sakr CP 714 Aptec CP 715 CP 786...
  • Page 208 Chapter The Super-Set Commands Table 47. Proprinter XL Character Sets Character Set Code Page 437 Code Page 850 OCR-A OCR-B Multinational CP 858 EURO ASMO 449 ASMO 449+ ASMO 708 ASMO 708+ MS DOS CP710 MS DOS CP720 Sakr CP714 Aptec CP715 CP 786 IBM 864...
  • Page 209: Character Set Selection (Utf8) – T5000R Only

    Character Set Selection (UTF8) – T5000r Only ASCII Code SSCC R C Hex Code SSCC 52 C Dec Code SSCC 82 C Purpose Selects the UTF-8 character set. C = UTF Example SSCC R UTF Character Spacing n /240 Inch ASCII Code SSCC I n (uppercase “i”) Hex Code SSCC 49 n...
  • Page 210 Parameter n3 selects a 1-digit slant flag. (Slant is similar to italic, but also offers a backward slant.) n3 = Parameter n4 selects a 3-digit symbol set: Printer Protocol Proprinter XL P-Series Epson Parameter n5 selects a 4-digit point size (1/4 point resolution).
  • Page 211: Font Size

    = 0 (disable slant) 1 (right slant) 2 (left slant) Parameter n4 selects a 3-digit symbol set: Table 49. n4 Value (Symbol Sets) Printer Protocol Proprinter XL P-Series Epson Parameter n5 selects a 4-digit character width, in 1/480-inch units.
  • Page 212: Truetype Font Selection

    Chapter The Super-Set Commands TrueType Font Selection ASCII Code SSCC ( fontname.extension ; Hex Code SSCC 28 fontname 2E extension 3B Dec Code SSCC 40 fontname 46 extension 59 Purpose Selects a TrueType font. fontname extension Form Length and Width The following command sets the form length: ASCII Code SSCC K L [i n ] [m n ] [l n ] .
  • Page 213: Host Form Size

    Enable. The specified host form length does not affect the setting of the Page Length value in the PRINTER CONTROL menu on the front panel. For more information on setting the Page Length from the printer’s front panel, see your User’s Manual . Meaning...
  • Page 214: Horizontal Movements In Printer Resolution

    Chapter The Super-Set Commands Horizontal Movements in Printer Resolution These commands move the current position horizontally in printer resolution dots. ASCII Code SSCC Y n Hex Code SSCC 59 n SSCC 89 n Dec Code Purpose Define the relative horizontal movement from the current position.
  • Page 215: Page Orientation Select

    Page Orientation Select ASCII Code SSCC O n (alpha O) Hex Code SSCC 4F n SSCC 79 n Dec Code Purpose Set (change) page orientation. Comment The emulation can print in four different clockwise orientations: Portrait (0°), Inverse Landscape (90°), Inverse Portrait (180°), and Landscape (270°).
  • Page 216 Chapter The Super-Set Commands Portrait Portrait refers to vertical page orientation, where the height of a page is greater than its width. The top edge of the image is parallel to the leading edge of the paper. Figure 1 is an example of portrait orientation: Landscape Landscape refers to horizontal orientation, where the width of the page is greater than its height.
  • Page 217: Print Engine Options

    The following commands enable the user to select print engine options through host software command. NOTE: Not all options may be available with your printer. Consult the User's Manual for your printer to determine which options are available. If an option is not available, the emulation ignores the corresponding command.
  • Page 218: Image Width

    Value (ASCII) Table 53. Error Recover Meaning If an error occurs while printing a page, the printer makes an attempt to reprint that page. No attempt is made to reprint a page in the event of an error. No “–” will shift the image right.
  • Page 219: Media Handling

    Hex Code SSCC 58 n Dec Code SSCC 88 n Moves a linefeed of n /(printer resolution). n must be in the range Purpose of 001 through 999. This command does not affect the current LPI setting. The movement is a linefeed of n /the native printer resolution, which is not part of the command.
  • Page 220 Off Line ASCII Code SSCC U Hex Code SSCC 55 Dec Code SSCC 85 Purpose Takes the printer off line. Paper Cut ASCII Code SSCC t n Hex Code SSCC 74 n Dec Code SSCC 116 n n Value (ASCII) Paper Feed Shift ASCII Code SSCC E [–] n...
  • Page 221: Paper Length

    Paper Length ASCII Code SSCC p n1 ; n2 Hex Code SSCC 70 n1 3B n2 Dec Code SSCC 112 n1 59 n2 where: n2 = paper length (four ASCII digits) Table 57. Paper Length n1 Value (ASCII) Plot Attributes ASCII Code SSCC V n ;...
  • Page 222: Print Count

    Chapter The Super-Set Commands Power Saver Time ASCII Code SSCC y n SSCC 79 n Hex Code SSCC 121 n Dec Code Purpose Sets the power saver time in seconds. Refer to Table 58 for valid values. Print Count ASCII Code SSCC o n SSCC 6F n Hex Code SSCC 111 n...
  • Page 223: Print Mode

    Reboot ASCII Code SSCC Q Hex Code SSCC 51 Dec Code SSCC 81 Purpose Reboots the printer. Slew Speed ASCII Code SSCC N n Hex Code SSCC 4E n Dec Code SSCC 78 n where: n = slew speed in inches per second, ranging from 01 through 99.
  • Page 224 Purpose When using tear-off strip media handling, this option sets the time in seconds with the buffer empty that the printer waits before it advances media to the tear off position. where: n = time in seconds, range from 01 through 60. If the Vertical Image Shift ASCII Code SSCC v [–] n...
  • Page 225: Printer Protocol Select

    = 04 or 34 Epson FX *If P-Series XQ is selected, then you cannot use this command to exit the protocol. NOTE: The printer protocol may also be selected from the control panel. Software Page Eject ASCII Code SSCC J Hex Code...
  • Page 226: Bar Codes

    Chapter Bar Codes Bar Codes A bar code is a graphic representation of alphanumeric characters. The ASCII Emulation bar codes are listed below, with detailed bar code information and examples provided on the referenced pages. All parameters must be separated by a semicolon (;) unless noted otherwise. Throughout this chapter, actual commands required for input are shown exactly as they must be entered, while all parameters associated with that command are shown in italics.
  • Page 227: Bar Code Format

    The command syntax prevents positioning the cursor above the current position or to the left of the form. Drawing a bar code causes the printer to automatically switch to print mode. The LG print mode is active until the bottom of the bar code has been printed.
  • Page 228 Chapter Bar Codes NOTE: For all of the following parameters, the digits are ASCII values. where: where: Table 62. Bar Code Type Codes Selects Bar Code ASCII Australian 4-State Codabar Code 39 Code 93 Code 128 EAN 8 EAN 13 German I-2/5 Interleaved 2/5 Maxicode...
  • Page 229 NOTE: The following parameters are optional: where: N = activates the offset where: n = the x and y coordinate unit system. Table 63. x and y Coordinate Unit System n (ASCII) use current cpi and lpi values use 1/4 inch value use 1/2 centimeter value: 1/(2.54 x 2) use 1 millimeter value: 1/(25.4) use Letter Gothic (LG) dot value (hor.
  • Page 230 Chapter Bar Codes where: Comment The x and y values are added to the current cursor position. You cannot specify the upper left corner to be above the current print position. If xxxx = 0000 and yyyy = 0000 and there are no line feeds, any text following the bar code command prints next to the bar code.
  • Page 231 To place the text below the bar code, you must insert line feed commands. See Figure 5. Original Cursor Position Line Feeds TEXT Figure 5. Bar Code Example 3...
  • Page 232: Australian 4-State

    Chapter Bar Codes Australian 4-State The Australian 4-State structure is shown in Figure 6 and described below. START SR, SC POSITION Normal SR, SC The Australian 4-State bar code supports the Australian Postal Service. Australian 4-State bar codes are similar to POSTNET in terms of bar space and width, but have four different types of bars (Full Height, Ascender, Descender, and Tracker), whereas POSTNET only has two bar types (Tall and Short).
  • Page 233 Data Field Australian 4-State bar codes use four types of bars to encode its data: Full Height, Ascender, Descender, and Tracker. Each Full Height bar is 0.198 inch ± 0.030 inch. The Ascender and Descender bars are about 62.5% of the Full Height bar in length, while the Tracker bar is about 25% of the Full Height bar.
  • Page 234: Codabar

    Chapter Bar Codes FCCn & customer information (INFOn) comprises of the first three digits of the data field as shown in the following example. Note that the length of the data field is FCCn (two digits) + INFOn (one digit) + data. i.e. data + 3. ESC|};...
  • Page 235 Data Field The bar code symbol uses a series of wide and narrow bars and spaces to represent standard alphanumeric characters. Each wide or narrow bar or space is one element; each character in the data field has nine elements. The structure is three wide elements (bars or spaces) out of the nine total elements which compose one character.
  • Page 236: Quiet Zone

    Chapter Bar Codes Code 39 The Code 39 structure is shown in Figure 14 and described below. POSITION Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 237 Check Digit The optional modulo-43 check digit can be inserted into the bar code to verify accurate scanning. Table 67. Code 39 Character Set ASCII CODE 39 ASCII " & — < > NOTE: Character pairs /M, /N, and /P through /Y are reserved for future control character pairs.
  • Page 238 Chapter Bar Codes Code 93 The Code 93 bar code structure is shown in Figure 9 and described below. SR, SC POSITION QUIET ZONE Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 239 Table 68. Code 93 Character Set Character Character SPACE Start Stop...
  • Page 240: Code 128

    Chapter Bar Codes Code 128 The Code 128 structure is shown in Figure 10 and described below. SR, SC POSITION QUIET ZONE Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 241 SO (Shift Out, hex 0E). The SO control code identifies the next character as the control function character, and must be inserted before each alternate character required. The SO character is selectable from the printer's front panel (refer to your User’s Manual ).
  • Page 242 Chapter Bar Codes Table 69. Code 128A Character Set Character Hex Character Hex " & Character Hex Character < > FNC 3 FNC 2 SHIFT CODE C FUNC 4 CODE B FNC 1 START A STOP See NOTE See NOTE See NOTE See NOTE See NOTE...
  • Page 243 Table 70. Code 128B Charcter Set Character Hex Character Hex " < > & Character Hex Character FNC 3 See NOTE FNC 2 See NOTE SHIFT See NOTE CODE C See NOTE FUNC 4 See NOTE CODE A See NOTE FNC 1 See NOTE START B...
  • Page 244 Chapter Bar Codes Table 71. Code 128C Charcter Set Character Character 30 30 30 31 30 32 30 33 30 34 30 35 30 36 30 37 30 38 30 39 31 30 31 31 31 32 31 33 31 34 31 35 31 36 31 37...
  • Page 245 EAN 8 The EAN 8 bar code structure is shown in Figure 11 and described below. SR, SC CENTER CODE START CODE POSITION QUIET LEFT DATA FIELD ZONE OPTIONAL READABLE Figure 11. EAN 8 Structure Quiet Zone Both ends of the bar code structure have blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 246 Chapter Bar Codes EAN 13 The EAN 13 bar code structure is shown in Figure 12 and described below. SR, SC POSITION QUIET ZONE NUMBER SYSTEM CHARACTER Quiet Zone Quiet zones extend on both ends of the bar code to permit the code to permit the scan to begin and end in a blank area.
  • Page 247 Check Digit The modulo-10 check digit is automatically calculated and inserted in the bar code symbol. The check digit verifies accurate scanning. The number system character is included in the check digit algorithm. The FIM (Facing Identification Mark) bar code structure is shown in Figure 13 and described on the following pages.
  • Page 248 Chapter Bar Codes Start/Stop Code The start/stop code is a unique character identifying the leading and trailing end of the bar code. The start/stop code is automatically produced with each bar code. The start/stop code structure permits bidirectional bar code scanning.
  • Page 249: Interleaved 2/5 (I-2/5) And German I-2/5

    Interleaved 2/5 (I-2/5) and German I-2/5 The Interleaved 2/5 and German I-2/5 bar code structure is shown in Figure 15 and described below. SR, SC POSITION UPPER GUARD BAND QUIET START DATA FIELD ZONE CODE LOWER GUARD BAND OPTIONAL READABLE DATA FIELD Figure 15.
  • Page 250: Maxicode

    Chapter Bar Codes Maxicode The Maxicode bar code structure is shown in Figure 16 and described below. The Maxicode bar code is a fixed size matrix symbology made up of an offset of rows of hexagonal elements arranged around a unique finder pattern. Maxicode is suitable for high speed scanning applications, and is capable of encoding all of the 256 ASCII characters.
  • Page 251 UPS Shipping Data Field This syntax begins with seven encoded data characters followed by a date (yy). The first four characters are the Message Header and the next five are the Transportation Data Format Header. The format of the Message Header is : “[)>Rs”.
  • Page 252 Chapter Bar Codes The MSI bar code structure is shown in Figure 17 and described below. SR, SC POSITION QUIET ZONE Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25-inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 253 PDF 417 The PDF417 structure is shown in Figure 18 and described below. SR, SC UPPER GUARD BAND POSITION QUIET START ZONE CODE Figure 18. PDF417 Structure Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 254: Postbar And Royal Mail

    Chapter Bar Codes Security Level PDF417 can detect and correct errors. Each label has 2 code words of error detection. You can select the error correction capacity based on application needs. Specify a security level in the range of 0 - 8, at the time of printing. PDF417 can also recover from omissions and misdecodes of code words.
  • Page 255: Postnet

    Check Digit For PostBar, you are responsible for encoding and check digit. For Royal Mail, a modulo-6 check digit is inserted at the end of the data field. POSTNET The POSTNET bar code structure is illustrated in Figure 19 and described on the following pages.
  • Page 256: Telepen

    Chapter Bar Codes Quiet Zone The bar code structure requires a completely blank quiet zone which extends 4.75 inches from the right edge of the mail piece. In addition, a minimum quiet zone of 0.040-inch above and below the bar code data must also be provided. You must provide sufficient space for this zone.
  • Page 257 Telepen Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 258: Ucc/Ean-128

    Chapter Bar Codes UCC/EAN-128 The UCC/EAN-128 bar code structure is shown in Figure 21 and described below. SR, SC POSITION QUIET ZONE UCC/EAN-128 uses the same bar code and character set as Code 128. However, in UCC/EAN-128, the Function 1 character FNC1 immediately follows the start code.
  • Page 259 Table 74. UCC/EAN-128 Application Identifiers Application Identifier (AI) Serial Shipping Container Code Shipping Container Code Item Num. of Goods Within Another Unit Batch or Lot Number 11 (*) Production Date (YYMMDD) 13 (*) Packaging Date (YYMMDD) 15 (*) Sell By Date (Quality) (YYMMDD) 17 (*) Expiration Date (Safety) (YYMMDD) Product Variant...
  • Page 260 Chapter Bar Codes Table 74. UCC/EAN-128 Application Identifiers (continued) Application Identifier (AI) 337 (***) Kilograms Per Square Meter 340 (***) Gross Weight, Pounds 341 (***) Length Or 1st Dimension, Inches, Logistics 342 (***) Length Or 1st Dimension, Feet, Logistics 343 (***) Length Or 1st Dimension, Yards, Logistics 344 (***) Width, Diameter, or 2nd Dimension, Inches, Logistics...
  • Page 261 Table 74. UCC/EAN-128 Application Identifiers (continued) Application Identifier (AI) 8003 UPC/EAN Number and Serial Number Or Returnable Asset 8004 UCC/EAN Serial Identification 8005 Identifies the Price Per Unit of Measure 8006 Component of an Article 8018 Service Relation Number 8100 Coupon Extended Code-Number System Character and Offer 8101 Coupon Extended Code-Number System Character, Offer and End of...
  • Page 262 Chapter Bar Codes Quiet Zone Both ends of the bar code structure require blank quiet zones. The quiet zones must be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 263: Upc-A

    Modulo-103 Check Digit A modulo-103 check digit is automatically calculated and inserted in the bar code symbol immediately in front of the stop code, in the same manner as the Code 128 bar code. The check digit verifies accurate scanning. The start code is included in the check digit algorithm.
  • Page 264 Chapter Bar Codes Start/Center/Stop Codes The start/center/stop codes are special character codes marking those portions of the bar code. These codes are automatically provided. Number System Character The number system character field allows you to provide a code to a class or type of item.
  • Page 265: Upc-E

    UPC-E The UPC-E bar code structure is shown in Figure 23 and described below. START SR, SC CODE POSITION QUIET ZONE HEIGHT NUMBER NUMBER SYSTEM SYSTEM CHARACTER FIELD CHARACTER Figure 23. UPC-E Structure Quiet Zone Quiet zones extend on both ends of the bar code to permit the scan to begin and end in a blank area.
  • Page 266 Chapter Bar Codes Check Digit The modulo-10 check digit is automatically calculated and inserted in the bar code symbol. The check digit verifies accurate scanning. The number system character is included in the check digit algorithm. Table 75. Eleven-Digit Compression 1.
  • Page 267 Table 76. Six-Digit Zero Expansion If the 6 digit number ends with: (1) 0 Example: 124560 (2) 1 Example: 275831 (3) 2 Example: 412022 (4) 3 Example: 876543 (5) 4 Example: 753774 (6) 5, 6, 7, 8, 9 Examples: 213756 517019 and the Product Number then the MFPS Number is:...
  • Page 268: Upc Shipping

    Chapter Bar Codes UPC Shipping The UPCSHIP bar code structure is shown in Figure 24 and described below. SR, SC POSITION QUIET ZONE Quiet Zone Both ends of the bar code structure have blank quiet zones. The quiet zones should be at least 0.25 inches wide and completely blank to ensure accurate reading of the start/stop codes and to prevent adjacent bar codes from overlapping.
  • Page 269 UPS 11 The UPS 11 structure is shown in Figure 25 and described below. SR, SC POSITION UPPER GUARD BAND QUIET START DATA FIELD ZONE CODE LOWER GUARD BAND OPTIONAL READABLE DATA FIELD Figure 25. UPS 11 Structure Quiet Zone Both ends of the bar code structure require blank quiet zones.
  • Page 270 Chapter Bar Codes...
  • Page 271: Graphics

    Graphics Introduction The ASCII Emulation is capable of standard Odd/Even Dot Plotting for normal and high density graphics as well as Bit Image graphics with single density, double density, and quad density modes. Odd/Even dot plotting is available for graphics when the selected protocol is P-Series or P-Series XQ; Bit Image graphics is used when the selected protocol is Serial Matrix, Proprinter XL, or Epson FX.
  • Page 272: Bit Image Graphics

    Chapter Bit Image Graphics Bit Image Graphics Bit Image Graphics mode is selected when the emulation is in Serial Matrix, Proprinter XL, or Epson FX emulation mode. Bit Image Graphics are created by printing a series of vertical bit image data bytes, which represent the binary code bit pattern.
  • Page 273: Plotting A Bit Image Pattern

    BINARY ASCII DECIMAL CODE CHARACTER VALUE EQUIVALENT Figure 28. Vertical Data Byte Pattern The byte in the previous example (or any other byte) can be identified by its binary, octal, hexadecimal, or decimal equivalent and subsequently can be used to generate a Bit Image pattern. A table of the standard ASCII character set and equivalences is included in Appendix A.
  • Page 274 Chapter Bit Image Graphics Decimal Weights A bit image pattern is easily defined by determining the decimal equivalent of the binary data byte. This decimal value may then be included in a program data statement that generates the final Bit Image pattern. To determine the decimal value of a data byte, the decimal weights for each dot are added together.
  • Page 275: Bit Image Density

    For details concerning available modes, see Chapter 4, “Serial Matrix Printer Protocol,” Chapter 5, “IBM Proprinter III XL Printer Protocol,” or Chapter 6, “Epson FX-1050 Printer Protocol.” In Single Density Bit Image graphics from the Letter Gothic (DP) print mode, printed dot density is 60 dots per inch (dpi) horizontally and 72 dpi vertically.
  • Page 276: Bit Image Programming Format

    Chapter Bit Image Graphics Bit Image Programming Format The syntax of the Bit Image expression must include the appropriate dot density control code, the exact number of data bytes to be plotted, and the data themselves. The general Bit Image expression is as follows: ESC CC ( n1 ) ( n2 ) ( DATA ) where: n1 , n2...
  • Page 277 The number of data bytes and the n1 , n2 definition must be equal. If too few data bytes are sent, printing does not begin until sufficient data is received. Any characters following n1 and n2 are interpreted (and plotted) as data until the n1 , n2 definition is satisfied.
  • Page 278: P-Series Compatible Plot Mode (Odd/Even Dot Plotting)

    A printable symbol is defined as any character or command that might cause the head of a serial printer to move away from character column one. Plot Density Plot density refers to the number of dots per inch (dpi) printed in a single dot row.
  • Page 279: Plot Data Byte Format

    High density plotting is selected with the even dot plot control code EOT (hex 04) in conjunction with the odd dot plot control code ENQ (hex 05). The odd and even numbered dot columns are addressed to double the horizontal density.
  • Page 280: Plot Data Line Format

    Chapter P-Series Compatible Plot Mode (Odd/Even Dot Plotting) BIT 1 NOTE: BIT 6 AND/OR NOTE: BIT 6 BIT 7 MUST BE “1” AND/OR BIT 7 FOR PLOT MODE MUST BE 1" FOR PLOT MODE DOT COLUMN #12 OF PREVIOUS CHARACTER COLUMN 1 1 1 BIT 1...
  • Page 281 Normal Density Plot For normal density plot, the plot line contains: Control Code hex 05, plot data bytes, and a Line Terminator (hex 0A or hex 0C). The control sequence for sending the P-Series Normal Density Plot is: 1. Send the plot command code ENQ (hex 05). 2.
  • Page 282: Plotting The Data

    Chapter P-Series Compatible Plot Mode (Odd/Even Dot Plotting) Plotting the Data P-Series Plot Mode plots the image from the horizontal bit pattern. Figure 34 duplicates the pattern shown in Figure 29 but is modified for Odd Dot Plot. Eight dot rows are required, two characters per row, six columns per character.
  • Page 283: To Exit The P-Series Plot Mode

    To Exit the P-Series Plot Mode When returning to the print mode from the P-Series Plot Mode, an extra line feed should be included in the data stream to maintain proper print line registration relative to the last line of plot graphics. If the extra line feed is not included, the first character line after the graphics data may be truncated, as shown in Figure 36.
  • Page 284 Chapter Combining Graphics and Text...
  • Page 285: Vertical Page Formatting

    1. Design a form, determining spacing and channel assignments for each line. 2. Send the programming sequence to the printer. The sequence depends on the type of VFU used. Some VFUs require the PI signal line normally associated with the Dataproducts parallel interface.
  • Page 286: Vfu Load/Save/Clear

    Line Spacing – The printer can use any line spacing with the VFU. The VFU determines the forms length according to the program specifications and the currently selected line spacing.
  • Page 287: P-Series Evfu

    Start Load Code-Hex 1E or 6E P-Series EVFU The EVFU may be selected in the P-Series and P-Series XQ protocols. The EVFU provides 14 or 16 channels to identify up to 192 lines depending on the paper instruction. The programming sequence is: 1.
  • Page 288: End Load Code-Hex 1F Or 6F

    Using the EVFU Once the EVFU program has been enabled and loaded, sending the appropriate channel code to the printer causes any data in the buffer to print and positions the paper to the next line on the form having the specified channel number assigned in EVFU memory.
  • Page 289 Table 78. P-Series EVFU Codes - PI Line Enabled ASCII Dec. Code (X = Undefined, 0, or 1) (1 = High) (0 = Low) Data Bits Channel 1 (TOF) 12 (VT) Start Load End Load...
  • Page 290: Clearing The Evfu Memory

    Chapter P-Series EVFU Table 79. P-Series EVFU Codes - PI Line Disabled or Not Used ASCII Dec. Code (X = Undefined, 0, or 1) (1 = High) (0 = Low) Clearing the EVFU Memory The following actions reset (clear) the EVFU memory: •...
  • Page 291: Relative Line Slewing

    Relative Line Slewing Another method of moving paper using the PI signal line results in vertical slews of a specified number of lines within the form relative to the current print line (rather than slewing to a specific line). For this to occur, three criteria must be met: •...
  • Page 292: Serial Matrix Vfu

    Serial mode VFU: ESC B for single channel tab setting, and VT to execute a vertical tab. These codes and the parameters surrounding their use are described in Chapter 4, “Serial Matrix Printer Protocol,” in Chapter 5, “IBM Proprinter III XL Printer Protocol,” and in Chapter 6, “Epson FX-1050 Printer Protocol.”...
  • Page 293: Executing Vertical Tabs

    Executing Vertical Tabs The vertical tab execute code is VT. When sent, it prints the contents of the print buffer (if data is in the buffer) and causes paper position movement to the next predefined vertical tab position. If a tab position is not defined, the paper position is moved to the next line at the current line spacing.
  • Page 294 Chapter Serial Matrix VFU...
  • Page 295 Standard ASCII Character BITS COLUMN (XON) 0 0 1 0 0 0 1 1 (XOFF) 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0...
  • Page 296: A Standard Ascii Character Set

    Appendix A Standard ASCII Character Set...
  • Page 297: B Ptr_Setup Option

    Overview The PTR_SETUP commands are a superset of commands which allows the printer to perform several tasks by parsing commands either stored in flash or sent to the printer by the host. Commands range from re-routing debug statements to downloading complete printer configurations.
  • Page 298: Commands

    Appendix B The PTR_SETUP Commands Commands Each emulation has modes in which the PTR_SETUP commands could get missed. For this reason, it is highly recommended that all PTR_SETUP commands be placed between print jobs, rather than attempting to imbed them within jobs. PTR_SETUP commands have the following format: (SFCC)PTR_SETUP Command –...
  • Page 299 Port . Port must either be 1284 or SERIAL. Cfg may be 1-8 or ALL. This command saves the configuration data that follows as configuration Cfg. Cfg must be 1-8 or END. Reboots the printer.
  • Page 300 Filename The DEL command will mark a file as deleted. The space the file occupied will be freed the next time the printer is powered up. File;Prop The RUNFILE command will open the file named File for printing. After the PTR_END command is...
  • Page 301 1000 = 1”). This width should be set prior to the wide width . In addition, it can never exceed the physical width of the printer. If it does, the narrow width will be automatically reduced to the Page Width value set in the configuration menu.
  • Page 302 If the operator intends to use one of the DOWNLOADed configurations, the operator should reboot the printer to ensure proper operation. This can be accomplished by adding the RESET command as the last command in your setup file.
  • Page 303 1 Kbyte blocks. If at any time during the file download the printer runs out of RAM, a warning will be displayed on the front panel and as much of the file as possible will be saved in flash. To download larger files you may need to add additional RAM to the printer.
  • Page 304 Appendix B The PTR_SETUP Commands...
  • Page 305: C Character Library

    Character Sets feature allows you to download a character set overlay which can be placed within the 224 printable symbol code points. The character library on the following pages identifies each character's location in printer memory by its decimal address value.
  • Page 306 Appendix C Address Table in Decimal 0 1 2...
  • Page 307 Address Table in Decimal...
  • Page 308 Appendix C Address Table in Decimal...
  • Page 309 Address Table in Decimal...
  • Page 310 Appendix C...
  • Page 311: D P-Series Plot Byte Definition

    P-Series Plot Byte Definition A dot is printed at the location addressed by each of bits 1 through 6 in the data byte that is set (1 or True). Consequently, the binary equivalent of the plot data bytes must be known in order for specific dot positions to be addressed accurately.
  • Page 312 Appendix D P-Series Plot Byte Definition Table 82. Plot Data Byte Dot Patterns...
  • Page 313: E Glossary

    A typeface with a heavy line thickness produced by a double strike print method. See also character weight. Compare with shadow printing. Buffer A reserved area in printer memory that data is written to and read from during data transfers.
  • Page 314 Character Location Character set Character weight Code Point Command sequence Two or more bytes that instruct the printer to perform a Compressed A graphical representation of data. The invisible rectangular space occupied by a character, including the white space around the character.
  • Page 315 Pertains to the detection and isolation of printer malfunctions or mistakes. Disable To deactivate or set to OFF. Emulation Refers to the ability of a printer to execute the commands of another printer language or protocol. Enable To activate or set to ON. Escape sequence Two or more bytes that describe a specific printer control function.
  • Page 316 The shape of a character in a print mode and pitch. The host computer stores, processes, and sends data to be printed, and which communicates directly with the printer. The term host indicates the controlling computer, since modern printers are themselves microprocessor-controlled computer systems.
  • Page 317 Memory See RAM. Nonvolatile memory Nonvolatile memory stores variables that must be preserved when the printer is turned off, such as configuration parameters and printer usage statistics. Nonvolatile memory is preserved because RAM is housed on the controller board, which contains an independent, battery-operated power supply.
  • Page 318 Parsing is the process of separating a programming statement into basic units that can be translated into machine instructions. A printer can recover from an erroneous code sequence by performing as much of the function as possible or, parsing the valid parameter from the invalid.
  • Page 319 Defines the number of characters that can be printed in one inch. It can be translated into the width of the character. Printer Configuration The operating properties that define how the printer responds to signals and commands received from the host computer. These properties are set to match the operating characteristics of the host computer system.
  • Page 320 To turn on, activate, invoke, or enable. Special Function Control Character. The first character in a printer command sequence. In P-Series emulation mode, you can select one of five characters as the SFCC. In the Serial Matrix or Proprinter protocols, the SFCC must always be the ASCII ESC character.
  • Page 321 See character weight. Weight Write To store data to memory or mass storage (hard disk, floppy diskette, RAM, etc.).
  • Page 322 Appendix E Glossary...
  • Page 323: Printronix Customer Support Center

    Americas Europe, Middle East, and Africa Asia Pacific http://www.printronix.com/support.aspx Printronix Supplies Department Contact the Printronix Supplies Department for genuine Printronix supplies. Americas Europe, Middle East, and Africa Asia Pacific http://www.printronix.com/supplies-parts.aspx (714) 368-2686 (31) 24 6489 311...
  • Page 324: Corporate Offices

    NL-6600 Ad Wijchen The Netherlands Phone: (31) 24 6489489 Fax: (31) 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Changi South Industrial Estate Singapore 486763 Phone: (65) 6542 0110 Fax: (65) 6546 1588 Visit the Printronix web site at www.printronix.com...
  • Page 325 Alternate character set deselect, P-Series XQ Emulation, 66 Alternate character set select, P-Series XQ Emulation, 67 Application identifiers, UCC/EAN-128, 259 ASCII Character Set, 295 Attribute Set Codes IBM Proprinter III XL Emulation, 120 Serial Matrix Emulation, 80 Attribute set, P-Series Emulation, 26 Australian 4-State, Bar Code, 232 Backspace Epson FX-1050 Emulation, 164...
  • Page 326 Condensed Print Reset Epson FX-1050 Emulation, 169 IBM Proprinter III XL Emulation, 130 Serial Matrix Emulation, 94 CONFIG command summary, PTR_Setup, 302 Configuration, printer, 19 Contact information, 323 Control Code Descriptions Epson FX-1050 Emulation, 158 P-Series Emulation, 24 P-Series XQ Emulation, 64...
  • Page 327 Emulation, 169 Delete P-Series XQ Emulation, 69 Serial Matrix Emulation, 94 Delete Character, Epson FX-1050 Emulation, 169 Deselect Printer, IBM Proprinter III XL Emulation, 131 Differences, Epson FX-1050 Emulation, 156 Double High Print (Set/Reset) Epson FX-1050 Emulation, 170 P-Series, 40...
  • Page 328 Half speed mode on/off, 180 Hex 80-9F control codes, 187 Hex 80-9F printable, 187 Horizontal tab execute, 181 Horizontal tab set/release, 181 Initialize printer, 182 International languages, 166 Italic character set, 193 Italic printing, 182 Italic printing cancel, 182 Line feed, 183...
  • Page 329 Vertical tab set/clear, 203 Vertical tabs in channels, 199 9-Pin graphics mode, 193 Error Recover, Print engine options, 218 Escape Control Code Header IBM Proprinter III XL Emulation, 120 Serial Matrix Emulation, 80 Escape Sequences, Epson FX-1050 Emulation, 158 Even Dot Plot P-Series Emulation, 53 P-Series XQ Emulation, 72 Exceptions, Epson FX-1050 Emulation, 156...
  • Page 330 Hex 80-9F Control Codes, Epson FX-1050 Emulation, 187 Hex 80-9F Printable, Epson FX-1050 Emulation, 187 Horizontal Image Shift, Print engine options, 218 Horizontal movements in printer resolution, Super- Set Programming, 214 Horizontal Tab IBM Proprinter III XL Emulation, 135 Serial Matrix Emulation, 102...
  • Page 331 Image Width, Print engine options, 218 Initialize Parameters, IBM Proprinter III XL Emulation, 137 Initialize Printer, Epson FX-1050 Emulation, 182 Interleaved 2/5 and German I-2/5, Bar Code, 249 International Languages Epson FX-1050 Emulation, 166 P-Series Emulation, 35 Serial Matrix Emulation, 92...
  • Page 332 Print Mode/Pitch Selection P-Series Emulation, 54 Serial Matrix Emulation, 108 Print One Control Code, IBM Proprinter III XL Emulation, 145 Print Speed, Print engine options, 223 Printer Deselect Epson FX-1050 Emulation, 191 Serial Matrix Emulation, 112 Printer Protocol Select, Super-Set Programming, 225...
  • Page 333 Printer Select Epson FX-1050 Emulation, 191 Serial Matrix Emulation, 112 Printer, configuration, 19 Printing Hex Codes 00-1F and 80-9F, Epson FX- 1050 Emulation, 175 P-Series compatible plot mode, Graphics, 278 P-Series Emulation attribute set, 26 backspace, 28 Bell, 28 bold print, 29...
  • Page 334 Line feed, 71 Line spacing, 71 NUL code, 65 Odd dot plot, 73 Select letter gothic, 73 Space, 74 states, 62 Underline, 74 Vertical tab, 75 PTR_Setup Commands, 297 CONFIG command summary, 302 Operation of the FILE_IO command, 303 Overview, 297 Reassign Graphics Mode,...
  • Page 335 Line spacing 1/6 inch, 105 Line spacing 1/8 inch, 105 Line spacing 7/72 inch, 106 Overscoring, 108 overview, 77 Print mode/Pitch selection, 108 Printer deselect, 112 Printer select, 112 Reset Codes, 80 Skip over perforation, 112 Skip over perforation cancel, 113 States, 78...
  • Page 336 Horizontal movements in printer resolution, 214 Host form size, 213 Line spacing n/288 inch, 214 overview, 205 Page orientation selection, 215 PCX data, 214 Print engine options, 217 Printer protocol select, 225 Software page eject, 225 TrueType font selection, 212...
  • Page 338 *253107-001* 253107-001A...

This manual is also suitable for:

T5000 series

Table of Contents