LP 1000 (260-2804) IBM Control Codes Faxback Doc. # 4727
The following table shows codes in IBM emulation mode.
__________________________________________________________________________
HEX |DEC |ASCII |FUNCTION
_____:______:____________:________________________________________________
00 |00 |NUL |Terminator.
_____:______:____________:________________________________________________
07 |07 |BEL |Ignored.
_____:______|____________|________________________________________________
08 |08 |BS |Backspace.
_____|______|____________|________________________________________________
09 |09 |HT |Horizontal tab.
_____|______|____________|________________________________________________
0A |10 |LF |Line feed.
_____|______|____________|________________________________________________
0B |11 |VT |Vertical tab.
_____|______|____________:________________________________________________
0C |12 |FF |Form feed.
_____|______|____________|________________________________________________
0D |13 |CR |Carriage return.
_____|______|____________|________________________________________________
0E |14 |SO |Enter double-width print mode.
_____|______|____________|________________________________________________
0F |15 |SI |Select condensed (16.7 CPI) Character
| | |spacing.
_____|______|____________|________________________________________________
11 |17 |DC1 |Select printer.
_____|______|____________|________________________________________________
12 |18 |DC2 |Select 10 CPI Character spacing (default).
_____|______|____________|________________________________________________
13 :19 |DC3 |Ignored.
_____|______|____________|________________________________________________
14 |20 |DC4 :End double-width print mode.
_____|______|____________|________________________________________________
18 |24 |CAN |Cancel data.
_____|______|____________|________________________________________________
1B |27 |ESC BEL |Ignored.
07 | 07 | |
_____|______|____________|________________________________________________
1B |27 |ESC BS |Backspace (same as BS).
08 | 08 | |
_____|______|____________|________________________________________________
1B |27 |ESC HT |Horizontal tab (Same as HT).
09 | 09 | |
_____|______|____________|________________________________________________
1B |27 |ESC LF |Line feed (same as LF).
0A | 10 | |
_____|______|____________|________________________________________________
1B |27 |ESC VT |Vertical tab (same as VT).
0B | 11 | |
_____|______|____________|________________________________________________
1B |27 |ESC FF |Form feed (Same as FF).
0C | 12 | |
_____|______|____________|________________________________________________
1B |27 |ESC CR |Carriage return (Same as CR).
0D | 13 | :
_____:______:____________:________________________________________________
1B |27 |ESC SO |Enter double-width print mode (same as SO).
OE | 14 | |
_____|______|____________|________________________________________________
1B |27 |ESC SI |Select condensed (16.7 CPI) character spacing
0F | 15 | |(same as SO).
_____|______|____________|________________________________________________
1B |27 |ESC DC1 |Select printer (same as DC1).
11 | 17 | |
_____|______|____________|________________________________________________
1B |27 |ESC DC2 |Select 10 CPI character spacing (default; same
12 | 18 | |as DC2).
_____:______:____________:________________________________________________
1B |27 |ESC DC3 |Ignored (same as DC3).
13 | 19 | |
_____|______|____________|________________________________________________
1B |27 |ESC DC4 |End double-width print mode (same as DC4).
14 | 20 | |
_____|______|____________|________________________________________________
1B |27 |ESC CAN |Cancel data (same as CAN).
18 | 24 | |
_____|______|____________|________________________________________________
1B |27 |ESC ! |Return to Tandy mode.
21 | 33 | |
_____|______|____________|________________________________________________
1B |27 |ESC - n |Begin/end underlining.
2D | 45 | | n = 0: End underlining
n | n | | 1: Begin underlining
| | | Default = Off
_____|______|____________|________________________________________________
1B |27 |ESC 0 |Set 1 /8" line feed.
30 | 48 | |
_____|______|____________|________________________________________________
1B |27 |ESC 1 |Set 7/72", line feed.
31 | 49 | |
_____|______|____________|________________________________________________
1B |27 |ESC 2 |Execute ESC A setting.
32 | 50 | |
_____|______|____________|________________________________________________
1B |27 |ESC 3 n |Change line feed distance to n/216".
33 | 51 | | 1<n<255
n | n | | - -
_____|______|____________|________________________________________________
1B |27 |ESC 4 |Set top margin at current line.
34 | 52 | |
_____|______|____________|________________________________________________
1B |27 |ESC 5 n |Set CR-LF mode.
35 | 53 | | n=0: CR only
n | n | | 1: CR+LF
_____|______|____________|________________________________________________
1B |27 |ESC 6 |Select Character Set 2.
36 | 54 | |
_____|______|____________|________________________________________________
1B |27 |ESC 7 |Select Character Set 1.
37 | 55 | |
_____|______|____________|________________________________________________
1B |27 |ESC 8 |Ignored.
38 | 56 | |
_____|______|____________|________________________________________________
1B |27 |ESC 9 |Ignored.
39 | 57 | |
_____|______|____________|________________________________________________
1B |27 |ESC : |Select 12 CPI Character spacing.
3A | 58 | |
_____|______|____________|________________________________________________
1B |27 |ESC < |Home head.
3C | 60 | |
_____|______|____________|________________________________________________
1B |27 |ESC = ... |Download character set.
3D | 61 | |
. : . : :
: : : : :
_____|______|____________|________________________________________________
1B |27 |ESC A n |Change line feed distance to n/72".
41 | 65 | | 1<n<85
n | n | | - -
_____|______|____________|________________________________________________
1B |27 |ESC B n1 |Set vertical tabs (up to 64 tab stops at
42 | 66 | ... NUL |positions specified by n(x)).
n1 | n1 | |n(x) < n(x+1)
. | . | |
: : : : :
00 | 00 | |
_____:______:____________:________________________________________________
1B |27 |ESC C n |Set number of lines per page.
43 | 67 | | 1<n<255
n | n | |
_____|______|____________|________________________________________________
1B |27 |ESC C |Set page length to m inches.
43 | 67 |NUL m |
00 | 00 | |
m | m | |
_____|______|____________|________________________________________________
1B |27 |ESC D |Set horizontal tabs up to 28 tab stops at
44 | 68 |... NUL |positions specified by n(x).
n | n1 | | n(x) < n(x+1)
. | . | |
: : : : :
00 | 00 | |
_____|______|____________|________________________________________________
1B |27 |ESC E |Select emphasized mode.
45 | 69 | |
_____|______|____________|________________________________________________
1B |27 |ESC F |End emphasized mode (default).
46 | 70 | |
_____|______|____________|________________________________________________
1B |27 |ESC G |Select double-strike print.
47 | 71 | |
_____|______|____________|________________________________________________
1B |27 |ESC H |Cancel double-strike print.
48 | 72 | |
_____|______|____________|________________________________________________
1B |27 |ESC I n |Select font n.
49 | 73 | |resident = 0,1,2
n | n | |download = 4,6
_____:______:____________:________________________________________________
1B |27 |ESC J n |Execute one line feed of n/216" (distance
4A | 74 | |resets to previous value).
n | n | | 1<n<255
| | | - -
_____:______:____________:________________________________________________
1B |27 |ESC K |60 dpi bit image mode.
4B | 75 | n1 n2 | n1 is LSB, n2 is MSB.
n1 | n1 | vl ... | (n2 x 256)+n1 = no. of data columns
n2 | n2 | | v1...=actual bit image data
v1 | v1 | |
... | ... | |
_____|______|____________|________________________________________________
1B |27 |ESC L |120 dpi bit image mode.
4C | 76 | n1 n2 | n1 is LSB, n2 is MSB.
n1 | n1 | v1 ... | (n2 x 256)+n1=no. of data columns
n2 | n2 | | v1...=actual bit image data
v1 | v1 | |
... | ... | |
_____|______|____________|________________________________________________
1B |27 |ESC N n |Set bottom margin
4E | 78 | | ((lines/page)-n:margin) or perforation
n | n | | skip (n=no.of lines).
_____|______|____________|________________________________________________
1B |27 |ESC O |Cancel bottom margin or perforation skip.
4F | 79 | |
_____|______|____________|________________________________________________
1B |27 :ESC Q n |Deselect printer.
51 | 81 | | n=3
n : n | |
_____|______|____________|________________________________________________
1B |27 |ESC R |Reset all tabs.
52 | 82 | |
_____|______|____________|________________________________________________
1B |27 |ESC S n |Select super-/subscript printing.
53 | 83 | | n=0: superscript
n | n | | 1: subscript
_____|______|____________|________________________________________________
1B |27 |ESC T |Cancel super-/subscript printing (default).
54 | 84 | |
_____|______|____________|________________________________________________
1B |27 |ESC U n |Ignored.
55 | 85 | |
n | n | |
_____|______|____________|________________________________________________
1B |27 |ESC W n |Select/cancel double-width printing.
57 | 87 | | n=0: cancel double-width
n | | | 1: select double-width
_____|______|____________|________________________________________________
1B |27 |ESC Y |120 dpi bit image mode.
59 | 89 | n1 n2 | n1 is LSB, n2 is MSB.
n1 | n1 | v1 ... | (n2 x 256) + nl = no. of data columns
n2 | n2 | | v1 ... = actual bit image data
v1 | v1 | |
... | ... | |
_____|______|____________|________________________________________________
1B |27 |ESC Z |240 dpi bit image mode.
5A | 90 | n1 n2 | n1 is LSB, n2 is MSB.
n1 | n1 | v1... | (n2 x 256) + n1 = no. of data columns
n2 | n2 | | v1 ... = actual bit image data
v1 | v1 | |
... | ... | |
_____|______|____________|________________________________________________
1B |27 |ESC \ |Print continuously from All Characters
5C | 92 | n1 n2 |Chart including those below 20H.
n1 | n1 | | no. of chars = (n2 x 256) + n1
n2 | n2 | | n1 is LSB, n2 is MSB
_____|______|____________|________________________________________________
1B |27 |ESC ] |Execute 1/6" reverse line feed.
5D | 93 | |
n | n | |
_____|______|____________|________________________________________________
1B |27 | ESC ^ n |Print single character from All Characters
5E | 94 | |Chart.
n | n | |
_____|______|____________|________________________________________________
1B |27 |ESC _n |Start/end overscoring.
5F | 95 | | n = 0: end overscore
n | n | | 1: start overscore
_____|______|____________|________________________________________________
1B |27 |ESC BEL |Ignored.
87 | 135 | |
_____|______|____________|________________________________________________
1B |27 |ESC BS |Backspace (same as BS).
88 | 136 | |
_____:______|____________|________________________________________________
1B |27 |ESC HT |Horizontal tab (same as HT).
89 | 137 | |
_____:______:____________:________________________________________________
1B |27 |ESC LF |Line feed (same as LF).
8A | 138 | |
_____|______|____________|________________________________________________
1B |27 |ESC VT |Vertical tab (same as VT).
8B | 139 | |
_____|______|____________|________________________________________________
1B |27 |ESC FF |Form feed (same as FF).
8C | 140 | |
_____|______|____________|________________________________________________
1B |27 |ESC CR |Carriage return (same as CR).
8D | 141 | |
_____|______|____________|________________________________________________
1B |27 |ESC SO |Enter double-width print mode (same as SO).
8E | 142 | |
_____|______|____________|________________________________________________
1B |27 |ESC SI |Select condensed (16.7 CPI) character
8F | 143 | |spacing (same as SI).
_____|______|____________|________________________________________________
1B |27 |ESC DC2 |Select 10 CPI character spacing (default;
92 | 146 | |same as DC2).
_____|______|____________|________________________________________________
1B |27 |ESC DC4 |End double-width print mode (Same as DC4).
94 | 148 | |
_____|______|____________|________________________________________________
1B |27 |ESC CAN |Cancel data (same as CAN).
98 | 152 | |
_____|______|____________|________________________________________________
87 |135 |BEL |Ignored.
_____|______|____________|________________________________________________
88 |136 |BS |Backspace.
_____|______|____________|________________________________________________
89 |137 |HT |Horizontal tab.
_____|______|____________:________________________________________________
8A |138 |LF |Line feed.
_____|______|____________|________________________________________________
8B |139 |VT |Vertical tab.
_____|______|____________|________________________________________________
8C |140 |FF :Form feed.
_____|______|____________|________________________________________________
8D |141 |CR |Carriage return.
_____|______|____________|________________________________________________
8E |142 |SO |Enter double-width print mode.
_____|______|____________|________________________________________________
8F |143 |SI |Select condensed (16.7 CPI) Character spacing.
_____|______|____________|________________________________________________
92 |146 |DC2 |Select 10 CPI character spacing (default).
_____|______|____________|________________________________________________
94 |148 |DC4 |End double-width print mode.
_____|______|____________|________________________________________________
98 |152 |CAN |Cancel data (same as CAN).
_____|______|____________|________________________________________________
9B |155 |ESC |Same as 1 BH (for commands).
_____:______:____________:________________________________________________
(dkh-07/27/93)
(smc-09/14/93)
Privacy Policy