JP 250 (26-2873) Epson Control Codes Faxback Doc. # 4137 The control functions supported in Epson mode (Epson LQ-510) are summarized below: Summary of Control Codes: Dec. Hex. Mnemonic Function 0 00 NUL Command terminator 7 07 BEL Beeper 8 08 BS Backspace 9 09 HT Horizontal Tab 10 0A LF Line Feed 11 0B VT Vertical Tab 12 0C FF Form Feed 13 0D CR Carriage Return 14 0E SO Select One-Line Double-Width Mode 15 0F SI Select Condensed Mode 17 11 DC1 Select Printer 18 12 DC2 Cancel Condensed Mode 19 13 DC3 Deselect Printer 20 14 DC4 Cancel One-Line Double-Width Mode 24 18 CAN Cancel Line 27 1B ESC Escape sequences 127 7F DEL Delete Character Escape Sequence Codes: Dec. Hex. Mnemonic Function 27 14 1B 0E ESC SO Set double wide mode by line 27 15 1B 0F ESC SI Set condensed mode 27 25 n 1B 19 n ESC EM n Control auto sheet feeder 27 32 n 1B 20 n ESC SP n Set intercharacter space 27 33 n 1B 21 n ESC ! n Master Select 27 35 1B 23 ESC # Cancel MSB Control 27 36 n1 n2 1B 24 n1 n2 ESC $ n1 n2 Absolute Print position 27 37 n 1B 25 n ESC % n Select Download Character Set 27 38 ... 1B 26 ... ESC & ... Define Download Characters 27 40 45 1B 28 2D ESC ( - Select score mode 27 42 m n1 n2 1B 2A m n1 ESC * m n1 Select Graphics Mode d1...dk n1 d1...dk n2 d1...dk 27 43 n 1B 2B n ESC + n Set n/360 inch line spacing 27 45 n 1B 2D n ESC - n Underlining 27 47 c 1B 2F c ESC / c Select Vertical Tab Channel 27 48 1B 30 ESC 0 Set 1/8" Line Spacing 27 50 1B 32 ESC 2 Set 1/6" Line Spacing 27 51 n 1B 33 n ESC 3 n Set n/180" Line Spacing 27 52 1B 34 ESC 4 Select Italic Mode 27 53 1B 35 ESC 5 Cancel Italic Mode 27 54 1B 36 ESC 6 Enable Printable Characters 27 55 1B 37 ESC 7 Enable Upper Control Codes 27 58 1B 3A ESC : Copy ROM font to RAM 27 60 1B 3C ESC < Unidirectional Printing by line 27 61 1B 3D ESC = Set MSB to 0 27 62 1B 3E ESC > Set MSB to 1 27 63 n m 1B 3F n m ESC ? n m Reassign Graphics Mode 27 64 1B 40 ESC @ Initialize Printer 27 65 n 1B 41 ESC A n Set n/60" Line Spacing 27 66 n1 n2 1B 42 n1 n2 ESC B n1 n2 Set Vertical Tabs 27 67 n 1B 43 n ESC C n Set Page Length in Lines 27 67 0 n 1B 43 00 n ESC C NUL n Set Page Length in Inches 27 68 1B 44 ESC D Set Horizontal Tabs 27 69 1B 45 ESC E Select Emphasized Mode 27 70 1B 46 ESC F Cancel Emphasized Mode 27 71 1B 47 ESC G Select Double-Strike Mode 27 72 1B 48 ESC H Cancel Double-Strike Mode 27 74 n 1B 4A n ESC J n Execute n/180" Line Feed 27 75 n1 n2 1B 4B n1 n2 ESC K n1 n2 Select Normal-Density Graphics 27 76 n1 n2 1B 4C n1 n2 ESC L n1 n2 Select Double-Density Graphics 27 77 1B 4D ESC M Select 12 Pitch 27 78 n 1B 4E n ESC N n Set Skip Over Perforation 27 79 1B 4F ESC O Cancel Skip over Perforation 27 80 1B 50 ESC P Select 10 Pitch 27 81 n 1B 51 n ESC Q n Set Right Margin 27 82 n 1B 52 n ESC R n International Character Set 27 83 n 1B 53 n ESC S n Select Super/Subscript Mode 27 84 1B 54 ESC T Cancel Super/Subscript Mode 27 85 n 1B 55 n ESC U n Unidirectional Printing Mode 27 87 n 1B 57 n ESC W Double-Width Mode 27 89 n1 n2 1B 59 n1 n2 ESC Y n1 n2 Set Double-Density graphics mode 27 90 n1 n2 1B 5A n1 n2 ESC Z n1 n2 Set Quadruple-Density graphics 27 92 n1 n2 1B 5C n1 n2 ESC \ n1 n2 Relative Dot Tab 27 98 1B 62 ESC b Set Vertical Tabs in Channels 27 103 1B 67 ESC g Select 15 Pitch 27 107 n 1B 6B n ESC k n Select Font 27 108 n 1B 6C n ESC l n Set Left Margin 27 112 n 1B 70 n ESC p n Proportional Mode 27 113 n 1B 71 n ESC q n Select character style 27 116 n 1B 74 n ESC t n Italics/Graphics Mode 27 119 n 1B 77 n ESC w n Double-Height Mode 27 120 n 1B 78 n ESC x n Near-Letter-Quality Note: The n, m, or ellipsis indicates a parameter that features the control code functions. Emulation Restrictions of EPSON Mode: The LQ-510 emulation of this printer has a few restrictions, described below, because of hardware differences. If you make programs for the printer in Epson Mode, pay special attention to these restrictions. The justification code ESC a is not supported. Roman and Sans Serif of the Epson Mode are substituted for Prestige and Gothic respectively. The styles of block graphics characters at 12 cpi are different. (jej 04/26/94)