Common Escape Code Sequences - Dip Switch 12 Off (Up Position)


TechJET 5017 Escape Code Sequences - Dip Switch 12 Off (Up Position)
Technical Support Hot Line 1-800-CALCOMP (1-800-225-2667)               Updated: 25 May 1995

Note: Unless specified otherwise, spaces shown in escape code sequences are
for clarity only (i.e., not part of the actual sequence).

Function              ASCII                  Decimal        Hexadecimal
====================  =====================  =============  ================
Set Top of Form       ESC 4                  27 52          1B 34

Set Page Length in    ESC C n1               27 67 n1       1B 43 n1
Lines

Set Page Length in    ESC C NUL n2           27 67 0 n2     1B 43 NUL n2
Inches

Set Horizontal        ESC X n m              27 88 n m      1B 58 n m
Margins
  n=left,  m=right

Set All Tabs to       ESC R                  27 82          1B 52
Factory Settings

Set 1/8 Inch Line     ESC 0                  27 48          1B 30
Spacing

Set 7/72 Inch Line    ESC 1                  27 49          1B 31
Spacing

Set Text Line         ESC A n                27 65 n        1B 41 n
Spacing (n/72 in)

Enable Line Spacing   ESC 2                  27 50          1B 32
by ESC A

Line Feed             LF                     10             0A

Form Feed             FF                     12             0C

Carriage Return       CR                     13             0D

Backspace             BS                     08             08

Select Font Style     ESC I n3               27 73 n3       1B 49 n3

Set 10 cpi mode       DC2                    18             12

Set 12 cpi Prestige   ESC :                  27 58          1B 3A

Condensed Mode        SI                     15             0F
(17 cpi)

Select Proportional   ESC P1                 27 80 49       1B 50 31
Spacing

Cancel Proportional   ESC P0                 27 80 48       1B 50 30
Spacing

Set Double Wide       ESC W1                 27 87 49       1B 57 31

Cancel Double Wide    ESC W0                 27 87 48       1B 57 30

Set Subscript         ESC S1                 27 83 49       1B 53 31

Cancel Subscript      ESC T                  27 84          1B 54

Set Superscript       ESC S0                 27 83 48       1B 53 30

Cancel Superscript    ESC T                  27 84          1B 54

Set Underscore Mode   ESC -1                 27 45 49       1B 2D 31

Cancel Underscore     ESC -0                 27 45 48       1B 2D 30
Mode

Set Overscore Mode    ESC _1                 27 95 49       1B 5F 31

Cancel Overscore      ESC _0                 27 95 48       1B 5F 30
Mode

Set Emphasized Mode   ESC E                  27 69          1B 45

Cancel Emphasized     ESC F                  27 70          1B 46
Mode

Set Double Strike     ESC G                  27 71          1B 47
Mode

Cancel Double Strike  ESC H                  27 72          1B 48
Mode
                                                           
Set Double-High       ESC [ @ EOT NUL NUL    27 91 64 4 0   1B 5B 40 4 0 0
Characters            NUL " NUL              0 0 18 0       0 12 0

Set Double-High       ESC [ @ EOT NUL NUL    27 91 64 4 0   1B 5B 40 4 0 0
Double-Wide           NUL " STX              0 0 34 2       0 22 2

Reset to Normal       ESC [ @ EOT NUL NUL    27 91 64 4 0   1B 5B 40 4 0 0
Print                 NUL DC1 SOH            0 0 17 1       0 11 1
                                                           
Set Slashed Zero      ESC [ K ETX NUL NUL $  27 91 75 3 0   1B 5B 4B 3 0 0
                      STX                    0 36 2         0 24 2

Set Normal Zero       ESC [ K ETX NUL NUL $  27 91 75 3 0   1B 5B 4B 3 0 0
                      NUL                    0 36 0         0 24 0

Reset Printer         ECS [ K STX NUL ENQ $  27 91 75 2 0   1B 5B 4B 2 0 5
                                             5 36           24

1  n represents the number of lines per page
   (e.g., for 60 lines per page: ESC C 60 ).

2  NUL represents the NULL character and n represents the length in inches
   (e.g., for a page length of 14 inches: ESC C NUL 14 ).

3  Values for n: Draft Modes {0= 10cpi, 8=12cpi, 16=17cpi}
                 Letter Quality Modes { 2=10cpi Courier, 10=12cpi Prestige,
                                       18=17cpi Courier, 3=Proportional}