DMP 207 (260-2917) Epson Control Codes Faxback Doc. # 18092 PRINTER OPERATION/DATA CONTROL COMMANDS ───────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Initialize Printer ESC @ 27 64 1B 40 Select Emulation ESC~5 27 126 53 1B 7E 35 Select Printer DC 1 17 11 Deselect Printer DC 3 19 13 Delete Character DEL 127 7F Unidirectional Printing on One Line ESC < 27 60 1B 3C Unidirectional Printing Mode ESC U 27 85 1B 55 Set MSB (Most Significant Bit) to 0 ESC = 27 61 1B 3D Set MSB (Most Significant Bit) to 1 ESC > 27 62 1B 3E Cancel MSB (Most Significant Bit) Control ESC # 27 35 1B 23 Carriage Return CR 13 0D Cancel Line CAN 24 18 Select Cut-Sheet Feeder Mode ESC EM 27 25 1B 19 Online MACRO ESC~A 27 126 65 1B 7E 41 VERTICAL MOTION COMMANDS ───────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Form Feed FF 12 0C Set Page Length in Lines ESC C 27 67 1B 43 Set Page Length in Inches ESC C 0 27 67 0 1B 43 00 Set Skip Over Perforation ESC N 27 78 1B 4E Cancel Skip Over Perforation ESC O 27 79 1B 4F Line Feed LF 10 0A Set 1/8-inch Line Spacing ESC 0 27 48 1B 30 Set 1/6-inch Line Spacing ESC 2 27 50 1B 32 Set n/180-inch Line Spacing ESC 3 27 51 1B 33 Set n/60-inch Line Spacing ESC A 27 65 1B 41 Set n/360-inch Line Spacing ESC + 27 43 1B 2B Set n/120-inch Line Spacing ESC~0 27 126 48 1B 7E 30 Perform n/180-inch Line Feed ESC J 27 74 1B 4A Perform n/180-inch Reverse Line Feed ESC j 27 106 1B 6A Set Vertical Tabs ESC B 27 66 1B 42 Set Vertical Tabs in Channels ESC b 27 98 1B 62 Select Vertical Tab Channel ESC / 27 47 1B 2F Vertical Tab VT 11 0B Fine-adjust Top of Form ESC~V 27 126 86 1B 7E 56 Select Alternate Top of Form ESC~T 27 126 84 1B 74 54 Paper Tear-off ESC~C 27 126 67 1B 7E 43 Set Absolute Vertical Print Position ESC ( V 27 40 86 1B 28 56 Set Relative Vertical Print Position ESC ( v 27 40 118 1B 28 76 Set Unit ESC ( U 27 40 85 1B 28 55 Set Page Length in Defined Unit ESC ( C 27 40 67 1B 28 43 Set Page Format ESC ( c 27 40 99 1B 28 63 HORIZONTAL MOTION COMMANDS ───────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Set Left Margin ESC I 27 108 1B 6C Set Right Margin ESC Q 27 81 1B 51 Backspace BS 8 08 Absolute Dot Tab ESC $ 27 36 1B 24 Relative Dot Tab ESC \ 27 92 1B 5C Set Horizontal Tabs ESC D 27 68 1B 44 Horizontal Tab HT 9 09 Set Horizontal Motion Index ESC c 27 99 1B 63 PRINTING STYLE COMMANDS ────────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Letter Quality ESC x 27 120 1B 78 Font Lock ESC~F 27 126 70 1B 7E 46 Select Font ESC k 27 107 1B 6B Master Select ESC ! 27 33 1B 21 Select NLQ Font ESC~x 27 126 120 1B 7E 78 PRINT SIZE COMMANDS ────────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Select 10 Pitch ESC P 27 80 1B 50 Select 12 Pitch ESC M 27 77 1B 4D Select 15 Pitch ESC g 27 103 1B 67 Select Condensed Mode SI 15 0F Cancel Condensed Mode DC2 18 12 Select Pitch ESC~3 27 126 51 1B 7E 33 Proportional Mode ESC p 27 112 1B 70 Select One-Line Double-width Mode SO 14 0E Cancel One-Line Double-width Mode DC4 20 14 Double-width Mode ESC W 27 87 1B 57 Double-height Mode ESC w 27 119 1B 77 Quadruple-width/height Mode ESC~1 27 126 49 1B 7E 31 Select Quarter Page Printing ESC~c 27 126 99 1B 7E 63 Select Font by Pitch and Point ESC X 27 88 1B 58 PRINT ENHANCEMENT COMMANDS ────────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Select Emphasized Mode ESC E 27 69 1B 45 Cancel emphasized Mode ESC F 27 70 1B 46 Select Double-strike Mode ESC G 27 71 1B 47 Cancel Double-strike Mode ESC H 27 72 1B 48 Select Superscript/Subscript Mode ESC S 27 83 1B 53 Cancel Superscript/Subscript Mode ESC T 27 84 1B 54 Underlining ESC - 27 45 1B 2D Underline/Overscore/Strike Through ESC ( - 27 40 45 1B 28 2D Character Style ESC q 27 113 1B 71 Select Italic Mode ESC 4 27 52 1B 34 Cancel Italic Mode ESC 5 27 53 1B 35 Justification Style ESC a 27 97 1B 61 Intercharacter Space ESC SP 27 32 1B 20 Reverse Print Mode ESC~2 27 126 50 1B 7E 32 Slashed Zero ESC~4 27 126 52 1B 7E 34 Select Print Color ESC r 27 114 1B 72 CHARACTER TABLE COMMANDS ────────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Select Character Table ESC t 27 116 1B 74 Enable Printable Characters ESC 6 27 54 1B 36 Enable Upper Control Codes ESC 7 27 55 1B 37 International character Set ESC R 27 82 1B 52 Select Code Page ESC~R 27 126 82 1B 7E 52 Select Windows Character ESC~s 27 126 115 1B 7E 73 Assign Character Table ESC ( t 27 40 116 1B 28 74 USER-DEFINED CHARACTER COMMANDS ────────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Define Characters ESC & 27 38 1B 26 Select User-defined Character Set ESC % 27 37 1B 25 Copy Character Set from ROM to RAM ESC : 27 58 1B 3A Print Data as Characters ESC ( ^ 27 40 94 1B 28 5E GRAPHICS COMMANDS ────────────────────────────────────────────────────────────────────────── Function ASCII Dec. Hex. Select Normal-density Graphics ESC K 27 75 1B 4B Select Double-density Graphics ESC L 27 76 1B 4C Select High-speed Double-density ESC Y 27 89 1B 59 Graphics Select Quadruple-density Graphics ESC Z 27 90 1B 5A Select Graphics Mode ESC * 27 42 1B 2A Reassign Graphics Mode ESC ? 27 63 1B 3F Select Graphics Mode ESC ( G 27 40 71 1B 28 47 Print Raster Graphics ESC . 27 46 1B 2E (ALL-12/07/95)