9 09 HT Horizonal tab. Empties buffer before movint to next tab stop.
10 0A LF Line feed
11 0B VT Vertical tab
12 0C FF Form Feed
13 0D CR Carriage return
14 0E SO Shifts out. Turns enlarged mode on for the length of the line. Same as Escape S9. Can be canceled by ASCII 20 or Escape "W0". Works with pica, elite or condensed mode.
15 0F SI Shift in. Turns condensed mode on (17.16 cpi). Cannot be mixed with emphasized or pica mode.
18 12 DC2 Clears condensed mode
20 14 DC4 Turns enlarged mode on set by ASCII 14 OFF
24 18 CAN Cancels all text but not control codes in the printer buffer.
27 1B ESC Escape
Y 45 2D - Turns underline mode on. Format: ESC "-"n Where n toggles underline on or off. 0 turns it off, 1 turns it on.
Y 48 30 0 Sets line spaceing to 1/8 inch (9 dot)
Y 49 31 1 Sets line spacing to 7/72 inch (7 dot)
Y 50 32 2 Sets line spacing to a previous definition (ESC "A")
ESC DEC HEX Symbol Function
Y 51 33 3 Sets line spacing
ESC DEC HEX Symbol Function
Y 51 33 3 Sets line spacing to n/216 inch. 1/216 inch is 1/3 dot. Format: ESC "3"n
Y 53 35 5 Turns auto line feed mode on Format: ESC "5"n 1=on, 0=off
Y 54 36 6 IBM character set 2
Y 55 37 7 IBM character set 1
Y 56 38 8 Turns off paper out sensot
Y 57 39 9 Turns on paper sensor
Y 58 3A : Turns on elite mode (Draft only)
Y 60 3C < Turns on one-line uniderictional mode
Y 64 40 @ Reset to power on state
Y 65 41 A Sets line spacing to n/72 inch (n Dot) Format: ESC "A"n Where n=0-255. Value effective after setting ESC "2"
Y 66 42 B Sets up 16 vertical tabs in the current lune spacing. Tab setting are not effected by line spacing changes. Terminate this tab with 0 or a number less than the las vertical tab. Format: ESC "B"n
,...n
Y 67 43 C Sets form length (ESC "C" n) in n lines in the current line spacing. The default is 66. Also set top of form. n=1-127
Y 67 43 C Sets the form to inches regardless of the current spacing. The default is 11 inches. Format ESC "C"0n n=1-22
Y 68 44 D Resets current tabs & sets up 32 horizontal tabs in the current pitch. Tabs are not effected by changes in pitch. ESC "D" n
,...n
ESC DEC HEX Symbol Function
Y 69 45 E Turns on emphasized mode. Can not mix with elite or compressed mode.
Y 70 46 F Turns off emphasized mode
Y 71 47
ESC DEC HEX Symbol Function
Y 69 45 E Turns on emphasized mode. Can not mix with elite or compressed mode.
Y 70 46 F Turns off emphasized mode
Y 71 47 G Turns on Double-Strike mode. Can not use with NLQ.
Y 72 48 H Turns off double strike
Y 74 4A J Forces an immediate line feed of n/216 inch without changing the current line spacing.
Y 75 4B K Turns single density graphics mode on. Format: ESC "K"n
followed by data numbers. Where n=total number of dot columns. n
=nMOD 256 and n
=INT(n/256) I.E.: n
=244,n
=1 to print 480 dots
Y 76 4C L Turns on low-speed double density graphics mode (ESC "L"n
) I.E.: n
=192,n
=3 to print 960 dots
Y 78 4F N Skip perforation to n lines. (ESC "N"n)
Y 79 4F O Turns skip perforation off
Y 82 52 R Initializes tabs to default settings.
Y 83 53 S Turns on script mode. (ESC "S"CHR$(n)) n=0 for superscript and n=1 for subscript.
Y 84 54 T Turns script mode off
Y 85 55 U Toggles unidirectional mode on (ESC "U"n) On for n=1, off for n=0
Y 87 57 W Turns on enlarged mode which stays on until turned off. Can not be turned off with ASCII 20. (ESC "W"n)
ESC DEC HEX Symbol Function
Y 88 58 X Sets left & right margins. (ESC "X" lm rm
Y 89 59 Y Turns high-speed double density graphics mode on. Prints same density as ESC "
ESC DEC HEX Symbol Function
Y 88 58 X Sets left & right margins. (ESC "X" lm rm
Y 89 59 Y Turns high-speed double density graphics mode on. Prints same density as ESC "L" but cannot print 2 adjacent dots in same row.
Y 90 5A Z Turns on quad density graphics. (ESC "Z",n1,n2) I.E. ESC "Z",128,7 prints 1920 dots per line.
Y 120 78 x Select NLQ or draft. (ESC "x"n) Draft = 0, and NLQ=1
ASCII codes
0 Terminates tab sequence
7 Sounds beeper
9 Activates horizontal tab
10 Activates line feed
11 Activates vertical tab
12 Activate form feed
13 Activates CR
15 Condensed mode on
18 Condensed mode off
14 Turns on one-line enlarged mode
20 Turns one line enlarged mode off
24 Cancels all text but not control codes to the print buffer
DIP SWITCHES
@1-1 Off Commodore mode
ON 5152+ mode
Commodore mode
Switch On Off Function
2 5 4 Device number
3 Mute Beep Buzzer
4 valid invalid controls sheet feeder
5 NLQ Draft NLQ/Draft switch
6 12 11 Page length
7 Inactive Active Paper end detector
8 valid invalid Uni-directional printing
ip perII 20
5152+ Mode
Switch On Off Function
2 5 4 Device number
2 Table 2 Table 1 Character graphic select
3 Serial Parallel Interface
4 valid invalid controls sheet feeder
5 NLQ Draft NLQ/Draft switch
6 12 11 Page length
7 Inactive Active Paper end detector
8 valid invalid Auto LF with CR
Technical Specs
CBM Mode
9 pin print head
100 characters per second in draft (pica) mode
20 CPS in NLQ mode
50 CPS in enlarged mode
Line spacing 1/216 inch (1/6 " at power on)
Dot matrix format: 12x18 NLQ
9x8 standard characters
6x8 standard graphic characters
IBM Mode
Pitch Speed Columns
Pica (Standard Pitch) 100 CPS 80
Enlarged 50 CPS 40
Emphasized 50 CPS 80
Enlarged Emphasized 25 CPS 40
Condensed 82 CPS 132
Enlarged Condensed 41 CPS 66
Elite 60 CPS 96
Enlarged Elite 30 CPS 48
Condensed Elite 100 CPS
Dot matrix 9x9 standard
6x12 standard graphic characters
12x18 NLQ
4 valid invalid controls sheet feeder
5 NLQ Draft NLQ/Draft switch
6 12 11 Page length
7 Inactive Active Paper end detector
8 valid invalid Uni-directional printing
ni-directional printing
I know that many people will find this doc useful. I've had this doc available on Q-Link for a couple of years now, with the thought that it would get passed around where it was needed.