IBM Server Site

IBS Home Up

Epson Hex Codes

Additional Resources

IBS Setup

Use these codes for Epson thermal printer and MMF Heritage cash drawer:
-------------------------------------------
QUESTIONNAIRE MAINTENANCE PAGE 6
PRINTER CONFIGURATION
PRINTER ID . . . . . . . . . . . . . P6

PRINTER AREA ID . . . . . . . . . . . . FC
STORE (INVENTORY) LOC . . . . . . . . . 01
PRINTER MAKE & MODEL . . . . . . . . . EPSON TM-88 IV
HEX CHARACTERS:
1. COMPRESS PRINT . . . . . . . . 1B7030 <-- to open drawer
2. DOUBLE WIDTH CHARACTERS . . . . 9999
3. NORMAL WIDTH CHARACTERS . . . . 1D5642 <-- to cut paper
4. BEGIN UNDERLINE . . . . . . . . 1000
5. END UNDERLINE . . . . . . . . .
FORMS CODE:
1=CHANGEABLE 4=CASH RECEIPT TAPE
2=STOCK (WIDE) 5=PICKING TICKET
3=STOCK (NARROW) 6=INVOICE
. . . . . . . . . . . . . . . . 04

PARALLEL OR SERIAL PRINTER. . . P (P/S)

Additional Epson Printer Types (Non-Supported )

Epson LQ-2500 Printer Codes

Code DEC HEX Effect
BEL 7 07 Sound beeper
HT 9 09 Tab Horizontally
VT 11 0B Tab Vertically
CR 13 0D Carriage Return
SI 15 0F Select condensed printing
DC2 18 12 Cancel condensed printing
CAN 24 18 Cancel line
ESC SO 14 0E Select double-width printing (one line)
ESC EM 25 19 Cut-sheet feeder control
ESC ! 33 21 Master style select command
ESC $ 36 24 Set absolute dot position
ESC & 38 26 Define user-defined characters
ESC - 45 2D Turn underlining on/off
ESC 0 48 30 Select 1/8th inch line spacing
ESC 3 51 33 Select n/180 inch line spacing
ESC 5 53 35 Cancel italic characters
ESC 7 55 37 Cancel printable area expansion
ESC < 60 3C Uni-directional printing for one line
ESC > 61 3D Set eighth bit of incoming data
ESC @ 64 40 Initialize printer
ESC B 66 41 Set vertical tabs
ESC D 68 44 Set horizontal tabs
ESC F 70 46 Cancel emphasized printing
ESC H 72 48 Cancel emphasized printing
BS 8 08 Backspace
LF 10 0A Line Feed
FF 12 0C Form Feed
SO 14 0E Select double-width printing for one-line
DC1 17 11 Select Printer (Online)
DC4 20 14 Cancel double-width printing
DEL 127 7F Delete character
ESC SI 15 0F Select condensed printing
ESC SP 32 20 Set inter-character space
ESC # 35 23 Cancel eighth bit
ESC % 37 25 Turn user-defined character set on/off
ESC * 42 2A General bit-image command
ESC / 47 25 Select vertical tab channel
ESC 2 50 32 Select 1/6th line spacing
ESC 4 52 34 Select italic characters
ESC 6 54 36 Expand printable area
ESC : 58 3A Copy ROM character set into user-defined characters
ESC = Clear eighth bit of incoming data
ESC ? 63 3F Re-assign bit image commands
ESC A 65 41 Set n/60th inch line spacing
ESC C 67 43 Set page length in lines
ESC E 69 45 Select emphasized printing
ESC G 71 47 Select double-strike printing
ESC J 74 4A Perform n/180 inch line feed
ESC L 76 4C Select 8-bit double density bit image printing
ESC N 78 4E Set bottom margin
ESC P 80 50 Select 10-pitch characters
ESC R 82 52 Select international character set
ESC T 84 54 Cancel superscript/subscript mode
ESC W 87 57 Turn double width printing on/off
ESC Z 90 5A Elect 8-bit double speed double density bit image printing
ESC b 98 62 Set vertical tabs in channels
ESC k 107 6B Select font family
ESC p 112 70 Proportional characters on/off
ESC s 115 73 Turn half-speed mode on/off
ESC x 120 78 Select LQ or Draft
ESC K 75 4B Select 8-bit single density bit image printing
ESC M 77 4D Select 12-pitch characters
ESC O 79 4F Cancel bottom margin
ESC N 78 4E Set right margin
ESC S 83 53 Select superscript/ subscript mode
ESC U 85 55 Turn uni-directional printing on/off
ESC Y 89 59 Select 8-bit double speed double density bit image printing
ESC a 97 61 Set justification mode
ESC g 103 67 Select 15-pitch chars
ESC l 108 6C Set left margin
ESC r 114 72 Select printing color
ESC t 116 74 Select character table
ESC \ 92 5C Set relative dot position

Escape Codes LQ-510

ASCII DEC HEX Description
BEL 7 07 Beeper
BS 8 08 Backspace
HT 9 09 Tab horizontally
LF 10 0A Line feed
VT 11 0B Tab vertically
FF 12 0C Form feed
CR 13 0D Carriage return
SO 14 0E Select double-wide mode (one line)
SI 15 0F Select condensed mode
DC1 17 11 Select printer
DC2 18 12 Cancel condensed mode
DC3 19 13 Deselect printer
DC4 20 14 Cancel double-wide mode (one line)
CAN 24 18 Cancel line
DEL 127 7F Delete character
ESC SO 14 0E Select double-wide mode (one line)
ESC EM 25 19 Control cut sheet feeder
ESC SP 32 20 Set inter-character space
ESC ! 33 21 Master select
ESC # 35 23 Cancel MSB control
ESC $ 36 24 Set absolute print position
ESC % 37 25 Select user-defined set
ESC & 38 26 Define user-defined characters
ESC (- 40 28 Select score
ESC * 42 2A Select graphics mode
ESC + 43 2B Set n/360-inch line spacing
ESC - 45 2D Turn underline mode On/Off
ESC / 47 2F Select vertical tab channel
ESC 0 48 30 Select 1/8-inch line spacing
ESC 2 50 32 Select 1/6-inch line spacing
ESC 3 51 33 Select 1/180-inch line spacing
ESC 4 52 34 Select italic mode
ESC 5 53 35 Cancel italic mode
ESC 6 54 36 Enable printer characters
ESC 7 55 37 Enable upper control codes
ESC : 58 3A Copy ROM to RAM
ESC < 60 3C Select unidirectional mode (one line)
ESC = 61 3D Set MSB to 0
ESC > 62 3E Set MSB to 1
ESC ? 63 3F Reassign graphics mode
ESC @ 64 40 Initialize printer
ESC U 85 55 Turn unidirectional mode On/Off
ESC W 87 57 Turn double-wide mode On/Off
ESC Y 89 59 Select high-speed double-density graphics mode
ESC Z 90 5A Select quadruple-density graphics mode
ESC \ 92 5C Set relative print position
ESC a 97 61 Select justification
ESC b 98 62 Set vertical tabs in channels
ESC g 103 67 Select 15 cpi
ESC k 107 6B Select typestyle family
ESC l 108 6C Set left margin
ESC p 112 70 Turn proportional mode On/Off
ESC q 113 71 Select character style
ESC t 116 74 Select character table
ESC w 119 77 Turn double-high mode On/Off
ESC x 120 78 Select letter quality or draft

Escape Codes LQ-850

ASCII DEC HEX Description
BEL 7 07 Beeper
BS 8 08 Backspace
HT 9 09 Tab horizontally
LF 10 0A Line feed
VT 11 0B Tab vertically
FF 12 0C Form feed
CR 13 0D Carriage return
SO 14 0E Select double-wide (1 line)
SI 15 0F Select condensed mode
DC1 17 11 Select printer
DC2 18 12 Cancel condensed mode
DC3 19 13 Deselect printer
DC4 20 14 Cancel double-wide (1 line)
CAN 24 18 Cancel line
DEL 127 7F Delete character
ESC SO 14 0E Select double-wide (1 line)
ESC SI 15 0F Select condensed mode
ESC EM 25 19 Cut sheet feeder on/off
ESC SP 32 20 Set inter character space
ESC ! 33 21 Master select
ESC # 35 23 Cancel MSB control
ESC $ 36 24 Set absolute print position
ESC % 37 25 Select user-defined set
ESC & 38 26 Define user-defined characters
ESC (- 40 28 Select Score
ESC * 42 2A Select graphics mode
ESC + 43 2B Set n/360-inch Line Spacing
ESC - 45 2D Turn underlining on/off
ESC / 47 2F Select vertical tab channel
ESC 0 48 30 Select 1/8-inch line spacing
ESC 2 50 32 Select 1/6-inch line spacing
ESC 3 51 33 Select n/216-inch line spacing
ESC 4 52 34 Select italic mode
ESC 5 53 35 Cancel italic mode
ESC 6 54 36 Enable printable characters
ESC 7 55 37 Enable upper control codes
ESC : 58 3A Copy ROM into RAM
ESC < 60 3C Unidirectional mode (1 line)
ESC > 62 3E Set MSB to 1
ESC ? 63 3F Reassign graphics mode
ESC @ 64 40 Initialize printer
ESC A 65 41 Set n/72-inch line spacing
ESC B 66 42 Set vertical tabs
ESC C 67 43 Set page length in lines
ESC C0 67 43 Set page length in inches
ESC D 68 44 Set horizontal tabs
ESC E 69 45 Select emphasized mode
ESC F 70 46 Cancel emphasized mode
ESC G 71 47 Select double-strike mode
ESC H 72 48 Cancel double-strike mode
ESC J 74 4A Perform n/216-inch line feed
ESC K 75 4B Select single-density graphics
ESC L 76 4C Select double-density graphics
ESC M 77 4D Select 12 cpi
ESC N 78 4E Set skip over perforation
ESC O 79 4F Cancel skip over perforation
ESC P 80 50 Select 10 cpi
ESC Q 81 51 Set right margin
ESC R 82 52 International character set
ESC S0 83 53 Select superscript mode
ESC S1 83 53 Select subscript mode
ESC T 84 54 Cancel superscript/subscript
ESC U 85 55 Turn unidirectional mode on/off
ESC W 87 57 Turn double-wide on/off
ESC Y 89 59 High-speed double-density graphics
ESC Z 90 5A Quadruple-density graphics
ESC \ 92 5C Retrieve relative position
ESC a 97 61 Select justification
ESC b 98 62 Set vertical tabs in channels
ESC g 103 67 Select 15 CPI
ESC k 107 6B Select typestyle family
ESC l 108 6C Set left margin
ESC p 112 70 Turn proportional mode on/off
ESC q 113 71 Select character style
ESC t 116 74 Select character table
ESC w 119 77 Turn double-high on/off
ESC x 120 78 Select NLQ or draft

Escape Codes X-810

ASCII DEC HEX Description
BEL 7 07 Beeper
BS 8 08 Backspace
HT 9 09 Tab horizontally
LF 10 0A Line feed
VT 11 0B Tab vertically
FF 12 0C Form feed
CR 13 0D Carriage return
SO 14 0E Select double-wide mode (one line)
SI 15 0F Select condensed mode
DC1 17 11 Select printer
DC2 18 12 Cancel condensed mode
DC3 19 13 Deselect printer
DC4 20 14 Cancel double-wide mode (one line)
CAN 24 18 Cancel line
DEL 127 7F Delete character
ESC SO 14 0E Select double-wide mode (one line)
ESC EM 25 19 Control cut sheet feeder
ESC ! 33 21 Master select
ESC % 37 25 Select user-defined set
ESC & 38 26 Define user-defined characters (draft and LQ)
ESC * 42 2A Select graphics mode
ESC - 45 2D Turn underline mode On/Off
ESC / 47 2F Select vertical tab channel
ESC 0 48 30 Select 1/8-inch line spacing
ESC 1 49 31 Select 7/72-inch line spacing
ESC 2 50 32 Select 1/6-inch line spacing
ESC 3 51 33 Select 1/180-inch line spacing
ESC 4 52 34 Select italic mode
ESC 5 53 35 Cancel Italic mode
ESC 6 54 36 Enable printer characters
ESC 7 55 37 Enable upper control codes
ESC 8 56 38 Disable paper out detection
ESC 9 57 39 Enable paper out detection
ESC : 58 3A Copy ROM to RAM
ESC < 60 3C Select unidirectional mode (one line)
ESC ? 63 3F Reassign graphics mode
ESC @ 64 40 Initialize printer
ESC A 65 41 Set n/60-inch line spacing
ESC B 66 42 Set vertical tabs
ESC C 67 43 Set page length in inches
ESC C0 67 43 Set page length in inches
ESC D 68 44 Set horizontal tabs
ESC E 69 45 Select emphasized mode
ESC F 70 46 Cancel emphasized mode
ESC G 71 47 Select double-strike mode
ESC H 72 48 Cancel double-strike mode
ESC J 74 4A Perform n/180-inch line feed
ESC K 75 4B Select single-density graphics mode
ESC L 76 4C Select double-density graphics mode
ESC M 77 4D Select 12 cpi
ESC N 78 4E Set skip over perforation
ESC O 79 4F Cancel skip over perforation
ESC P 80 50 Select 10 CPI
ESC Q 81 51 Set right margin
ESC R 82 52 Select International character set
ESC S0 83 53 Select superscript mode
ESC S1 84 54 Select subscript mode
ESC T 85 55 Deselect superscript/subscript mode
ESC U 85 55 Turn unidirectional mode On/Off
ESC W 87 57 Turn double-wide mode On/Off
ESC Y 89 59 Select high-speed double-density graphics mode
ESC Z 90 5A Select quadruple-density graphics mode
ESC ^ 94 5E Select 9-pin graphics mode
ESC a 97 61 Select justification
ESC b 98 62 Set vertical tabs in channels
ESC e 101 65 Set tab increments
ESC f 102 66 Horizontal/vertical skip
ESC k 107 6B Select type style family
ESC l 108 6C Set left margin
ESC s 115 73 Turn half-speed mode On/Off
ESC t 116 74 Select character table
ESC x 120 78 Select letter quality or draft

LQ & FX Printing

ASCII DEC HEX Description ASCII DEC HEX Description
BEL 7 07 Beeper ESC > 62 3E Set MSB to 1
BS 8 08 Backspace ESC ? 63 3F Reassign graphics mode
HT 9 09 Tab horizontally ESC @ 64 40 Initialize printer
LF 10 0A Line feed ESC A 65 41 Set n/72-inch line spacing
VT 11 0B Tab vertically ESC B 66 42 Set vertical tabs
FF 12 0C Form feed ESC C 67 43 Set page length in lines
CR 13 0D Carriage return ESC C0 67 67 Set page length in inches
SO 14 0E Select double-wide (1 line) ESC D 68 44 Set horizontal tabs
SI 15 0F Select condensed mode ESC E 69 45 Select emphasized mode
DC1 17 11 Select printer ESC F 70 46 Cancel emphasized mode
DC2 18 12 Cancel condensed mode ESC G 71 47 Select double-strike mode
DC3 19 13 Deselect printer ESC H 72 48 Cancel double-strike mode
DC4 20 14 Cancel double-wide (1 line) ESC J 74 4A Perform n/216-inch line feed
CAN 24 18 Cancel line ESC K 75 4B Select single-density graphics
DEL 127 7F Delete character ESC L 76 4C Select double-density graphics
ESC SO 14 0E Select double-wide (1 line) ESC M 77 4D Select 12 cpi
ESC SI 15 0F Select condensed mode ESC N 78 4E Set skip over perforation
ESC EM 25 19 Cut sheet feeder on/off ESC O 79 4F Cancel skip over perforation
ESC SP 32 20 Set inter character space ESC P 80 50 Select 10 cpi
ESC ! 33 21 Master select ESC Q 81 51 Set right margin
ESC # 35 23 Cancel MSB control ESC R 82 52 International character set
ESC $ 36 24 Set absolute print position ESC S0 83 53 Select superscript mode
ESC % 37 25 Select user-defined set ESC S1 83 53 Select subscript mode
ESC & 38 26 Define user-defined characters ESC T 84 54 Cancel superscript/subscript
ESC (- 40 28 Select Score ESC U 85 55 Turn unidirectional mode on/off
ESC * 42 2A Select graphics mode ESC W 87 57 Turn double-wide on/off
ESC + 43 2B Set n/360-inch Line Spacing ESC Y 89 59 High-speed dbl-density graphics
ESC - 45 2D Turn underlining on/off ESC Z 90 5A Quadruple-density graphics
ESC / 47 2F Select vertical tab channel ESC \ 92 5C Retrieve relative position
ESC 0 48 30 Select 1/8-inch line spacing ESC a 97 61 Select justification
ESC 2 50 32 Select 1/6-inch line spacing ESC b 98 62 Set vertical tabs in channels
ESC 3 51 33 Select n/216-inch line spacing ESC g 103 67 Select 15 CPI
ESC 4 52 34 Select italic mode ESC k 107 6B Select typestyle family
ESC 5 53 35 Cancel italic mode ESC l 108 6C Set left margin
ESC 6 54 36 Enable printable characters ESC p 112 70 Turn proportional mode on/off
ESC 7 55 37 Enable upper control codes ESC q 113 71 Select character style
ESC : 58 3A Copy ROM into RAM ESC t 116 74 Select character table
ESC < 60 3C Unidirectional mode (1 line) ESC w 119 77 Turn double-high on/off
ESC = 61 3D Set MSB to 0 ESC x 120 78 Select NLQ or draft

NOTE!! The ESC character is DEC 027 or HEX 1B. Use the above table to determine which character code (Dec or Hex) that should be sent after the ESC character.

EXAMPLE. To set the "emphasized" mode in the printer, either of the following character strings may be sent.

ASCII…..ESC….E

Decimal…027…..069

Hex……..1B……45

IBS Lumber and Building Material Software Copyright © 2006 IBS Lumber Software Inc (TM)
Last modified: November 7, 2011

IBS Sales & Support 888-640-1252
Main Office 888-640-1252
Fax IBS 877-712-8937

All pages contained in this support website are not intended for general public distribution. Any material here can be considered private, confidential with various copyrights and restrictions against public release. You 'the browser' cannot legally release this information for general public distribution.

remote support: http://www.gotomeeting.com | remote support download program