Vertical Movements ............... 135 Table of Contents ..........ii Interface Control..............142 Commands............1 Operating System Control ............. 145 General Overview ............... 1 Paper Path Selection............. 152 Command Summary in Alphabetical Order ...... 2 User Defined Character Substitution ........154 EPSON Emulation Commands..........
Page 3
CWI..................188 Roman-8................. 189 IN2................... 190 ISO 8859-1 (USA/Western Europe)........191 ISO 8859-2 (Eastern Europe)..........192 ISO 8859-3 (Southern Europe) ..........193 ISO 8859-4 (Northern Europe)..........194 ISO 8859-5 (Cyrillic)............... 195 ISO 8859-6 (Arabic) ............... 196 ISO 8859-7 (Greek) ............... 197 ISO 8859-8 (Hebrew).............
This section provides information about the commands supported by the printer . The commands are organized by function groups. Each command has both a brief and a detailed description. This appendix provides information about the commands supported by the printer . The commands are organized by function groups.
End of transmission. Form Feed. Horizontal tab. Line Feed. Enables compressed printing. Selects double width printing. Space. Vertical tab. Embedded Sheet Feeder commands. Acknowledge. Sounds the buzzer. Backspace. Cancels data. Carriage return. Selects printer or XON. Cancels compressed printing. XOFF Cancels double-width printing.
Page 8
Automatic line feed. Selects character set 2. Selects character set 1. Stores text line spacing. Selects the Black (top/1st) color band. Vertical tabs. Selects the Cyan (2nd) color band. Sets page length (lines per page). Sets page length (inches per page). Relative move in-line forward.
Page 9
Line feed. Enables compressed printing. Selects double-width printing. Space character. Vertical tab.
Acknowledge. Bell. Back space. Carriage return. Selects printer (Data Control 1). Deselects printer (Data Control 3). Delete. Enquiry. Escape. Horizontal position relative (HPR). Sets mode (SM). Vertical position absolute (VPA). Select graphics mode/density (GENGRM). Resets mode (RM). Sets vertical tab stops at specified positions (Multiple Vertical Tab Set - GENVTS). Horizontal position absolute (HPA).
Page 11
Vertical tab setting. Prints test character (GENPTC). Partial line down. Partial line up. Reverse index. Enter dot graphics mode (Device Control String). Executes Selftest. Sets horizontal tab stops at specified positions multiple horizontal tab set (GENHTS). End of transmission. Form feed. Horizontal tab.
The following printer commands are supported by this printer according to the Epson LQ 1050 emulation. and result printed by the printer on. ESC C n Sets page length (lines per page). ASCII Code ESC C n Hexadecimal Value 1B 43 n Decimal Value 27 67 n Range...
Page 13
ESC C NUL n Sets page length (inches per page). ASCII Code ESC C NUL n Hexadecimal Value 1B 43 00 n Decimal Value 27 67 0 n Range 1 < n < 22 Sets the forms length to a size specified by the parameter n in inches. This command will reset the perforation skip value to zero (only if in the System Menu, the CLEAR MARGINS function, under OTHER OPTIONS, is selected OPT:CLR MRGN>Y value, please see the User’s Manual on the CD-Rom) and will set a new Top of Form at the current line...
Page 14
ESC N n Sets skip perforation. ASCII Code ESC N n Hexadecimal Value 1B 4E n Decimal Value 27 78 n Range 1 < n < 255 With continuous forms, this command allows setting a bottom margin region, normally used to avoid printing on the perforation.
ESC P Selects 10 CPI. ASCII Code ESC P Hexadecimal Value 1B 50 Decimal Value 27 80 Selects 10 CPI (pica) printing. If condensed mode is also active, then the pitch will change to 17.1 CPI. ESC M Selects 12 CPI. ASCII Code ESC M Hexadecimal Value...
Page 16
SI or ESC SI Enables compressed printing. ASCII Code SI or ESC SI Hexadecimal Value 1B 0F Decimal Value 27 15 This code will enable the compressed printing mode. Character printing will be changed to 17.16 cpi, 20 cpi, ignored or to condensed proportional spacing provided 10 cpi, 12 cpi, 15 cpi or proportional spacing is the currently selected cpi, respectively.
Page 17
ESC p n Selects proportional mode. ASCII Code ESC p n Hexadecimal Value 1B 70 n Decimal Value 27 112 n Range n= 00H, 01H If the value of n=01H, then proportional spacing mode or condensed proportional spacing mode is enabled if the current print mode is normal or condensed, respectively. Each character has a proportional space width according to the Epson emulation.
Page 18
ESC 0 Sets 1/8-inch line spacing. ASCII Code ESC 0 Hexadecimal Value 1B 30 Decimal Value 27 48 Sets the spacing between lines to 1/8 inch (8 LPI). ESC 1 Sets vertical spacing to 7/72 inch. ASCII Code ESC 1 Hexadecimal Value 1B 31 Decimal Value...
Page 19
ESC + n Sets n/360-inch line spacing. ASCII Code ESC + n Hexadecimal Value 1B 2B n Decimal Value 27 43 n Range 0 < n < 255 Sets line spacing in increments of n/360 inch according to the parameter n.
Cancels double width printing. ASCII Code Hexadecimal Value Decimal Value Range Cancels double width printing initiated by a SO code and returns to the previously selected print compression. SO or ESC SO Selects double width printing. ASCII Code SO or ESC SO Hexadecimal Value 0E or 1B 0E Decimal Value...
Page 21
ESC W n Selects or cancels double width printing. ASCII Code ESC W n Hexadecimal Value 1B 57 n Decimal Value 27 87 n Range n = 00H,01H This command will enable continuous double width printing for subsequent characters, If n is 01H, character printing will have each character elongated to twice its current width. If n is 00H then double width printing mode is canceled.
Page 22
character height and line feeds (see the chart in the following page) Character Width 0= current value 1= single wide 2= double wide Character Height Unch Single Double Line Feed Unch Single Double ESC w n Selects double-high mode. ASCII Code ESC w n Hexadecimal Value 1B 77 n...
Page 23
ESC E Selects emphasized printing. ASCII Code ESC E Hexadecimal Value 1B 45 Decimal Value 27 69 This command will cause subsequent character printing to be emphasized. Emphasized printing is defined as printing a dot twice with 1/360 inch horizontal spacing between dots.
Page 24
ESC H Cancels double strike printing. ASCII Code ESC H Hexadecimal Value 1B 48 Decimal Value 27 72 Cancels the double strike print mode started by ESC G. ESC S n Selects subscript or superscript printing. ASCII Code ESC S n Hexadecimal Value 1B 53 n Decimal Value...
Page 25
ESC 4 Selects italics print mode. ASCII Code ESC 4 Hexadecimal Value 1B 34 Decimal Value 27 52 Enables printing of text characters in italics mode. ESC 5 Cancels italics print mode. ASCII Code ESC 5 Hexadecimal Value 1B 35 Decimal Value 27 53 Cancels italic printing enabled by the ESC 4 command.
Page 26
ESC! N Selects print mode. ASCII Code ESC! N Hexadecimal Value 1B 21 n Decimal Value 27 33 n Range 0 < n < 255 This command is used to select any valid combination of the printing attributes. See the following table: PRINT ENHANCEMENT 10 CPI 12 CPI...
Page 27
ESC r n Selects a color ribbon band. ASCII Code ESC r n Hexadecimal Value 1B 72 n Decimal Value 27 144 n Selects the color ribbon band n for printing according to the following table. This requires that the order of colors in the color ribbons be predetermined. Therefore, the color order of the ribbons is as follows: PROCESS RIBBON Black...
Page 28
ESC a n Selects text alignment. ASCII Code ESC a n Hexadecimal Value 1B 61 n Decimal Value 27 97 n Causes text justification according to parameter n as follows: JUSTIFICATION Left flush (align text with left margin) (default) Centering (center text) Right flush (align text with right margin) Full justify (align text with left &...
ESC [ u n Activates/cancels barcode mode. ASCII Code ESC [ u n Hexadecimal Value 1B 5B 75 n Decimal Value 27 91 117 n Range 0 < n < 255 If n = odd value, activates Barcode mode. If n = even value, cancels Barcode mode. ESC [ v n m Sets barcode parameters.
Page 30
(Parameter Description) m (Parameter Limits) Value Barcode style See the table in the following page Barcode height 1 -120 (1/12" increments) Human Readable line 0=disable; 1=enable Narrow bar width 2-255 Wide bar width 2-255 Narrow space width 2-255 Wide space width 2-255 Intercharacter space width 2-255...
ESC [ T n Selects Code Page or ISO Code tables. ASCII Code ESC [ T n Hexadecimal Value 1B 5B 54 n Decimal Value 27 91 84 n Range 0 < n < 255 Selects code page and/or ISO code table. See the following table: Number of parameter bytes that follow (n *256)) must be 00H...
Page 33
Code page number = (m *256)) except for ISO table 21 81 Turkish 21 82 Greek 21 83 Kamenicky 21 84 21 85 Roman-8 21 86 21 87 Code page 864E 21 8F ISO 8859-1 WESTERN EUROPE 21 90 ISO 8859-2 EASTERN EUROPE 21 91 ISO 8859-3 SOUTHERN EUROPE 21 92...
Page 34
ESC % n Selects internal/downloaded characters. ASCII Code ESC % n Hexadecimal Value 1B 25 n Decimal Value 27 37 n Range n = 00H, 01H If the parameter n=00H, then the resident (internal) characters are selected for printing. If n=01H, then the downloaded characters are selected for printing. ESC R n Selects international character sets.
Page 35
CHARACTER SET US ASCII France Germany United Kingdom Denmark I Sweden Italy Spain I Japan Norway Denmark II Spain II Latin America Korea Legal Netherlands Anglo-Universal Spanish America Portugal Africa Switzerland Turkey Greece Yugoslavia Cyrillic table.
Page 36
ESC k n Selects font style. ASCII Code ESC k n Hexadecimal Value 1B 6B n Decimal Value 27 107 n This command selects either the resident font or font card fonts based on the value of n. This command will also accommodate fonts in the Optional CG chip. FONTS Roman (font card) Gothic...
Page 37
ESC q n Selects character style. ASCII Code ESC q n Hexadecimal Value 1B 71 n Decimal Value 27 113 n This command selects character style and is valid for normal text only, that is, is not valid for graphic characters. CHARACTER STYLE Normal Outline...
Page 38
ESC x n Selects print mode. ASCII Code ESC x n Hexadecimal Value 1B 78 n Decimal Value 27 120 n This command selects various print modes. See the table below: PRINT MODE Draft Letter Quality...
Page 39
ESC ( t n Assigns a character set to active character set number 0 to 3. ASCII Code ESC ( t n Hexadecimal Value 1B 28 74 n Decimal Value 27 40 116 n Range CHARACTER SET Italic (0-127) Code Page 437 (USA) Code Page 850 (Multilingual) Code Page 851 (Greek) Code Page 853 (Turkish)
ESC ? m n Re-defines graphics mode. ASCII Code ESC ? m n Hexadecimal Value 1B 3F m n Decimal Value 27 63 m n Re-defines the graphics mode 'n' (K, L, Y, Z) to the graphics mode 'm' found in the ESC * m command.
Page 41
These numbers replace the parameter p to p in the escape sequence, where p is the n° corresponding to the 1 graphics pattern column and p refers to the last column. 8 dot is expanded to 24 dot data: 8 bits in 1 byte Byte Print Head Pin Data Bit...
Page 42
ESC L n ... p Double-density graphics ON. ASCII Code ESC L n ... p Hexadecimal Value 1B 4C n ... p Decimal Value 27 76 n ... p Range : 0-255, n : 0-6 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out, then sets double density, half speed graphics printing, which allows the printing of 120 horizontal dots per inch.
Page 43
ESC * m n ... p Selects bit image mode. ASCII Code ESC * m n ... p Hexadecimal Value 1B 2A m n ... p Decimal Value 27 42 m n1 n2 p1p2 ... px Range m = 0,1,2,3,4,6,7,8,32,33,34,35,36, 38,39,40 0 <...
BACK SPACE. ASCII Code Hexadecimal Value Decimal Value The back space command will move the print head one character width to the left based on the current CPI in effect. This means that a horizontal tab followed by a backspace will move the carriage only one character space and will not have the effect of canceling the horizontal tab.
Page 45
ESC D n ..n Sets horizontal tab stops. ASCII Code ESC D n ..n Hexadecimal Value 1B 44 n ... n Decimal Value 27 68 n ... n Sets horizontal tab stops in columns as indicated by parameters: Parameters are column numbers of which tab stops are to be set.
ESC l n Sets left margin. ASCII Code ESC l n Hexadecimal Value 1B 6C n Decimal Value 27 108 n Range 0 < n < 255 Sets the left margin at the print column specified by parameter n that is in columns at the current pitch.
Page 47
Carriage return. ASCII Code Hexadecimal Value Decimal Value The carriage return will position the print head to the left margin for subsequent printable data to be printed. This code is a line terminator. A LF is executed based upon the AUTO LF selection (see in the System Menu, under OTHER OPTIONS, the AUTO LF function selected with the OPT:AUTO LF>Y value, please refer to the User’s Manual on the CD-Rom).
Page 48
ESC Q n Sets right margin. ASCII Code Hexadecimal Value 1B 51 n Decimal Value 27 81 n Range 1 < n < 255 Sets the right margin at the print column specified by parameter n. Parameter n is in columns at the current pitch.
Line Feed. ASCII Code Hexadecimal Value Decimal Value Position the paper down one line space as indicated by the current value of the line spacing increment at the left margin. This code is a line terminator. This code will terminate the double width-printing mode initiated by a received SO code.
Page 50
ESC B n … n Vertical tabs. ASCII Code ESC B n ... n Hexadecimal Value 1B 42 n ... n Decimal Value 27 66 n ... n Range 1 < n < 255 , 1 < n < 16 Sets vertical tab stops as indicated by parameter n .
Page 51
ESC b c n … n Sets vertical tabs in VFU channels. ASCII Code ESC b c n ... n Hexadecimal Value 1B 62 c n ... n Decimal Value 27 98 c n ... n Range 0 < c < 7 0 <...
ESC / n Selects Vertical Format Unit Channel. ASCII Code ESC / n Hexadecimal Value 1B 2F n Decimal Value 27 47 n Range 0 < n < 7 Selects vertical format unit VFU channel. Subsequent VT codes will execute the vertical tabs by the ESC B and ESC b commands.
Page 53
Sounds the buzzer. ASCII Code Hexadecimal Value Decimal Value Buzzer is sounded for approx. 0.5 sc. If a serie of bell codes is sent to the printer successively then the result will be a continuous buzzing sound approx. the number of seconds long corresponding to the number of bell codes sent.
Page 54
Reserved Selects Bin 1 for use after ejecting current sheet. Selects Bin 2 for use after ejecting current sheet. Selects Bin 3 for use after ejecting current sheet. Enables ASF, printer online. Selects and loads from Bin1, then loads from Bin 2 thereafter. Ejects paper without loading another sheet.
Page 55
NOTE: Between the time a form/page is parked/ejected and the next path is loaded, the interface will indicate a paper out condition. However, during loading from Front1 path or Front2 path or ASF path, if a paper out condition is detected, then the interface will indicate paper out.
Page 56
Deletes character. ASCII Code Hexadecimal Value Decimal Value This code causes the printer to delete the character received immediately prior to the DEL code from the print/input buffer. Cancels data. ASCII Code Hexadecimal Value Decimal Value This code will cause all printable data received since the last line terminator to be deleted. This code is a line terminator.
Page 57
Selects printer or XON. ASCII Code Hexadecimal Value Decimal Value In the parallel interface mode, after the printer has been de-selected by DC3 this control code will set the parallel interface signals SLCT to a logic one condition and enable the printer to resume printing and cancel the STANDBY status.
Page 58
End of transmission. ASCII Code Hexadecimal Value Decimal Value This code used conjunction with ETX/ACK protocol. This protocol is enabled/disabled (see in the System Menu, under SERIAL OPTIONS, the SER:EXT/ACK function (SER:EXT/ACK>Y/SER:EXT/ACK>N), please refer to the User’s Manual on the CD-Rom). The host transmits a block of characters followed by an ETX character. The host should transmit no more characters until it receives an ACK character from the printer.
Page 59
ESC @ Resets printer. ASCII Code ESC @ Hexadecimal Value 1B 40 Decimal Value 27 64 Causes the printer to reset all functions and print modes to their power-on default state. ESC U n Unidirectional printing ON/OFF. ASCII Code ESC U n Hexadecimal Value 1B 55 n Decimal Value...
Page 60
Deselects printer or XOFF. ASCII Code Hexadecimal Value Decimal Value In the parallel interface, this control code will set the parallel interface signals SLCT to logic zero condition and disable the printer from printing received data. This is called the "STANDBY"...
Page 61
ESC 7 Enables control code execution. ASCII Code ESC 7 Hexadecimal Value 1B 37 Decimal Value 27 55 Enables control code execution and disables character printing in the range 03H-06H, 15H, 80H- 9FH. See expanded character set table (also known as ESC # Cancels MSB control.
Page 62
ESC & NUL n m a ..d Defines the 24-pin Download Characters. ASCII Code ESC & NUL n m a ..d Hexadecimal Value 1B 26 00 n m a ..d Decimal Value 27 38 0 n m a ..d Range 0 <...
Page 63
The mapping of data bits to wires is as follows: DRAFT SUPER SCRIPT SUB SCRIPT BYTE # BIT # WIRE # WIRE # WIRE # WIRE # NOTE: Only 2 Bytes are required for super/subscript characters.
Page 64
If a data bit has a value of 01H, then the corresponding wire is fired. If a data bit has a value of 00H, then the wire is not fired. In general the user of this feature must be careful that the number of bytes of download information is equal to 3-x width of the character being defined (a or the results will be unpredictable.
Page 65
ESC < Immediate carriage return. ASCII Code ESC < Hexadecimal Value 1B 3C Decimal Value 27 60 Causes the print head to move to the left margin position, effectively causing unidirectional (left- to-right) printing for one line. ESC = Sets MSB equal to zero (0). ASCII Code ESC = Hexadecimal Value...
Page 66
ESC [ - n Selects the score line. ASCII Code ESC [ - n Hexadecimal Value 1B 5B 2D n Decimal Value 27 91 45 n Range = 03H, n = 0H, m = 01H Selects the type of score that overwrites characters: SPECIFIES SCORE LOCATION Underline position Strike-through position...
Page 67
Reset control. The parameters of the printer (tabs, margins, page length, etc.) to be reset or defaulted are controlled by this parameter. EMULATION GENICOM ANSI IBM Proprinter XL24/XL 24E EPSON LQ 1050-2550 SWITCH CONDITION...
The following printer commands are supported by this printer according to the IBM XL- 24E/XL24 emulation ESC C n Sets page length (lines per page). ASCII Code ESC C n Hexadecimal Value 1B 43 n Decimal Value 27 67 n Range 1<...
Page 71
ESC C NUL n Sets page length (inches per page). ASCII Code ESC C NUL n Hexadecimal Value 1B 43 00 n Decimal Value 27 67 0 n Range 1 < n < 225 (Decimal) Sets the form length to a size specified by the parameter n in inches. This command will reset the perforation skip value to zero (only if in the System Menu, the CLEAR MARGINS function, under OTHER OPTIONS,is selected OPT:CLR MRGN>Y value) and will set a new Top of Form at the current line position.
ESC O Disables the skip perforation. ASCII Code ESC O Hexadecimal Value 1B 4F Decimal Value 27 79 Resets the skip perforation value to zero. It overrides menu selection (see in the Operational Menu, under PAGE SETUP, the PAGE:BOT MARGIN value, please refer to the User’s Manual on the CD-Rom).
Page 73
Enables compressed printing. ASCII Code Hexadecimal Value Decimal Value This code will enable the compressed printing mode. Character printing will be changed to 17.16, 20 or 24 cpi dependent upon the menu selection (see in the System Menu, under IBM OPTIONS, the IBM:COMP CHR function, please refer to the User’s Manual on the CD-Rom).
Page 74
ESC 0 Sets 1/8-inch line spacing. ASCII Code ESC 0 Hexadecimal Value 1B 30 Decimal Value 27 48 Sets the spacing between lines to 1/8 inch (8 lpi). ESC P n Selects or cancels proportional mode. ASCII Code ESC P n Hexadecimal Value IB 50 n Decimal Value...
Page 75
ESC A n Stores text line spacing. ASCII Code ESC A n Hexadecimal Value 1B 41 n Decimal Value 27 65 n Range 1 < n < 85 Sets the spacing between lines to n/60" (if AGM enabled) to n/72" (if AGM not enabled). See in the System Menu, under IBM OPTIONS, the IBM:AGM MODE Y/N functions, please refer to the >...
Page 76
ESC 1 Sets 7/72-inch line spacing. ASCII Code ESC 1 Hexadecimal Value 1B 31 Decimal Value 27 49 Sets the spacing between lines to 7/72 inch. Not available when IBM:AGM MODE>Y is selected in the System Menu (please refer to the User’s Manual on the CD-Rom). ESC 3 n Sets graphics line spacing.
Page 77
ESC [ \ n Sets vertical units. ASCII Code ESC [ \ n Hexadecimal Value 1B 5B 5C n Decimal Value 27 91 92 n This escape sequence sets the base vertical, or line spacing, increment for the ESC A, ESC J and ESC 3 commands.
Cancels double-width printing. ASCII Code Hexadecimal Value Decimal Value Cancels double-width printing initiated by a SO code and returns to the previously selected print compression. Selects double-width printing. ASCII Code Hexadecimal Value Decimal Value This code will enable double-width printing for subsequent characters until a line terminator, a DC4 code or an ESC W sequence is received.
Page 79
ESC W n Selects or cancels double-width printing. ASCII Code ESC W n Hexadecimal Value 1B 57 n Decimal Value 27 87 n Range 0 < n < 255 This command will enable continuous double width printing for subsequent characters with any odd parameter value (such as SOH).
Page 80
ESC [ @ n Selects double-high printing. ASCII Code ESC [ @ n Hexadecimal Value 1B 5B 40 n Decimal Value 27 91 64 n This command selects double high, doublewide and double line feed options. The following parameter values are allowed: always 4 always 0 always 0...
Page 81
ESC E Selects emphasized printing. ASCII Code ESC E Hexadecimal Value 1B 45 Decimal Value 27 69 This command will cause subsequent character printing to be emphasized. Emphasized printing is defined as printing a dot twice with 1/360 inch horizontal spacing between dots.
Page 82
ESC H Cancels double-strike printing. ASCII Code ESC H Hexadecimal Value 1B 48 Decimal Value 27 72 Cancels the double-strike-printing mode started by ESC G. ESC_ n Continuous overstrikes. ASCII Code ESC_ n Hexadecimal Value 1B 5F n Decimal Value 27 95 n Range 0 <...
Page 83
ESC T Cancels subscript or superscript printing. ASCII Code ESC T Hexadecimal Value 1B 54 Decimal Value 27 84 Cancels the super or subscript-printing mode. Characters return to their prior size at the previous baseline position. ESC b Selects the Black (top/1st) color band. ASCII Code ESC b Hexadecimal Value...
Page 84
ESC c Selects the Cyan (2nd) color band. ASCII Code ESC c Hexadecimal Value 1B 63 Decimal Value 27 99 Selects the 2 color band of color process ribbon. See for details. Ignored if process ribbon not selected by System Menu (see, under OTHER OPTIONS, the RIBBON TYPE function (OPT:RBN>PROCESS value) in the User’s Manual on the CD-Rom).
Page 85
ESC y Selects the Yellow (4th) color band. ASCII Code ESC y Hexadecimal Value 1B 79 Decimal Value 27 121 Selects the 4th band of color process ribbon for printing. See for details. Ignored if process ribbon not selected by System Menu (see, under OTHER OPTIONS, the RIBBON TYPE function (OPT:RBN>PROCESS value) in the User’s Manual on the CD-Rom).
ESC [ u n Activates/cancels barcode mode. ASCII Code ESC [ u n Hexadecimal Value 1B 5B 75 n Decimal Value 27 91 117 n Range 0 < n < 255 Activates Barcode mode if n = odd value. Cancels Barcode mode if n = even value. ESC [ v n m Sets barcode parameters.
Page 87
(Parameter Description) m (Parameter Limits) Value Barcode style See below Barcode height 1 -120 (1/12" increments) Human Readable line 0=disable; 1=enable Narrow bar width 2-255 Wide bar width 2-255 Narrow space width 2-255 Wide space width 2-255 Intercharacter space width 2-255 Rotation Horizontal print density...
ESC = n m id sa sa h d ... d Defines downloaded characters/table. ASCII Code ESC = n m id sa sa h d ... d Hexadecimal Value 1B 3D Decimal Value 27 61 Downloads character data, lookup table data, and the font descriptor byte: n (m*256) Count of number of bytes included in sequence;...
Page 90
Cmprsn Compression mask. One bit per dot-column with bit 7 of byte 5 mapping to the leftmost column. For a character with 36 dot-columns when decompressed bit 4 of byte 0 would map to the rightmost column. All zeros indicate that a character is not compressed. If a proportional character has more dot-columns than compression mask bits then the remaining dot-columns must be stored without compression.
Page 91
ESC ^ n Prints from all characters set. ASCII Code Hexadecimal Value 1B 5E n Decimal Value 27 94 n Range 0 < n < 255 The next character after this escape sequence is printed even if it is "hidden" under the control codes from 1 to 1F and the characters from 80 to 9F hex.
Page 93
ESC k n Selects LQ font. ASCII Code Hexadecimal Value Decimal Value This command selects either the resident font or font card fonts based on the value of n. This command will also accommodate fonts in the Optional CG chip. FONTS Roman (font card) Gothic...
Page 94
ESC I n Font selection (print mode). ASCII Code ESC I n Hexadecimal Value 1B 49 n Decimal Value 27 73 n This escape sequence is used to mix printing with internal fonts and with downloaded fonts. (See for information on font downloading). This escape sequence will override the selection of print mode from the operator panel.
Page 95
ESC x n Selects print mode. ASCII Code ESC x n Hexadecimal Value 1B 78 n Decimal Value 27 120 n This command selects various print modes, see the table below: PRINT MODE Draft Letter Quality ESC [ I n Selects font.
Page 96
number of parameter bytes that follow (n *256)) font id (n *256)) Courier Courier Gothic Prestige Roman (font card) Script OCR A OCR B Orator Presentor (font card) Script C (font card) font width (m *256))/1440 No change from current setting 17 cpi 15 cpi 12 cpi...
ESC K n ... p Single-density graphics ON. ASCII Code ESC K n ... p Hexadecimal Value 1B 4B n ... p Decimal Value 27 75 n ... p Range : 0-255 : 0-3 This is a terminator code and, when received, causes the current content of the print buffer to be printed out, then selects dot graphics at normal density, which allows printing of 60 horizontal dots per inch.
Page 98
To calculate from p to p , assign the value of each bit for each column: VALUE Add up the numbers corresponding to the dots that you want in each column. For example: if you want a dot in the 7 and 1 pins, the count is 146 = 128+16+2...
Page 99
If the IBM Proprinter XL24 is selected in the System Menu, (check, under EMULATION, that the EMUL:IBMXL24e function is selected, please refer to the User’s Manual on the CD-Rom), 20 pins from 24 pins of the print head simulate 8 dot data: 8 BITS IN 1 BYTE BYTE PRINT HEAD PIN...
Page 100
ESC L n ... p Double-density graphics ON. ASCII Code ESC L n ... p Hexadecimal Value 1B 4C n ... p Decimal Value 27 76 n ... p Range : 0-255 : 0-6 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out, then sets double density, half speed graphics printing, which allows the printing of 120 horizontal dots per inch.
Page 101
ESC Z n ... p Quadruple-density graphics ON. ASCII Code ESC Z n ... p Hexadecimal Value 1B 5A n ... p Decimal Value 27 90 n ... p Range : 0-255; : 0-12 This code is a terminator code and therefore causes the current contents of the print buffer to be printed out, then sets quadruple density, half speed graphics printing, which allows the printing of 240 horizontal dots per inch.
Page 102
# WIRES DENSITY NAME Single Double Double (high-speed) Quadruple CRT Graphic I CRT Graphic II Triple Single Double Double (high-speed) Quadruple CRT Graphic I CRT Graphic II Triple...
Backspace. ASCII Code Hexadecimal Value Decimal Value The backspace command will move the print head one character width to the left based on current cpi in effect. This means that a horizontal tab followed by a backspace will move the carriage only one character space and will not have the effect of canceling the horizontal tab.
Page 104
ESC D n ..n Sets horizontal tab stops. ASCII Code ESC D n ..n Hexadecimal Value 1B 44 n ..n Decimal Value 27 68 n ..n Sets horizontal tab stops in columns as indicated by parameters. There can be a maximum of 28 tab stops at any given time.
Page 105
ESC X n Sets horizontal margin. ASCII Code ESC X n Hexadecimal Value 1B 58 n Decimal Value 27 88 n Range 0 < n < 255 Sets left (n1) and right (n2) margin positions. Units of n are the character spacing increment when the command is received.
Page 106
Carriage return. ASCII Code Hexadecimal Value Decimal Value The carriage return will position the print head to the left margin for subsequent printable data to be printed. This code is a line terminator. A LF is executed based upon the AUTO LF selection (see in the System Menu, under OTHER OPTIONS, the OPT:AUTO LF function (OPT:AUTO LF>Y),please refer to the User’s Manual on the CD-Rom) or upon the command.
Line feed. ASCII Code Hexadecimal Value Decimal Value Position the paper down one line space as indicated by the current value of the line spacing increment. This code is a line terminator. This code will terminate the double-width-printing mode initiated by a received SO code. If the positioning causes the next line to exceed the form length, then the print head will move to the next top of form position.
Page 108
ESC 5 n Automatic line feed. ASCII Code ESC 5 n Hexadecimal Value 1B 35 n Decimal Value 27 53 n Range 0 < n < 255 When n is odd, the printer will execute an automatic linefeed upon processing a received CR. This escape sequence takes precedence over AUTO LF function (see in the System Menu, under OTHER OPTIONS, the OPT:AUTO LF function, please refer to the User’s Manual on the CD- Rom).
Page 109
Vertical tab. ASCII Code Hexadecimal Value Decimal Value The vertical tab command advances the paper vertically to the next preprogrammed vertical tab position. Maximums of 64 vertical tab positions are allowed per form. A CR is executed based upon the AUTO CR function (see in the System Menu, under IBM OPTIONS, the IBM:AUTO CR function, please refer to the User’s Manual on the CD-Rom).
Page 110
ESC B n ... n Vertical tabs. ASCII Code ESC B n ... n Hexadecimal Value 1B 42 n ... n Decimal Value 27 66 n ... n Range 1 < n < 255 1 < n < 16 Sets vertical tab stops as indicated by parameters. The parameters are line numbers at the current line spacing when tab stops are to be executed.
Page 111
ESC J n Single variable line feed. ASCII Code ESC J n Hexadecimal Value 1B 4A n Decimal Value 27 74 n Range 0 < n < 255 The print position will be moved down the page in increments of n/180"...
Escape (control sequence introducer). ASCII Code Hexadecimal Value Decimal Value This code is used as a control sequence introducer. It implies that subsequent code(s) will define a given action of the printer. ESC EM n Auto Sheet Feeder (ASF) & Paper Path Control. ASCII Code Hexadecimal Value 1B 19 n...
Page 113
PAPER PATH CONTROL Reserved Selects Bin 1 for use after ejecting current sheet Selects Bin 2 for use after ejecting current sheet Selects Bin 3 for use after ejecting current sheet Enables ASF, printer online Selects and loads from Bin1, then loads from Bin 2 thereafter Ejects paper without loading another sheet.
Page 114
NOTE: Between the time a form/page is parked/ejected and the next path is loaded, the interface will indicate a paper out condition. However, during loading from Front1 path or Front2 path or ASF path, if a paper out condition is detected, then the interface will indicate paper out.
Page 115
Sounds the buzzer. ASCII Code Hexadecimal Value Decimal Value The printer's buzzer is sounded for approximately 0.5 second. If a series of bell codes is sent to the printer successively then the result will be a continuous buzzing sound approximately the number of seconds long corresponding to the number of bell codes sent.
Page 116
Cancels data. ASCII Code Hexadecimal Value Decimal Value This code will cause all printable data received since the last line terminator to be deleted. This code is a line terminator. The current print position will be retained. Printer response to this code is enabled/disabled by the CAN CODE selection (see in the System Menu, under OTHER OPTIONS, the OPT:CAN CODE function (OPT:CAN CODE>Y/OPT:CAN CODE>N), please refer to User’s Manual on the CD-Rom)
Page 117
Number of parameter bytes that follow (n *256)) init: Specifies reset condition: (init values that are not supported are recognized as 00). The printer is initialized to the user default setting. The downloaded font is not cleared. If the user specifies parameters, they overwrite current Operational Menu setting. The printer is initialized to the user default setting.
Page 118
: Specifies which Operational Menu setting is ON or OFF as follows: ITEMS OFF (=0) ON (=1) Discard byte Process this byte Ignore this byte Reserved Alarm Enables alarm Disables alarm Auto CR No CR on vertical movement CR on vertical movement Auto LF NO LF with CR Auto LF with CR...
Page 119
Selects printer or XON. ASCII Code Hexadecimal Value Decimal Value In the parallel interface mode, after the printer has been de-selected by ESC Q 23 or 24, this control code will set the parallel interface signals SLCT to a logic one condition and enable the printer to resume printing.
Page 120
End of transmission. ASCII Code Hexadecimal Value Decimal Value This code is used in conjunction with ACK for the ETX/ACK protocol. This protocol is enabled/disabled in the System Menu (see in the System Menu, under SERIAL OPTIONS, the SER:ETX/ACK function (SER:ETX/ACK>Y,SER:ETX/ACK>N), please refer to the User’s Manual on the CD-Rom).
Page 121
ESC U n Unidirectional print ON/OFF. ASCII Code ESC U n Hexadecimal Value 1B 55 n Decimal Value 27 85 n Range 0 < n < 255 (decimal) Causes printing to occur from left to right only. If n is 01H, then unidirectional printing is activated.
Page 122
XOFF. ASCII Code Hexadecimal Value Decimal Value In the serial interface, this code is sent from the printer to the host to indicate that it is not ready to receive data (XOFF). It may be caused by any one of the following conditions: Input buffer full Online-Offline from operator panel Online-Offline due to printer error condition...
Page 123
ESC 6 Selects character set 2. ASCII Code ESC 6 Hexadecimal Value 1B 36 Decimal Value 27 54 Enables character printing and disables control code execution in the range 03H-06H, 15H, 80H, 9FH. See expanded character set (also known as ESC 7 Selects character set 1.
Page 124
Reset control. The parameters of the printer (tabs, margins, page length, etc.) to be reset or defaulted are controlled by this parameter. See the following tables: EMULATION GENICOM ANSI IBM Proprinter XL24/XL 24E EPSON LQ-1050 SWITCH CONDITION Printer parameters maintained...
These native extension escape sequences are valid if enabled via menu (see in the System Menu, under OTHER OPTIONS, the OPT: NATIVE COMND function, please refer to the User’s Manual on the CD-Rom). ESC [[ 3 n Sets metric line spacing. ASCII Code Hexadecimal Value 1B 5B 5B 33 n...
Page 126
ESC [[ x n Selects national character set. ASCII Code ESC [[ x n Hexadecimal Value 1B 5B 5B 78 n Decimal Value 27 91 91 120 n Selects Epson national character set indicated by parameter n, where n is equivalent to the parameter in the Epson n command.
The following printer commands are supported by this printer according to the GENICOM ANSI emulation. Most dimensional parameters in ANSI protocol are expressed in "decipoints". For example: 1 decipoint = 1/720 inch 72 decipoints = 1/10 inch 120 decipoints = 1/6 inch...
ESC [ p Selects national character set (Select National Characters - GENSNC). ASCII Code ESC [ p Hexadecimal Value 1B 5B p Decimal Value 27 91 p This command selects the national character set table according to the p parameter value. See the following tables: 7-bit Substitution NATION...
Page 129
8-bit Substitution CHARACTER SETS CHARACTER SETS Code Page 437 8579 Kamenicky Code Page 850 8580 Code Page 851 8581 Roman-8 Code Page 852 8582 Code Page 853 8583 Code Page 864E Code Page 855 8584 to 8590 Reserved Code Page 858 8591 ISO 8859-1 Western Europe (Euro symbol included)
ESC [ p ;..p Select graphics rendition (SGR). ASCII Code ESC [ p ;..p Hexadecimal Value 1B 5B p 3B...p Decimal Value 27 91 p 59...p This command selects fonts, pitch, print modes, character styles and colors according to the parameter settings: DEFINITION Normal Print Mode...
Page 131
DEFINITION LQ Courier at 10 cpi Draft Italic at 10 cpi LQ Gothic Italic at 10 cpi Draft Italic at 10 cpi LQ Courier Italic at 10 cpi Draft at 10 cpi Reserved Double Underline Mode Cancel Bold Mode Reserved Cancel Underline Mode (Single &...
Page 132
DEFINITION High speed draft at 10 cpi LQ Roman at 10 cpi LQ Prestige at 10 cpi LQ Script at 10 cpi LQ OCR-A at 10 cpi LQ OCR-B at 10 cpi LQ Orator at 10 cpi LQ Presentor at 10 cpi LQ Script-C at 10 cpi LQ Option style #1 at 10 cpi LQ Option style #2 at 10 cpi...
Page 133
ESC [ p SP B Graphic size modification (GSM). ASCII Code ESC [ p SP B Hexadecimal Value 1B 5B p 3B p 20 42 Decimal Value 27 91 p 59 p 32 66 This command sets the height and/or width of expanded and oversized characters. The p and p parameters are the percentages by which the height and width, respectively, will...
Page 134
Shift out. ASCII Code Hexadecimal Value Decimal Value This code enables Expanded/Oversize mode as determined by the last received ESC [pl t command. Shift in. ASCII Code Hexadecimal Value Decimal Value This code disables the Expanded/Oversize modes determined by the last received ESC [pl t command. ESC [ p Unidirectional printing (GENUPD).
Back space. ASCII Code Hexadecimal Value Decimal Value The BS code moves the print head one character to the left at the current cpi. Carriage return. ASCII Code Hexadecimal Value Decimal Value This code causes the print head to be moved to the left margin on the current line. Space.
Page 136
ESC [ p Horizontal position absolute (HPA). ASCII Code ESC [ p Hexadecimal Value 1B 5B p Decimal Value 27 91 p This command causes the print position to be moved to the decipoint location specified by p This sequence can be used to print within the left, top and bottom margins. ESC [ p Horizontal position relative (HPR).
Page 137
ESC [ p Horizontal position backward (HPB). ASCII Code ESC [ p Hexadecimal Value 1B 5B p Decimal Value 27 91 p This command causes the current horizontal position to be moved backwards as specified by the parameter (decipoints). Horizontal tab. ASCII Code Hexadecimal Value Decimal Value...
ESC[ p Sets horizontal tab stops at specified positions multiple horizontal tab set (GENHTS). ASCII Code ESC[ p Hexadecimal Value 1B 5B p 3B p Decimal Value 27 91 p 59 p This command sets up to 22 horizontal tab stops at each decipoint position specified by p parameters.
Page 139
ESC E or NEL Next line. ASCII Code ESC E or NEL Hexadecimal Value 1B 45 (7-bit) or 85 (8-bit) Decimal Value 27 69 (7-bit) or 133 (8-bit) This command causes the paper to be positioned down one line space as indicated by the current line spacing value.
Page 140
ESC M or RI Reverse index. ASCII Code ESC M or RI Hexadecimal Value 1B 4D (7-bit) or 8D (8-bit) Decimal Value 27 77 (7-bit) or 141 (8-bit) This command causes the paper to be positioned up one line space at the current line spacing value.
Page 141
ESC [ p Horizontal and vertical position absolute (HVP). ASCII Code ESC [ p Hexadecimal Value 1B 5B p 3B p Decimal Value 27 91 p 59 p This command causes the current print position to be moved to the vertical (p ) and horizontal ) decipoint locations specified relative to the top left corner of the page.
Page 142
ESC [ p Tab clear (TBC). ASCII Code ESC [ p Hexadecimal Value 1B 5B p 3B p Decimal Value 27 91 p 59 p This command clears horizontal & vertical tab stops. If no parameter is present, the horizontal tab stop at the current position is cleared (default).
Page 143
ESC J or VTS Vertical tab setting. ASCII Code ESC J or VTS Hexadecimal Value 1B 4A (7-bit) or 8A (8-bit) Decimal Value 27 74 (7-bit) or 138 (8-bit) This command causes a vertical tab stop to be set to the decipoint value of the current vertical position.
Page 144
ESC [ p Form definition (GENFD). ASCII Code ESC [ p Hexadecimal Value 1B 5B p 3B p 3B p Decimal Value 27 91 p 59 p 59 p This command sets the page length, top and bottom margins. The p and p parameters specify the decipoint values.
Ignored. ASCII Code Hexadecimal Value Decimal Value This code is ignored. End of transmission. ASCII Code Hexadecimal Value Decimal Value This code is used in conjunction with ACK for the ETX/ACK protocol. This protocol is enabled/disabled in the menu (see in the System Menu, under SERIAL OPTIONS, the SER:ETX/ACK function (SER:ETX/ACK>Y,SER:ETX/ACK>N), please refer to the User’s Manual on the CD-Rom).
Page 146
Acknowledge. ASCII Code Hexadecimal Value Decimal Value This code is used in conjunction with ETX for the ETX/ACK protocol. This protocol is enabled/disabled in the menu (see in the System Menu, under SERIAL OPTIONS, the SER:ETX/ACK function (SER:ETX/ACK>Y,SER:ETX/ACK>N), please refer to the User’s Manual on the CD-Rom).
Page 147
Selects printer (Data Control 1). ASCII Code Hexadecimal Value Decimal Value In parallel interface, after the printer has been deselected by DC3 code, this code will select again the printer. In serial interface, this code is sent from the printer to the host to indicate that the printer is ready to receive data.
Bell. ASCII Code Hexadecimal Value Decimal Value This code causes the buzzer to sound for about 0.5 second. Delete. ASCII Code Hexadecimal Value Decimal Value In parallel interface, this code causes the last received character to be deleted. Escape. ASCII Code Hexadecimal Value Decimal Value This code is used as an escape sequence introducer.
Page 149
ESC \ or ST String terminator. ASCII Code ESC \ or ST Hexadecimal Value 1B 5C (7-bit) or 9C (8-bit) Decimal Value 27 92 (7-bit) or 156 (8-bit) This command closes the other escape sequences including the operating system, command commands.
Page 150
ESC k Prints test character (GENPTC). ASCII Code ESC k Hexadecimal Value 1B 6B Decimal Value 27 107 This sequence causes one line of the print head test character to be printed. ESC [ p ;...p Sets mode (SM). ASCII Code ESC [ p ;...p Hexadecimal Value...
Page 151
This sequence selects the emulation according to p values. Parameter p is an emulation identifier value while p is a reset control value. FUNCTION GENICOM ANSI 1 - 20 Reserved IBM Proprinter XL24/XL24E EPSON LQ-1050 Hold values (default). The current settings remain valid after changing the printer emulation.
Page 152
ESC [ p SP | Customer setup save/unsave (GENCSX). ASCII Code ESC [ p SP | Hexadecimal Value 1B 5B p 3B p 3B p 20 7C Decimal Value 27 91 p 59 p 59 p 32 124 This sequence allows saving & restoring page and print definitions into or out of the current User Format.
Page 153
ESC ] p ;data <ST> Operating system command (Load Mode OSC). ASCII Code ESC ] p ;data <ST> Hexadecimal Value 1B 5D p 3B p 3B p 3B data (7-bit) 9D p 3B p 3B p 3B data (8-bit) Decimal Value 27 93 p 3B p 3B p...
Page 154
DATA DESCRIPTION data Name for Active Format - "data" is displayed on the LCD instead of previous format message and stored in NVRAM. Max. length: 16 characters. data Name for Format 1 - "data" is displayed on the LCD instead of previous format message and stored in NVRAM.
ESC [ p Assign source for forms (GENASF). ASCII Code ESC [ p Hexadecimal Value 1B 5B p 3B p Decimal Value 27 91 p 59 p This command controls the modes of the optional Automatic Sheet Feeder and other paths for parking, loading and ejecting paper.
Page 156
PAPER PATH CONTROL Select and load paper from the Front1. The current paper will be parked or ejected. Select and load paper from the Front2. The current paper will be parked or ejected. Reserved Select ASF (Bin 1). The current paper will be parked and a new sheet will be loaded from Bin 1 of the ASF.
ESC ] p <ST> User defined character substitution (GENUDS). ASCII Code ESC ] p <ST> Hexadecimal Value 1B 5D p 3B p Decimal Value 27 93 p 59 p This command allows specifing a substitution within a character set. The parameters are described in the following table: DESCRIPTION Must be 9...
ESC [ p Select graphics mode/density (GENGRM). ASCII Code ESC [ p Hexadecimal Value 1B 5B p Decimal Value 27 91 p This command selects the density of the graphics mode. DPI (Horizontal) Image dpi vertical #bytes/dot-column AGM=N AGM=Y real 1 (6-bit mode) real 1 "...
Page 159
ESC P data Enter dot graphics mode (Device Control String). ASCII Code ESC P data Hexadecimal Value 1B 50 data Decimal Value 27 80 This command causes the dot graphics mode to be enabled. The density is selected according to the GENGRM command.
Page 160
24-bit mapping 24 BITS IN 1 BYTE BYTE PRINT HEAD WIRE DATA BIT...
ESC [ p Sets bar code parameters (GENBC). ASCII Code Hexadecimal Value 1B 5B p 3B p Decimal Value 27 91 p 59 p This command allows selection of the bar code characteristics such as style height, symbol rotation and so on. The command ESC [3 t enables the bar code mode while ESC [0 t disables the mode.
Page 162
FUNCTION Code 128 (subset A, B and C) Code 128 (subset A, B and C) Code 128 (subset A, B and C) UPC 2 Supplemental UPC 5 Supplemental EAN 2 Supplemental EAN 5 Supplemental Postnet : Barcode Height FUNCTION Minimum bar code height (1/12 inch) Maximum bar code height (10 inches) Default bar code height (1 inch) : Human Readable Input (HRI)
Page 163
: Wide Space Width Default width value: 7 (120, 144 dpi), 8 (180 dpi) : Intercharacter Space Width Default width value: 3 (120, 144 dpi), 4 (180 dpi) : Rotation FUNCTION 0 degrees using current font 0 degrees using special HRI font 90 degrees using special HRI font 180 degrees using special HRI font 270 degrees using special HRI font...
This appendix provides technical information for the parallel and serial interfaces The parallel interface is available on a specific 36-pin connector type AMPHENOL 57-40360-12- D56 or equivalent. This corresponds to the IEEE 1284 connector type B. The interface mode is selected via menu, see in the System Menu, under INTERFACE, the I/F:TYPE function (I/F:TYPE:BOTH, I/F:TYPE:PARALL and I/F:TYPE:SERIAL values), please refer to the User’s Manual on the CD-Rom.
Page 212
Signal Name Pin Number Source Description Signal Wire Return Wire STROBE HOST Active LOW level signal. Clock signal which controls data transmission. The pulse width must not be less than 0.5/usec at the input. Active LOW level signal. Indicates that the data has been received and stored in the input buffer.
Page 213
Signal Name Pin Number Source Description Signal Wire Return Wire 15,34 Not used. 16,33 Common Signal Ground. CHASSIS Frame ground. GROUND +5VDCO PT D.C. voltage supplies (100-mA max.250 mA later on for LAN adapters). It is not installed as default and it is installable only by Technician.
Page 214
This printer provides both RS-232/C and RS-422/A electrical serial interfaces. The interface mode is selected via menu, see in the System Menu, under INTERFACE, the I/F:TYPE function (I/F:TYPE:BOTH, I/F:TYPE:PARALL and I/F:TYPE:SERIAL values), please refer to the User’s Manual on the CD-Rom. •...
Page 215
• Drive Capability Min. 50 feet (15 m) for all supported data rates • Cable Connector AMP 205208/1 or equivalent connector with 25 male contacts and female shell in accordance with ISO-IS2110 mechanical characteristics • Interface Signals The table on the following page lists the RS-232/C interface signals (full-duplex interface):...
Page 216
Signal Local Remote ISO/ RS232/C Description Name Name CCITT circuit Source Source circuit FRAME This printer is shipped with pin 1 connected to the frame ground (protective ground). SIGNAL This pin is the common 0V of the power supply. Transmitted Data Signal (an output from printer).
Page 217
This table lists the RS-422/A interface signal (full-duplex interface): ISO Circuit ID. Signal Source Description Pin Number T (A) PRINTER Transmit. Mark signal is present when printer is not sending data. T (B) Transmit Return. R (A) HOST Receive. A Mark level is expected when sender is in idle state.
Need help?
Do you have a question about the 3850 and is the answer not in the manual?
Questions and answers