DMP-240 (260-2839) Control Codes Faxback Doc. # 4345 EPSON COMMANDS Printer operation/data control commands ASCII DEC. HEX. ───────────────────────────────────┬───────────────┬──────────────┬─────────── Initialize Printer │ESC @ │27 64 │1B 40 Select Emulation │ESC ~ 5 │27 126 53 │1B 7E 35 Select Printer │DC1 │17 │11 Deselect Printer │DC3 │19 │13 Delete Character │DEL │127 │7F Unidirectional Printing on 1 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) │ESC # │27 35 │1B 23 Control │ │ │ Carriage Return │CR │13 │0D Cancel Line │CAN │24 │18 ───────────────────────────────────┴───────────────┴──────────────┴─────────── Vertical motion commands ────────────────────────────────────────────────────────────────────────────── 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" Line Spacing │ESC 0 │27 48 │1B 30 Set 1/6" Line Spacing │ESC 2 │27 50 │1B 32 Set n/180" Line Spacing │ESC 3 │27 51 │1B 33 Set n/60" Line Spacing │ESC A │27 65 │1B 41 Set n/360" Line Spacing │ESC + │27 43 │1B 2B Set n/120" Line Spacing │ESC ~ 0 │27 126 48 │1B 7E 30 Perform n/180" Line Feed │ESC J │27 74 │1B 4A 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 ───────────────────────────────┴───────────────┴──────────────┴─────────────── Horizontal motion commands ───────────────────────────────┬───────────────┬──────────────┬─────────────── Select Left Margin │ESC l │27 108 │1B 6C Select 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 ───────────────────────────────┴───────────────┴──────────────┴─────────────── Printing style commands ───────────────────────────────┬───────────────┬──────────────┬─────────────── Letter Quality │ESC x │27 120 │1B 78 Select Font │ESC k │27 107 │1B 6B Master Select │ESC ! │27 33 │1B 21 ───────────────────────────────┴───────────────┴──────────────┴─────────────── Print size commands ───────────────────────────────┬───────────────┬──────────────┬─────────────── Select 10 Pitch │DC2 │18 │12 Select 12 Pitch │ESC : │27 58 │1B 3A Select Elite Printing Speed │ESC ~ B │27 126 66 │1B 7E 42 Select 15 Pitch |ESC g |27 103 |1B 67 Select Condensed Mode │SI │15 │0F Select Condensed Mode │ESC SI │27 15 │1B 0F Cancel Condensed Mode │DC2 │18 │12 Proportional Mode │ESC p │27 112 │1B 70 Select Pitch │ESC ~ 3 │27 126 51 │1B 7E 33 Select 1-line Double-width Mode│SO │14 │0E Cancel 1-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 ───────────────────────────────┴───────────────┴──────────────┴─────────────── Print enhancement commands ───────────────────────────────┬───────────────┬──────────────┬─────────────── 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 Super-/Subscript Mode │ESC S │27 83 │1B 53 Cancel Super-/Subscript Mode │ESC T │27 84 │1B 54 Underlining │ESC - │27 45 │1B 2D Underline/Overscore/Strike Thru│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 ───────────────────────────────┬───────────────┬──────────────┬─────────────── Italics/Graphics Mode │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 ───────────────────────────────┴───────────────┴──────────────┴─────────────── User-defined characters commands ──────────────────────────────────┬────────────┬──────────────┬─────────────── 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 ──────────────────────────────────┴────────────┴──────────────┴─────────────── Graphics commands ──────────────────────────────────────────┬───────┬─────────────┬───────────── 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 Graphics │ ESC Y │ 27 89 │1B 59 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 ──────────────────────────────────────────┴───────┴─────────────┴───────────── (css 07/26/93)