Service manual
Confidential BTP-M280 Service Manual
- 39 -
Appendix 2 Command list
Code Hex Dec Function
HT 09 009
Horizontal tab
LF 0A 010
Print and line feed
CR 0D 013 Print and carriage return
DLE EOT n 10 04 n 016 004 n
Real-time status transmission
DLE ENQ n 10 05 n 016 005 n
Real-time request to printer
DLE DC4 10 14 016 020 Generate pulse at real-time
XON 11 017 Allow data back
XOFF 13 019 Forbid data back
ESC SP n 1B 20 n 027 032 n Set right-side character spacing
ESC ! n 1B 21 027 033 n Select print mode(s)
ESC % n 1B 25 n 027 037 n Select/cancel user-defined character set
ESC & 1B 26 027 038
Define user-defined characters
ESC * 1B 2A 027 042
Select bit-image mode
ESC - n 1B 2D n 027 045 n
Turn underline mode on/off
ESC 2 1B 32 027 050
Select default line spacing
ESC 3 n 1B 33 n 027 051 n
Set line spacing
ESC < 1B 3C 027 060
Select peripheral device
ESC = n 1B 3D n 027 61 n
Cancel user-defined characters
ESC ? n 1B 3F n 027 063 n
Initialize printer
ESC @ 1B 40 027 064
Set horizontal tab positions
ESC D 1B 44 027 068
Turn emphasized mode on/off
ESC E n 1B 45 n 027 069 n
Turn double-strike mode on/off
ESC G n 1B 47 n 027 071 n
Print and feed paper
ESC J n 1B 4A n 027 074 n
Select page mode
ESC K n 1B 4B n 027 075 n
Select character font
ESC M n 1B 4D n 027 077 n
Select an international character set
ESC R n 1B 52 n 027 082 n
Define user-defined characters
ESC U n 1B 55 n 027 085 n Select /cancel unidirectional printing mode
ESC a n 1B 61 n 027 097 n Select justification
ESC c 3 n 1B 63 33 n 027 099 051 n
Select paper sensor(s) to output paper-end signals
ESC c 4 n 1B 63 34 n 027 099 052 n
Select paper sensor(s) to stop printing
ESC c 5 n 1B 63 35 n 027 099 053 n
Enable/disable panel buttons
ESC d n 1B 64 n 027 100 n Print and feed n lines
ESC e n 1B 65 n 027 101 n Print and reverse feed n lines
ESC p m 1B 70 n 027 112 m General pulse
ESC r n 1B 72 n 027 114 n Select print color
ESC t n 1B 74 n 027 116 n Select code page
ESC { n 1B 7B n 027 123 n Select/cancel up-side printing
FS p n m 1C 70 n m 028 112 n m Print NV bit image
FS q 1C 71 028 113 Download NV bit image
GS FF 1D 0C 029 012 Locate marked paper
GS ( A 1D 28 41 029 040 065 Execute test print