summaryrefslogtreecommitdiff
path: root/dviware/beebe/doc/canon.ltx
blob: c220bf5cfa688e235f2df30e662c2b0b4ed2e817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
% -*-LaTeX-*-
% <BEEBE.TEX.DVI>CANON.LTX.2,  3-Jan-87 10:05:21, Edit by BEEBE
% NB: wide tables: print with dvixxx -x0in for reduced left margin
%------------------------------------------------------------------------
% EVERYTHING TO THE RIGHT OF A  %  IS A REMARK TO YOU AND IS IGNORED BY
% LaTeX.
%
% WARNING!  DO NOT TYPE ANY OF THE FOLLOWING 10 CHARACTERS AS NORMAL TEXT
% CHARACTERS:
%                &   $   #   %   _    {   }   ^   ~   \
%
% The following seven are printed by typing a backslash in front of them:
%  \$  \&  \#  \%  \_  \{  and  \}.
%------------------------------------------------------------------------

\documentstyle[11pt]{article}
\begin{document}

\section*{Canon LBP-8 A1/A2 Laser Printer Command Summary}

  The {\em Canon LBP-8 A1/A2 Laser Beam Printer User's Manual\/},
is almost entirely devoid of examples, has a minimal table
of contents, and lacks an index.  It is barely adequate for
developing graphics software (there is a hexadecimal dump of a
sample plot file which saves the day), but there is insufficient
information in it to make use of the downloaded font mechanism
for typesetting applications.  Documentation of   most commands
is unclear, even to the extent that their functionality cannot be
determined except by experiment with the printer itself.

  Some command codes and arguments have typographical errors in
them.  {\em Reset Mode\/} on p.~85 lists the last command byte as a
digit {\tt 1} instead of the letter {\tt l}, and {\em Interior
Style\/} on p.~134 describes argument values of both 0 and 1 as
{\em\/ blank}; argument value 1 actually produces {\em black\/}.

  Without additional Canon documentation that I was able to
obtain from colleagues in the laser printer industry, I would
have made little progress with it.  These cross-reference tables
were prepared to assist in the software development.  The page
number references in these tables are to edition PUB.R-IE-034-V1C
0186B2.5 (1985) of the {\em User's Manual\/}.

Where {\tt \#} is specified, a decimal digit string is expected.
{\tt <hh>} is a single byte with hexadecimal value {\tt hh}.
Otherwise, angle-bracketed upper-case strings are ISO/ASCII 7-bit
and 8-bit control character mnemonics.

Where {\tt <int>}, {\tt <enum>}, {\tt <point>}, etc. are given,
an encoding of 16 data bits in one to three bytes is expected;
see pp.~122--123 of the {\em User's Manual\/}.  This encoding is
such that the values 0 through 9 coincide with the ASCII digits,
characters {\tt <30>} through {\tt <39>}.  To reduce table
entry size, {\tt <int>*n} is used for {\tt n} successive {\tt
<int>}'s.  The  {\em Download Character Set\/} commands have 18
semicolon-separated arguments which are indicated in the tables
by \ldots{}.

8-bit command codes in the range {\tt <80> .. <9F>} can be
expressed in a 7-bit character set as two characters: {\tt <1B>
<code-40>}; thus {\tt CSI} ({\tt <9B>}) can be written as {\tt
<1B> <5B>}, or {\tt <ESC> [}.  Number encodings require only
7-bit characters.  However, binary data must be encoded in
hexadecimal to avoid character codes in {\tt <80> .. <FF>}.  Each
dotted command taking binary data has a matching slashed command
with hexadecimal data.

Since {\tt <CR>} and {\tt <LF>} are significant characters for
the Canon printer, they cannot be used to introduce arbitrary
line breaks; a command file for a typeset document or a plot may
therefore be expected to be one very long line.

The virtual device metafile graphics section of the {\em User's
Manual\/} uses {\tt <IS1>} for {\tt <US>} and {\tt <IS2>} for {\tt
<RS>}, the ASCII unit separator and record separator control
characters.  {\tt <IS2>} is used as a command terminator, and
{\tt <IS1>} to switch coordinates of the immediately following
{\tt <point>} from relative to absolute.  We follow the notation
of the {\tt User's Manual} in the tables.

\newcommand{\C}[5]{#5 & {\tt #1} & {\tt #2} & #4 & #3\\}

\frenchspacing                  % some commands have periods in them

\subsection*{Commands Ordered by Hex}
 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{00}{<NUL>}{time filler (ignored)}{}{80, 110}
\C{03}{<ETX>}{end of text block}{}{80, 110}
\C{07}{<BEL>}{bell}{BEL}{110}
\C{08}{<BS>}{backspace}{}{79, 92}
\C{09}{<HT>}{horizontal tab}{}{79, 92}
\C{0A}{<LF>}{line feed}{}{79, 92}
\C{0B}{<VT>}{vertical tab}{}{79, 92}
\C{0C}{<FF>}{form feed}{}{80, 93}
\C{0D}{<CR>}{carriage return}{}{79, 92}
\C{0E}{<SO>}{shift out to secondary set}{}{76, 96}
\C{0F}{<SI>}{shift in to primary set}{}{76, 96}
\C{19}{<EM>}{extended character control 2}{}{76}
\C{1B 08}{<ESC> <BS>}{backspace 1/120in}{}{77}
\C{1B 09}{<ESC> <HT> \#}{absolute horizontal tab to print column}{}{73}
\C{1B 0A}{<ESC> <LF>}{reverse line feed}{}{74}
\C{1B 0B}{<ESC> <VT> \#}{absolute vertical tab}{}{74}
\C{1B 0C}{<ESC> <FF> \#}{set lines per page}{}{73}
\C{1B 0D 80}{<ESC> <CR> P}{initiate remote reset}{}{78}
\C{1B 11}{<ESC> <DC1> \#}{set offset spacing}{}{77}
\C{1B 19}{<ESC> <EM> <char>}{enable auto sheet feeder}{}{79}
\C{1B 1A}{<ESC> <SUB> <char>}{enable remote diagnosis mode}{}{78}
\C{1B 1E}{<ESC> <RS> \#}{set verical motion index}{}{74}
\C{1B 1F}{<ESC> <US> \#}{set horizontal motion index}{}{73}
\C{1B 21}{<ESC> !}{disable auto carriage return}{}{74}
\C{1B 26}{<ESC> \&}{disable bold print}{}{77}
\C{1B 28}{<ESC> ( I ... F}{designate graphics set G0}{DG0}{95}
\C{1B 29}{<ESC> ) I ... F}{designate graphics set G1}{DG1}{96}
\C{1B 2D}{<ESC> -}{set vertical tab stop}{}{73}
\C{1B 2F}{<ESC> /}{enable auto backward printing}{}{74}
\C{1B 30}{<ESC> 0}{set right margin}{}{72}
\C{1B 31}{<ESC> 1}{set horizontal tab stop}{}{72}
\C{1B 32}{<ESC> 2}{clear all tabs stops}{}{73}
\C{1B 33}{<ESC> 3}{enable graphics mode}{}{74}
\C{1B 34}{<ESC> 4}{disable graphics mode}{}{74}
\C{1B 35}{<ESC> 5}{enable forward printing mode}{}{74}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{1B 36}{<ESC> 6}{enable backward printing mode}{}{74}
\C{1B 37}{<ESC> 7}{enable print suppression}{}{75}
\C{1B 38}{<ESC> 8}{clear horizontal tab stop}{}{72}
\C{1B 39}{<ESC> 9}{set left margin}{}{72}
\C{1B 3A}{<ESC> :}{enter Diablo mode}{CEDM}{82}
\C{1B 3B}{<ESC> ;}{enable ISO mode}{}{79}
\C{1B 3C}{<ESC> <}{soft reset}{CSRS}{82}
\C{1B 3D}{<ESC> =}{parameter reset}{CSRS}{82}
\C{1B 3F}{<ESC> ? <char>}{request proportional pitch}{CRPP}{109}
\C{1B 3F}{<ESC> ?}{enable auto carriage return}{}{74}
\C{1B 41}{<ESC> A}{print in secondary color}{}{74}
\C{1B 42}{<ESC> B}{print in primary color}{}{74}
\C{1B 43}{<ESC> C}{clear top and bottom margins}{}{72}
\C{1B 44}{<ESC> D}{reverse half-line feed}{}{74}
\C{1B 45}{<ESC> E}{enable auto underlined print}{}{77}
\C{1B 4C}{<ESC> L}{set bottom page margin}{}{72}
\C{1B 4F}{<ESC> O}{enable bold print}{}{77}
\C{1B 50}{<ESC> P}{enable proportional space printing}{}{76}
\C{1B 51}{<ESC> Q}{disable proportional space printing}{}{76}
\C{1B 52}{<ESC> R}{disable auto underlined print}{}{77}
\C{1B 53}{<ESC> S}{return HMI control to spacing switch}{}{73}
\C{1B 54}{<ESC> T}{set top page margin}{}{72}
\C{1B 55}{<ESC> U}{half-line feed}{}{74}
\C{1B 57}{<ESC> W}{enable bold print}{}{77}
\C{1B 58}{<ESC> X}{cancel all word processing modes}{}{77}
\C{1B 59}{<ESC> Y}{printwheel spoke 0 characters}{}{78}
\C{1B 5A}{<ESC> Z}{printwheel spoke 95 characters}{}{78}
\C{1B 5C}{<ESC> <5C>}{disable auto backward printing}{}{74}
\C{1B 63}{<ESC> c}{hard reset}{RIS}{82}
\C{1D}{<GS>}{extended character control 1}{}{76}
\C{21 30}{<21> <30> <int>*2 <IS2>}{scaling mode}{}{130}
\C{23}{<23> <string> <IS2>}{begin picture}{}{130}
\C{24}{<24> <IS2>}{begin picture body}{}{130}
\C{28}{<28> <point> <point> <IS2>}{VDC extent}{}{131}
\C{29}{<29> <xmin> <xmax> <ymin> <ymax> <IS2>}{clip rectangle}{}{131}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{2A}{<2A> <enum> <IS2>}{clip indicator}{}{131}
\C{30}{<30> <point list> <IS2>}{polymarker}{}{137}
\C{31}{<31> <point list> <IS2>}{polyline}{}{136}
\C{32}{<32> <point list> <IS2>}{polygon}{}{138}
\C{35}{<35> <point> <int> <IS2>}{circle}{}{136}
\C{41}{<41> <int> <IS2>}{marker types}{}{133}
\C{42}{<42> <int> <IS2>}{marker size}{}{133}
\C{45}{<45> <enum> <int> <IS2>}{line type}{}{132}
\C{46}{<46> <enum> <int> <IS2>}{line width}{}{132}
\C{49}{<49> <int> <enum> <IS2>}{interior style}{}{134}
\C{73 44}{<73> <44> <enum> <int>*2 <IS2> <data>}{line table}{}{134}
\C{7D 4F}{<7D> <4F> <enum> <int>*2 <IS2> <data>}{pattern table}{}{135}
\C{7D 22}{<7D> <22> <int>*2 <IS2>}{origin transfer}{}{131}
\C{7D 36}{<7D> <36> <enum> <point> <int>*3 <IS2>}{arc close}{}{137}
\C{7D 36}{<7D> <36> <enum> <point> <int>*3 <IS2>}{arc}{}{137}
\C{7D 37}{<7D> <37> <point> <int>*3 <IS2>}{ellipse}{}{138}
\C{7D 38}{<7D> <38> <point> <int>*5 <IS2>}{quarter ellipse}{}{138}
\C{7D 39}{<7D> <39> <point> <IS2>}{closed area fill}{}{139}
\C{7D 3A}{<7D> <3A> <xmin> <xmax> <ymin> <ymax> <IS2>}%
    {circle cornering rectangle}{}{136}
\C{7D 40}{<7D> <40> <enum> <int>*2 <IS2> <data>}{marker table}{}{135}
\C{7D 47}{<7D> <47> <int> <IS2>}{line attribute}{}{133}
\C{7D 4A}{<7D> <4A> <int> <IS2>}{circle cornering attribute}{}{136}
\C{7D 70}{<7D> <70>}{return to text}{}{139}
\C{7F}{<DEL>}{delete (ignored)}{}{80, 110}
\C{85}{<NEL>}{new line}{NEL}{92}
\C{88}{<HTS>}{horizontal tabulation set}{HTS}{91}
\C{8A}{<VTS>}{vertical tabulation set}{VTS}{91}
\C{8B}{<PLD>}{partial line down}{PLD}{93}
\C{8C}{<PLU>}{partial line up}{PLU}{93}
\C{8D}{<RI>}{reverse index}{RI}{93}
\C{9B 20 42}{<CSI> \#{} ; \#{} <space> B}{graphic size modification}{GSM}{100}
\C{9B 20 43}{<CSI> \#{} <space> C}{graphics size selection}{GSS}{99}
\C{9B 20 47}{<CSI> \#{} ; \#{} <space> G}{spacing increment}{SP}{90}
\C{9B 20 4A}{<CSI> \#{} <space> I}{select size unit}{SSU}{86}
\C{9B 20 4B}{<CSI> \#{} <space> K}{select font pitch}{CSFP}{97}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{9B 20 4C}{<CSI> \#{} <space> L}{set vertical spacing}{SVS}{91}
\C{9B 25 72}{<CSI> \#{} \% r}{page rotation command}{CROR}{88}
\C{9B 26 74}{<CSI> \#{} ; \#{} ; \#{} \&{} s}{page registration}{CPRG}{88}
\C{9B 26 77}{<CSI> \#{} ; \#{} ; \#{} \&{} w}{page overlay}{COVL}{89}
\C{9B 26 79}{<CSI> \#{} \&{} y}{operating comment}{COPC}{110}
\C{9B 26 7A}{<CSI> \#{} \&{} z}{select paint memory mode}{CSPM}{82}
\C{9B 26 7D}{<CSI> \#{} \&{} \}}{enter vector mode}{CEVM}{83}
\C{9B 2E 70}{<CSI> \#... . p <data>}{download character set 1 (binary data)}%
    {CDCS1}{101}
\C{9B 2E 72}{<CSI> \#{} ; \#{} ; \#{} . r <data>}{drawing box 1 (binary data)}%
    {CDBX1}{107}
\C{9B 2E 7A}{<CSI> \#{} . z <data>}{startup macro (binary data)}{CSTU1}{83}
\C{9B 2F 70}{<CSI> \#... / p <data>}{download character set 2 (hex data)}%
    {CDCS2}{104}
\C{9B 2F 72}{<CSI> \#{} ; \#{} ; \#{} / r <data>}{drawing box 2 (hex data)}%
    {CDBX2}{107}
\C{9B 2F 7A}{<CSI> \#{} / z <data>}{startup macro (hex data)}{CSTU2}{83}
\C{9B 60}{<CSI> \#{} `}{horizontal position absolute}{HPA}{93}
\C{9B 61}{<CSI> \#{} a}{horizontal position relative}{HPR}{94}
\C{9B 64}{<CSI> \#{} d}{vertical position absolute}{VPA}{93}
\C{9B 65}{<CSI> \#{} e}{vertical position relative}{VPR}{94}
\C{9B 67}{<CSI> \#{} g}{tabulation clear}{TR}{92}
\C{9B 68}{<CSI> \#{} h}{set mode}{SM}{84}
\C{9B 6A}{<CSI> \#{} j}{horizontal position backward}{HPB}{94}
\C{9B 6B}{<CSI> \#{} k}{vertical position backward}{VPB}{94}
\C{9B 6C}{<CSI> \#{} l}{reset mode}{RM}{85}
\C{9B 6D}{<CSI> \#{} m}{select graphic rendition}{SGR}{98}
\C{9B 6E}{<CSI> \#{} n}{device status report}{DSR}{109}
\C{9B 70}{<CSI> \#{} ; \#{} ; \#{} p}{select page format}{CSPF}{87}
\C{9B 71}{<CSI> \#{} q}{paper feed mode}{CPFM}{108}
\C{9B 72}{<CSI> \#{} r}{shading end position}{CSED}{106}
\C{9B 73}{<CSI> \#{} \#{} s}{shading start position}{CSST}{106}
\C{9B 74}{<CSI> \#{} t}{set margin}{CSMG}{89}
\C{9B 75}{<CSI> \#{} u}{clear margin}{CCMG}{90}
\C{9B 76}{<CSI> \#{} v}{select number of print copies}{CPRT}{108}
\C{9B 77}{<CSI> \#{} ; \#{} w}{select proportional offset}{CSPO}{91}
\C{9B 78}{<CSI> \#{} ;  \#{} ; \# x}{memorized current position}{CMCP}{94}
\C{9B 79}{<CSI> \#{} y}{typeface selection}{CTYP}{99}
\C{9B 7A}{<CSI> z}{paper eject}{CEJT}{108}
\C{9B 7B}{<CSI> \#{} ; \#{} ; \#{} \{}{line start position}{CLST}{105}
\C{9B 7D}{<CSI> \#{} \}}{line end position}{CLED}{105}
   \hline
  \end{tabular}
 \end{footnotesize}


\subsection*{Commands Ordered by Name}

 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{07}{<BEL>}{bell}{BEL}{110}
\C{9B 75}{<CSI> \#{} u}{clear margin}{CCMG}{90}
\C{9B 2E 72}{<CSI> \#{} ; \#{} ; \#{} . r <data>}{drawing box 1 (binary data)}%
    {CDBX1}{107}
\C{9B 2F 72}{<CSI> \#{} ; \#{} ; \#{} / r <data>}{drawing box 2 (hex data)}%
    {CDBX2}{107}
\C{9B 2E 70}{<CSI> \#... . p <data>}{download character set 1 (binary data)}%
    {CDCS1}{101}
\C{9B 2F 70}{<CSI> \#... / p <data>}{download character set 2 (hex data)}%
    {CDCS2}{104}
\C{1B 3A}{<ESC> :}{enter Diablo mode}{CEDM}{82}
\C{9B 7A}{<CSI> z}{paper eject}{CEJT}{108}
\C{9B 26 7D}{<CSI> \#{} \&{} \}}{enter vector mode}{CEVM}{83}
\C{9B 7D}{<CSI> \#{} \}}{line end position}{CLED}{105}
\C{9B 7B}{<CSI> \#{} ; \#{} ; \#{} \{}{line start position}{CLST}{105}
\C{9B 78}{<CSI> \#{} ;  \#{} ; \# x}{memorized current position}{CMCP}{94}
\C{9B 26 79}{<CSI> \#{} \&{} y}{operating comment}{COPC}{110}
\C{9B 26 77}{<CSI> \#{} ; \#{} ; \#{} \&{} w}{page overlay}{COVL}{89}
\C{9B 71}{<CSI> \#{} q}{paper feed mode}{CPFM}{108}
\C{9B 26 74}{<CSI> \#{} ; \#{} ; \#{} \&{} s}{page registration}{CPRG}{88}
\C{9B 76}{<CSI> \#{} v}{select number of print copies}{CPRT}{108}
\C{9B 25 72}{<CSI> \#{} \% r}{page rotation command}{CROR}{88}
\C{1B 3F}{<ESC> ? <char>}{request proportional pitch}{CRPP}{109}
\C{9B 72}{<CSI> \#{} r}{shading end position}{CSED}{106}
\C{9B 20 4B}{<CSI> \#{} <space> K}{select font pitch}{CSFP}{97}
\C{9B 74}{<CSI> \#{} t}{set margin}{CSMG}{89}
\C{9B 70}{<CSI> \#{} ; \#{} ; \#{} p}{select page format}{CSPF}{87}
\C{9B 26 7A}{<CSI> \#{} \&{} z}{select paint memory mode}{CSPM}{82}
\C{9B 77}{<CSI> \#{} ; \#{} w}{select proportional offset}{CSPO}{91}
\C{1B 3C}{<ESC> <}{soft reset}{CSRS}{82}
\C{1B 3D}{<ESC> =}{parameter reset}{CSRS}{82}
\C{9B 73}{<CSI> \#{} \#{} s}{shading start position}{CSST}{106}
\C{9B 2E 7A}{<CSI> \#{} . z <data>}{startup macro (binary data)}{CSTU1}{83}
\C{9B 2F 7A}{<CSI> \#{} / z <data>}{startup macro (hex data)}{CSTU2}{83}
\C{9B 79}{<CSI> \#{} y}{typeface selection}{CTYP}{99}
\C{1B 28}{<ESC> ( I ... F}{designate graphics set G0}{DG0}{95}
\C{1B 29}{<ESC> ) I ... F}{designate graphics set G1}{DG1}{96}
\C{9B 6E}{<CSI> \#{} n}{device status report}{DSR}{109}
\C{9B 20 42}{<CSI> \#{} ; \#{} <space> B}{graphic size modification}{GSM}{100}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{9B 20 43}{<CSI> \#{} <space> C}{graphics size selection}{GSS}{99}
\C{9B 60}{<CSI> \#{} `}{horizontal position absolute}{HPA}{93}
\C{9B 6A}{<CSI> \#{} j}{horizontal position backward}{HPB}{94}
\C{9B 61}{<CSI> \#{} a}{horizontal position relative}{HPR}{94}
\C{88}{<HTS>}{horizontal tabulation set}{HTS}{91}
\C{85}{<NEL>}{new line}{NEL}{92}
\C{8B}{<PLD>}{partial line down}{PLD}{93}
\C{8C}{<PLU>}{partial line up}{PLU}{93}
\C{1B 63}{<ESC> c}{hard reset}{RIS}{82}
\C{8D}{<RI>}{reverse index}{RI}{93}
\C{9B 6C}{<CSI> \#{} l}{reset mode}{RM}{85}
\C{9B 6D}{<CSI> \#{} m}{select graphic rendition}{SGR}{98}
\C{9B 68}{<CSI> \#{} h}{set mode}{SM}{84}
\C{9B 20 47}{<CSI> \#{} ; \#{} <space> G}{spacing increment}{SP}{90}
\C{9B 20 4A}{<CSI> \#{} <space> I}{select size unit}{SSU}{86}
\C{9B 20 4C}{<CSI> \#{} <space> L}{set vertical spacing}{SVS}{91}
\C{9B 67}{<CSI> \#{} g}{tabulation clear}{TR}{92}
\C{9B 64}{<CSI> \#{} d}{vertical position absolute}{VPA}{93}
\C{9B 6B}{<CSI> \#{} k}{vertical position backward}{VPB}{94}
\C{9B 65}{<CSI> \#{} e}{vertical position relative}{VPR}{94}
\C{8A}{<VTS>}{vertical tabulation set}{VTS}{91}
\C{21 30}{<21> <30> <int>*2 <IS2>}{scaling mode}{}{130}
\C{23}{<23> <string> <IS2>}{begin picture}{}{130}
\C{24}{<24> <IS2>}{begin picture body}{}{130}
\C{28}{<28> <point> <point> <IS2>}{VDC extent}{}{131}
\C{29}{<29> <xmin> <xmax> <ymin> <ymax> <IS2>}{clip rectangle}{}{131}
\C{2A}{<2A> <enum> <IS2>}{clip indicator}{}{131}
\C{7D 22}{<7D> <22> <int>*2 <IS2>}{origin transfer}{}{131}
\C{45}{<45> <enum> <int> <IS2>}{line type}{}{132}
\C{46}{<46> <enum> <int> <IS2>}{line width}{}{132}
\C{41}{<41> <int> <IS2>}{marker types}{}{133}
\C{42}{<42> <int> <IS2>}{marker size}{}{133}
\C{7D 47}{<7D> <47> <int> <IS2>}{line attribute}{}{133}
\C{49}{<49> <int> <enum> <IS2>}{interior style}{}{134}
\C{73 44}{<73> <44> <enum> <int>*2 <IS2> <data>}{line table}{}{134}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{7D 4F}{<7D> <4F> <enum> <int>*2 <IS2> <data>}{pattern table}{}{135}
\C{7D 40}{<7D> <40> <enum> <int>*2 <IS2> <data>}{marker table}{}{135}
\C{31}{<31> <point list> <IS2>}{polyline}{}{136}
\C{35}{<35> <point> <int> <IS2>}{circle}{}{136}
\C{7D 3A}{<7D> <3A> <xmin> <xmax> <ymin> <ymax> <IS2>}%
    {circle cornering rectangle}{}{136}
\C{7D 4A}{<7D> <4A> <int> <IS2>}{circle cornering attribute}{}{136}
\C{30}{<30> <point list> <IS2>}{polymarker}{}{137}
\C{7D 36}{<7D> <36> <enum> <point> <int>*3 <IS2>}{arc close}{}{137}
\C{7D 36}{<7D> <36> <enum> <point> <int>*3 <IS2>}{arc}{}{137}
\C{32}{<32> <point list> <IS2>}{polygon}{}{138}
\C{7D 37}{<7D> <37> <point> <int>*3 <IS2>}{ellipse}{}{138}
\C{7D 38}{<7D> <38> <point> <int>*5 <IS2>}{quarter ellipse}{}{138}
\C{7D 39}{<7D> <39> <point> <IS2>}{closed area fill}{}{139}
\C{7D 70}{<7D> <70>}{return to text}{}{139}
\C{1B 30}{<ESC> 0}{set right margin}{}{72}
\C{1B 31}{<ESC> 1}{set horizontal tab stop}{}{72}
\C{1B 38}{<ESC> 8}{clear horizontal tab stop}{}{72}
\C{1B 39}{<ESC> 9}{set left margin}{}{72}
\C{1B 43}{<ESC> C}{clear top and bottom margins}{}{72}
\C{1B 4C}{<ESC> L}{set bottom page margin}{}{72}
\C{1B 54}{<ESC> T}{set top page margin}{}{72}
\C{1B 09}{<ESC> <HT> \#}{absolute horizontal tab to print column}{}{73}
\C{1B 0C}{<ESC> <FF> \#}{set lines per page}{}{73}
\C{1B 1F}{<ESC> <US> \#}{set horizontal motion index}{}{73}
\C{1B 2D}{<ESC> -}{set vertical tab stop}{}{73}
\C{1B 32}{<ESC> 2}{clear all tabs stops}{}{73}
\C{1B 53}{<ESC> S}{return HMI control to spacing switch}{}{73}
\C{1B 0A}{<ESC> <LF>}{reverse line feed}{}{74}
\C{1B 0B}{<ESC> <VT> \#}{absolute vertical tab}{}{74}
\C{1B 1E}{<ESC> <RS> \#}{set verical motion index}{}{74}
\C{1B 21}{<ESC> !}{disable auto carriage return}{}{74}
\C{1B 2F}{<ESC> /}{enable auto backward printing}{}{74}
\C{1B 33}{<ESC> 3}{enable graphics mode}{}{74}
\C{1B 34}{<ESC> 4}{disable graphics mode}{}{74}
\C{1B 35}{<ESC> 5}{enable forward printing mode}{}{74}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{1B 36}{<ESC> 6}{enable backward printing mode}{}{74}
\C{1B 3F}{<ESC> ?}{enable auto carriage return}{}{74}
\C{1B 41}{<ESC> A}{print in secondary color}{}{74}
\C{1B 42}{<ESC> B}{print in primary color}{}{74}
\C{1B 44}{<ESC> D}{reverse half-line feed}{}{74}
\C{1B 55}{<ESC> U}{half-line feed}{}{74}
\C{1B 5C}{<ESC> <5C>}{disable auto backward printing}{}{74}
\C{1B 37}{<ESC> 7}{enable print suppression}{}{75}
\C{0E}{<SO>}{shift out to secondary set}{}{76, 96}
\C{0F}{<SI>}{shift in to primary set}{}{76, 96}
\C{19}{<EM>}{extended character control 2}{}{76}
\C{1B 50}{<ESC> P}{enable proportional space printing}{}{76}
\C{1B 51}{<ESC> Q}{disable proportional space printing}{}{76}
\C{1D}{<GS>}{extended character control 1}{}{76}
\C{1B 08}{<ESC> <BS>}{backspace 1/120in}{}{77}
\C{1B 11}{<ESC> <DC1> \#}{set offset spacing}{}{77}
\C{1B 26}{<ESC> \&}{disable bold print}{}{77}
\C{1B 57}{<ESC> W}{enable bold print}{}{77}
\C{1B 58}{<ESC> X}{cancel all word processing modes}{}{77}
\C{1B 45}{<ESC> E}{enable auto underlined print}{}{77}
\C{1B 4F}{<ESC> O}{enable bold print}{}{77}
\C{1B 52}{<ESC> R}{disable auto underlined print}{}{77}
\C{1B 0D 80}{<ESC> <CR> P}{initiate remote reset}{}{78}
\C{1B 1A}{<ESC> <SUB> <char>}{enable remote diagnosis mode}{}{78}
\C{1B 59}{<ESC> Y}{printwheel spoke 0 characters}{}{78}
\C{1B 5A}{<ESC> Z}{printwheel spoke 95 characters}{}{78}
\C{08}{<BS>}{backspace}{}{79, 92}
\C{09}{<HT>}{horizontal tab}{}{79, 92}
\C{0A}{<LF>}{line feed}{}{79, 92}
\C{0B}{<VT>}{vertical tab}{}{79, 92}
\C{0D}{<CR>}{carriage return}{}{79, 92}
\C{1B 19}{<ESC> <EM> <char>}{enable auto sheet feeder}{}{79}
\C{1B 3B}{<ESC> ;}{enable ISO mode}{}{79}
\C{00}{<NUL>}{time filler (ignored)}{}{80, 110}
\C{03}{<ETX>}{end of text block}{}{80, 110}
\C{7F}{<DEL>}{delete (ignored)}{}{80, 110}
\C{0C}{<FF>}{form feed}{}{80, 93}
   \hline
  \end{tabular}
 \end{footnotesize}


\subsection*{Commands Ordered by Description}

 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{1B 09}{<ESC> <HT> \#}{absolute horizontal tab to print column}{}{73}
\C{1B 0B}{<ESC> <VT> \#}{absolute vertical tab}{}{74}
\C{7D 36}{<7D> <36> <enum> <point> <int>*3 <IS2>}{arc close}{}{137}
\C{7D 36}{<7D> <36> <enum> <point> <int>*3 <IS2>}{arc}{}{137}
\C{1B 08}{<ESC> <BS>}{backspace 1/120in}{}{77}
\C{08}{<BS>}{backspace}{}{79, 92}
\C{24}{<24> <IS2>}{begin picture body}{}{130}
\C{23}{<23> <string> <IS2>}{begin picture}{}{130}
\C{07}{<BEL>}{bell}{BEL}{110}
\C{1B 58}{<ESC> X}{cancel all word processing modes}{}{77}
\C{0D}{<CR>}{carriage return}{}{79, 92}
\C{7D 4A}{<7D> <4A> <int> <IS2>}{circle cornering attribute}{}{136}
\C{7D 3A}{<7D> <3A> <xmin> <xmax> <ymin> <ymax> <IS2>}%
    {circle cornering rectangle}{}{136}
\C{35}{<35> <point> <int> <IS2>}{circle}{}{136}
\C{1B 32}{<ESC> 2}{clear all tabs stops}{}{73}
\C{1B 38}{<ESC> 8}{clear horizontal tab stop}{}{72}
\C{9B 75}{<CSI> \#{} u}{clear margin}{CCMG}{90}
\C{1B 43}{<ESC> C}{clear top and bottom margins}{}{72}
\C{2A}{<2A> <enum> <IS2>}{clip indicator}{}{131}
\C{29}{<29> <xmin> <xmax> <ymin> <ymax> <IS2>}{clip rectangle}{}{131}
\C{7D 39}{<7D> <39> <point> <IS2>}{closed area fill}{}{139}
\C{7F}{<DEL>}{delete (ignored)}{}{80, 110}
\C{1B 28}{<ESC> ( I ... F}{designate graphics set G0}{DG0}{95}
\C{1B 29}{<ESC> ) I ... F}{designate graphics set G1}{DG1}{96}
\C{9B 6E}{<CSI> \#{} n}{device status report}{DSR}{109}
\C{1B 5C}{<ESC> <5C>}{disable auto backward printing}{}{74}
\C{1B 21}{<ESC> !}{disable auto carriage return}{}{74}
\C{1B 52}{<ESC> R}{disable auto underlined print}{}{77}
\C{1B 26}{<ESC> \&}{disable bold print}{}{77}
\C{1B 34}{<ESC> 4}{disable graphics mode}{}{74}
\C{1B 51}{<ESC> Q}{disable proportional space printing}{}{76}
\C{9B 2E 70}{<CSI> \#... . p <data>}{download character set 1 (binary data)}%
    {CDCS1}{101}
\C{9B 2F 70}{<CSI> \#... / p <data>}{download character set 2 (hex data)}%
    {CDCS2}{104}
\C{9B 2E 72}{<CSI> \#{} ; \#{} ; \#{} . r <data>}{drawing box 1 (binary data)}%
    {CDBX1}{107}
\C{9B 2F 72}{<CSI> \#{} ; \#{} ; \#{} / r <data>}{drawing box 2 (hex data)}%
    {CDBX2}{107}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{7D 37}{<7D> <37> <point> <int>*3 <IS2>}{ellipse}{}{138}
\C{1B 2F}{<ESC> /}{enable auto backward printing}{}{74}
\C{1B 3F}{<ESC> ?}{enable auto carriage return}{}{74}
\C{1B 19}{<ESC> <EM> <char>}{enable auto sheet feeder}{}{79}
\C{1B 45}{<ESC> E}{enable auto underlined print}{}{77}
\C{1B 36}{<ESC> 6}{enable backward printing mode}{}{74}
\C{1B 57}{<ESC> W}{enable bold print}{}{77}
\C{1B 4F}{<ESC> O}{enable bold print}{}{77}
\C{1B 35}{<ESC> 5}{enable forward printing mode}{}{74}
\C{1B 33}{<ESC> 3}{enable graphics mode}{}{74}
\C{1B 3B}{<ESC> ;}{enable ISO mode}{}{79}
\C{1B 37}{<ESC> 7}{enable print suppression}{}{75}
\C{1B 50}{<ESC> P}{enable proportional space printing}{}{76}
\C{1B 1A}{<ESC> <SUB> <char>}{enable remote diagnosis mode}{}{78}
\C{03}{<ETX>}{end of text block}{}{80, 110}
\C{1B 3A}{<ESC> :}{enter Diablo mode}{CEDM}{82}
\C{9B 26 7D}{<CSI> \#{} \&{} \}}{enter vector mode}{CEVM}{83}
\C{1D}{<GS>}{extended character control 1}{}{76}
\C{19}{<EM>}{extended character control 2}{}{76}
\C{0C}{<FF>}{form feed}{}{80, 93}
\C{9B 20 42}{<CSI> \#{} ; \#{} <space> B}{graphic size modification}{GSM}{100}
\C{9B 20 43}{<CSI> \#{} <space> C}{graphics size selection}{GSS}{99}
\C{1B 55}{<ESC> U}{half-line feed}{}{74}
\C{1B 63}{<ESC> c}{hard reset}{RIS}{82}
\C{9B 60}{<CSI> \#{} `}{horizontal position absolute}{HPA}{93}
\C{9B 6A}{<CSI> \#{} j}{horizontal position backward}{HPB}{94}
\C{9B 61}{<CSI> \#{} a}{horizontal position relative}{HPR}{94}
\C{88}{<HTS>}{horizontal tabulation set}{HTS}{91}
\C{09}{<HT>}{horizontal tab}{}{79, 92}
\C{1B 0D 80}{<ESC> <CR> P}{initiate remote reset}{}{78}
\C{49}{<49> <int> <enum> <IS2>}{interior style}{}{134}
\C{7D 47}{<7D> <47> <int> <IS2>}{line attribute}{}{133}
\C{9B 7D}{<CSI> \#{} \}}{line end position}{CLED}{105}
\C{0A}{<LF>}{line feed}{}{79, 92}
\C{9B 7B}{<CSI> \#{} ; \#{} ; \#{} \{}{line start position}{CLST}{105}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{73 44}{<73> <44> <enum> <int>*2 <IS2> <data>}{line table}{}{134}
\C{45}{<45> <enum> <int> <IS2>}{line type}{}{132}
\C{46}{<46> <enum> <int> <IS2>}{line width}{}{132}
\C{42}{<42> <int> <IS2>}{marker size}{}{133}
\C{7D 40}{<7D> <40> <enum> <int>*2 <IS2> <data>}{marker table}{}{135}
\C{41}{<41> <int> <IS2>}{marker types}{}{133}
\C{9B 78}{<CSI> \#{} ;  \#{} ; \# x}{memorized current position}{CMCP}{94}
\C{85}{<NEL>}{new line}{NEL}{92}
\C{9B 26 79}{<CSI> \#{} \&{} y}{operating comment}{COPC}{110}
\C{7D 22}{<7D> <22> <int>*2 <IS2>}{origin transfer}{}{131}
\C{9B 26 77}{<CSI> \#{} ; \#{} ; \#{} \&{} w}{page overlay}{COVL}{89}
\C{9B 26 74}{<CSI> \#{} ; \#{} ; \#{} \&{} s}{page registration}{CPRG}{88}
\C{9B 25 72}{<CSI> \#{} \% r}{page rotation command}{CROR}{88}
\C{9B 7A}{<CSI> z}{paper eject}{CEJT}{108}
\C{9B 71}{<CSI> \#{} q}{paper feed mode}{CPFM}{108}
\C{1B 3D}{<ESC> =}{parameter reset}{CSRS}{82}
\C{8B}{<PLD>}{partial line down}{PLD}{93}
\C{8C}{<PLU>}{partial line up}{PLU}{93}
\C{7D 4F}{<7D> <4F> <enum> <int>*2 <IS2> <data>}{pattern table}{}{135}
\C{32}{<32> <point list> <IS2>}{polygon}{}{138}
\C{31}{<31> <point list> <IS2>}{polyline}{}{136}
\C{30}{<30> <point list> <IS2>}{polymarker}{}{137}
\C{1B 42}{<ESC> B}{print in primary color}{}{74}
\C{1B 41}{<ESC> A}{print in secondary color}{}{74}
\C{1B 59}{<ESC> Y}{printwheel spoke 0 characters}{}{78}
\C{1B 5A}{<ESC> Z}{printwheel spoke 95 characters}{}{78}
\C{7D 38}{<7D> <38> <point> <int>*5 <IS2>}{quarter ellipse}{}{138}
\C{1B 3F}{<ESC> ? <char>}{request proportional pitch}{CRPP}{109}
\C{9B 6C}{<CSI> \#{} l}{reset mode}{RM}{85}
\C{1B 53}{<ESC> S}{return HMI control to spacing switch}{}{73}
\C{7D 70}{<7D> <70>}{return to text}{}{139}
\C{1B 44}{<ESC> D}{reverse half-line feed}{}{74}
\C{8D}{<RI>}{reverse index}{RI}{93}
\C{1B 0A}{<ESC> <LF>}{reverse line feed}{}{74}
\C{21 30}{<21> <30> <int>*2 <IS2>}{scaling mode}{}{130}
   \hline
  \end{tabular}
 \end{footnotesize}


 \begin{footnotesize}
  \begin{tabular}{|lllll|}
   \hline
   Page & Hex & Command & Name & Description\\
   \hline
\C{9B 20 4B}{<CSI> \#{} <space> K}{select font pitch}{CSFP}{97}
\C{9B 6D}{<CSI> \#{} m}{select graphic rendition}{SGR}{98}
\C{9B 76}{<CSI> \#{} v}{select number of print copies}{CPRT}{108}
\C{9B 70}{<CSI> \#{} ; \#{} ; \#{} p}{select page format}{CSPF}{87}
\C{9B 26 7A}{<CSI> \#{} \&{} z}{select paint memory mode}{CSPM}{82}
\C{9B 77}{<CSI> \#{} ; \#{} w}{select proportional offset}{CSPO}{91}
\C{9B 20 4A}{<CSI> \#{} <space> I}{select size unit}{SSU}{86}
\C{1B 4C}{<ESC> L}{set bottom page margin}{}{72}
\C{1B 1F}{<ESC> <US> \#}{set horizontal motion index}{}{73}
\C{1B 31}{<ESC> 1}{set horizontal tab stop}{}{72}
\C{1B 39}{<ESC> 9}{set left margin}{}{72}
\C{1B 0C}{<ESC> <FF> \#}{set lines per page}{}{73}
\C{9B 74}{<CSI> \#{} t}{set margin}{CSMG}{89}
\C{9B 68}{<CSI> \#{} h}{set mode}{SM}{84}
\C{1B 11}{<ESC> <DC1> \#}{set offset spacing}{}{77}
\C{1B 30}{<ESC> 0}{set right margin}{}{72}
\C{1B 54}{<ESC> T}{set top page margin}{}{72}
\C{1B 1E}{<ESC> <RS> \#}{set verical motion index}{}{74}
\C{9B 20 4C}{<CSI> \#{} <space> L}{set vertical spacing}{SVS}{91}
\C{1B 2D}{<ESC> -}{set vertical tab stop}{}{73}
\C{9B 72}{<CSI> \#{} r}{shading end position}{CSED}{106}
\C{9B 73}{<CSI> \#{} \#{} s}{shading start position}{CSST}{106}
\C{0F}{<SI>}{shift in to primary set}{}{76, 96}
\C{0E}{<SO>}{shift out to secondary set}{}{76, 96}
\C{1B 3C}{<ESC> <}{soft reset}{CSRS}{82}
\C{9B 20 47}{<CSI> \#{} ; \#{} <space> G}{spacing increment}{SP}{90}
\C{9B 2E 7A}{<CSI> \#{} . z <data>}{startup macro (binary data)}{CSTU1}{83}
\C{9B 2F 7A}{<CSI> \#{} / z <data>}{startup macro (hex data)}{CSTU2}{83}
\C{9B 67}{<CSI> \#{} g}{tabulation clear}{TR}{92}
\C{00}{<NUL>}{time filler (ignored)}{}{80, 110}
\C{9B 79}{<CSI> \#{} y}{typeface selection}{CTYP}{99}
\C{28}{<28> <point> <point> <IS2>}{VDC extent}{}{131}
\C{9B 64}{<CSI> \#{} d}{vertical position absolute}{VPA}{93}
\C{9B 6B}{<CSI> \#{} k}{vertical position backward}{VPB}{94}
\C{9B 65}{<CSI> \#{} e}{vertical position relative}{VPR}{94}
\C{8A}{<VTS>}{vertical tabulation set}{VTS}{91}
\C{0B}{<VT>}{vertical tab}{}{79, 92}
   \hline
  \end{tabular}
 \end{footnotesize}

\end{document}