ImageWriter Printer Codes
=========================
==============================================================================
Standard Control Codes
==============================================================================
Dec Cmd Control Normal Meaning Effect
------------------------------------------------------------------------------
0 NUL Ctrl-@ Null Undefined
1 SOH Ctrl-A Start of heading (Home) Undefined
2 STX Ctrl-B Start of text Undefined
3 ETX Ctrl-C End of text (Enter) Undefined
4 EOT Ctrl-D End of transmission End download of characters
5 ENQ Ctrl-E Enquiry Undefined
6 ACK Ctrl-F Acknowledge Undefined
7 BEL Ctrl-G Sounds printer bell/buzzer Undefined
8 BS Ctrl-H Back Space (Delete) Moves head back one character
9 HT Ctrl-H Horizontal Tabulation (Tab) Undefined
10 LF Ctrl-J Line feed Undefined
11 VT Ctrl-K Vertical Tabulation Undefined
12 FF Ctrl-L Form Feed (Page Down) Feed to top of form
13 CR Ctrl-M Carriage Return (Return) Undefined
14 SO Ctrl-N Shift out Headline on
15 SI Ctrl-O Shift in Headline off
------------------------------------------------------------------------------
16 DLE Ctrl-P Data link escape Undefined
17 DC1 Ctrl-Q Device control 1 Undefined
18 DC2 Ctrl-R Device control 2 Undefined
19 DC3 Ctrl-S Device control 3 Undefined
20 DC4 Ctrl-T Device control 4 Undefined
21 NAK Ctrl-U Not Acknowledge Undefined
22 SYN Ctrl-V Synchronous idle Undefined
23 ETB Ctrl-W End of transmission block Undefined
24 CAN Ctrl-X Cancel Cancel unprinted text
25 EM Ctrl-Y End of medium Undefined
26 SUB Ctrl-Z Substitute Undefined
27 ESC Ctrl-[ Escape See sequences below
28 FS Ctrl-\ File separator Undefined
29 GS Ctrl-] Group separator Undefined
30 RS Ctrl-^ Record separator Undefined
31 US Ctrl-_ Unit separator Undefined
------------------------------------------------------------------------------
==============================================================================
Special Sequences
==============================================================================
Sequence Effect
------------------------------------------------------------------------------
31 n US n Feed n lines
==============================================================================
Escape Sequences
==============================================================================
ESC Sequence Effect
------------------------------------------------------------------------------
27 0 ESC NUL Undefined
27 1 ESC SOH Undefined
27 2 ESC STX Undefined
27 3 ESC ETX Undefined
27 4 ESC EOT Undefined
27 5 ESC ENQ Undefined
27 6 ESC ACK Undefined
27 7 ESC BEL Undefined
27 8 ESC BS Undefined
27 9 ESC HT Undefined
27 10 ESC LF Undefined
27 11 ESC VT Undefined
27 12 ESC FF Undefined
27 13 ESC CR Undefined
27 14 ESC SO Undefined
27 15 ESC SI Undefined
------------------------------------------------------------------------------
27 16 ESC DLE Undefined
27 17 ESC DC1 Undefined
27 18 ESC DC2 Undefined
27 18 ESC DC2 Undefined
27 19 ESC DC3 Undefined
27 20 ESC DC4 Undefined
27 21 ESC NAK Undefined
27 22 ESC SYN Undefined
27 23 ESC ETB Undefined
27 24 ESC CAN Undefined
27 25 ESC EM Undefined
27 26 ESC SUB Undefined
27 27 ESC ESC Undefined
27 28 ESC FS Undefined
27 29 ESC GS Undefined
27 30 ESC RS Undefined
27 31 ESC US Undefined
------------------------------------------------------------------------------
27 32 ESC SP Undefined
27 33 ESC ! Boldface on
27 34 ESC " Boldface off
27 35 ESC # Undefined
27 36 ESC $ Use first 96 ASCII characters in ROM
27 37 ESC % Undefined
27 38 ESC & Use MouseText characters for codes 192 to 223
27 39 ESC ' Select normal ASCII downloaded characters
27 40 a b … . Set horiz tabs (full-stop required at end)
ESC ( a b … .
27 41 a b … . Clear selected tabs (full-stop required)
ESC ) a b … .
27 42 ESC * Select high ASCII downloaded characters
27 43 ESC + Use 16-column max width characters
27 44 ESC , Undefined
27 45 ESC - Use 8-column max width characters
27 46 ESC . Undefined
27 47 ESC / Undefined
------------------------------------------------------------------------------
27 48 ESC 0 Clear all horiz tabs
27 49 ESC 1 Undefined
27 50 ESC 2 Undefined
27 51 ESC 3 Undefined
27 52 ESC 4 Undefined
27 53 ESC 5 Undefined
27 54 ESC 6 Undefined
27 55 ESC 7 Undefined
27 56 ESC 8 Undefined
27 57 ESC 9 Undefined
27 58 ESC : Undefined
27 59 ESC ; Undefined
27 60 ESC < Print bidirectional
27 61 ESC = Undefined
27 62 ESC > Print left to right only
27 63 ESC ? Self identification
------------------------------------------------------------------------------
27 64 ESC @ Undefined
27 65 ESC A 6 lines per inch (lpi)
27 66 ESC B 8 lines per inch (lpi)
27 67 ESC C Undefined
------------------------------------------------------------------------------
27 68 0 1 ESC D NUL SOH Slashed zero on
27 68 n ESC D n Set international language font (n = 0 to 31)
27 68 0 ESC D NUL End of line at CR or FF
27 68 32 0 ESC D SP NUL LF added at buffer (for overflow)
27 68 0 32 ESC D NUL SP Ignore 8th bit (default)
------------------------------------------------------------------------------
27 69 ESC E Elite type (12 cpi)
27 70 nnn ESC F nnnn Begin graphics at dot postion nnnn
27 71 nnn ESC G nnnn Print next nnnn bytes as bit graphic
27 72 nnn ESC H nnnn Set form length to nnnn in 1/144 inch steps
27 73 ESC I Begin character download
27 74 ESC J Undefined
27 75 n ESC K n Print colour n (0 to 6 = Bk, Y, R, Bu, O, G or V)
27 76 nnn ESC L nnn Set left margin. nnn = 3-digit character position
27 77 ESC M Undefined
27 78 ESC N Pica type (10 cpi)
27 79 ESC O Paper detector off
------------------------------------------------------------------------------
27 80 ESC P Elite proportional type
27 81 ESC Q Ultracondensed type (17 cpi)
27 82 nnn c ESC R nnn c Repeat character c nnn times
27 83 ESC S Undefined
27 84 nn ESC T nn Line spacing in 1/144 inch steps. nn = 0 to 99
27 85 ESC U Undefined
27 86 nnnn ESC V nnnn Repeat 1-byte dot pattern nnnn times
27 87 ESC W Half-height off
27 88 ESC X Underline on
27 89 ESC Y Underline off
------------------------------------------------------------------------------
27 90 0 1 ESC Z NUL SOH Slashed zero off
27 90 ESC Z n Set international language font (n = 0 to 31)
27 90 ESC Z NUL End of line at CR only
27 90 32 0 ESC Z SP NUL No LF at buffer (for overflow)
27 90 0 32 ESC Z NUL SP Recognise 8th bit
------------------------------------------------------------------------------
27 91 ESC [ Undefined
27 92 ESC \ Undefined
27 93 ESC ] Undefined
27 94 ESC ^ Undefined
27 95 ESC _ Undefined
------------------------------------------------------------------------------
27 96 ESC ` Undefined
27 97 n ESC a n Print quality n (1 = draft, 0 = standard, 2 = NLQ)
27 98 ESC b Undefined
27 99 ESC c Reset defaults
27 100 ESC d Undefined
27 101 ESC e Semi-condensed type (13.4 cpi)
27 102 ESC f Forward LF
27 103 nnn ESC g nnn Print next nnn x 8 bytes as bitmap graphic
27 104 ESC h Undefined
27 105 ESC i Undefined
27 106 ESC j Undefined
27 107 ESC k Undefined
------------------------------------------------------------------------------
27 108 0 ESC SOH NUL Add CR before LF
27 108 1 ESC SOH SOH No CR before LF
------------------------------------------------------------------------------
27 109 ESC m Undefined
27 110 ESC n Extended type (9 cpi)
27 111 ESC o Paper detector on (default)
------------------------------------------------------------------------------
27 112 ESC p Pica proportional type
27 113 ESC q Condensed type (15 cpi)
27 114 ESC r Reverse LF
27 115 n ESC s n Set n dots between characters (1 to 6)
27 116 ESC t Undefined
27 117 n ESC u n Set one additional tab
27 118 ESC v Set to top of form
27 119 ESC w Half-height on
27 120 ESC x Superscript on
27 121 ESC y Subscript on
27 122 ESC z Super/subcsript off
27 123 ESC { Undefined
27 124 ESC | Undefined
27 125 ESC } Undefined
27 126 ESC ~ Undefined
27 127 ESC DEL Undefined
------------------------------------------------------------------------------
==============================================================================
Other ImageWriter information
==============================================================================
Standard Characters:
96 ASCII
28 European characters
32 MouseText characters
Vertical Dot Spacing: 1/72 inch
Line Spacing: 1/144 to 99/144 inch
Horizontal Pitches:
Characters per inch (cpi) Characters per line Approx dots per inch (dpi)
------------------------------------------------------------------------------
17 136 136
15 120 120
13.4 107 107
12 96 96
10 80 80
9 72 72
Proportional 1 Variable 160
Proportional 2 Variable 144