User's guide d-8 code sets – AMT Datasouth ACCEL-6300 User Manual
Page 187

User's Guide
D-8 Code Sets
Table D-3. AMT Datasouth and Diablo 630 Escape Sequences––continued
Function
ASCII
Hexadecimal
Decimal
Description
Horizontal Spacing
Set character spacing ..............
ESC US n
1B 1F n
27 31 n
This sequence sets the distance that the carriage moves
5
characters/inch ........
ESC US EM
1B 1F 19
27 31 25
after printing a character or when spacing. The value of
6
characters/inch ........
ESC US NAK
1B 1F 15
27 31 21
variable n minus one defines a number of 1/120-inch
6.6 characters/inch ........
ESC US DC3
1B 1F 13
27 31 19
increments to move:
7.5 characters/inch ........
ESC US DC1
1B 1F 11
27 31 17
8.5 characters/inch ........
ESC US SI
1B 1F 0F
27 31 15
Character spacing = (n - 1) x 1/120-inch
10
characters/inch ........
ESC US CR
1B 1F 0D
27 31 13
12
characters/inch ........
ESC US VT
1B 1F 0B
27 31 11
13.3 characters/inch ........
ESC US LF
1B 1F 0A
27 31 10
15
characters/inch ........
ESC US HT
1B 1F 09
27 31 9
17.1 characters/inch ........
ESC US BS
1B 1F 08
27 31 8
20
characters/inch ........
ESC US BEL
1B 1F 07
27 31 7
Set character spacing ..............
ESC S
1B 53
27 83
This sequence sets character spacing to the default spacing
to default
of the active font. Each font has a default character spacing that
the printer uses when no character spacing is set. Courier is 10
characters per inch (cpi); Letter Gothic and Elite are 12 cpi;
Times Roman is proportional; and so on.
With double-wide printing on, this sequence sets character
spacing to two times the default character spacing of the active
font. If the active font is proportional, this sequence turns on the
proportional mode.
Set character cell width ..........
ESC @ Z n
1B 40 5A n
27 64 90 n
This sequence sets the width of character cells. Normally,
5
characters/inch ........
ESC @ Z 8
1B 40 5A 38
27 64 90 56
if you print a font at a character spacing other than the
6
characters/inch ........
ESC @ Z 4
1B 40 5A 34
27 64 90 52
default spacing, the characters overlap or are spaced too far
6.6 characters/inch ........
ESC @ Z 2
1B 40 5A 32
27 64 90 50
apart. This sequence automatically proportions characters
7.5 characters/inch ........
ESC @ Z 0
1B 40 5A 30
27 64 90 48
so that they print correctly at other valid character spacings.
8.5 characters/inch ........
ESC @ Z .
1B 40 5A 2E
27 64 90 46
10
characters/inch ........
ESC @ Z ,
1B 40 5A 2C
27 64 90 44
The value of variable n minus 32 determines the width, in
12
characters/inch ........
ESC @ Z *
1B 40 5A 2A
27 64 90 42
1/120-inch increments, for each character cell. If the active
13.3 characters/inch ........
ESC @ Z )
1B 40 5A 29
27 64 90 41
font is proportional, variable n determines the width of a
15
characters/inch ........
ESC @ Z (
1B 40 5A 28
27 64 90 40
space (SP); all other character cells adjust proportionally.
17.1 characters/inch ........
ESC @ Z '
1B 40 5A 27
27 64 90 39
20
characters/inch ........
ESC @ Z &
1B 40 5A 26
27 64 90 38
This sequence does not change the current character spacing. To
print a font at a nonstandard pitch, include this escape secquence
between the Set Font and Set Character Spacing sequences.
Set horizontal ............................
ESC DC1 n
1B 11 n
27 17 n
This sequence causes an offset of 0/120-inch to 63/120-inch
spacing offset
to be added to or subtracted from the current character spacing
(or PS unit values, if the PS mode is on). Variable n is a byte that
determines whether the offset is added or subtracted, and the
distance of the offset. The printer interprets n as follows:
Reads the value of bit 6 to determine whether the offset
is positive or negative. If the bit equals 0, the offset is positive
and the printer adds it; if the bits equals 1, the offset is negative
and the printer subtracts it.
User's Guide
D-8 Code Sets
Table D-3. AMT Datasouth and Diablo 630 Escape Sequences––continued
Function
ASCII
Hexadecimal
Decimal
Description
Horizontal Spacing
Set character spacing ..............
ESC US n
1B 1F n
27 31 n
This sequence sets the distance that the carriage moves
5
characters/inch ........
ESC US EM
1B 1F 19
27 31 25
after printing a character or when spacing. The value of
6
characters/inch ........
ESC US NAK
1B 1F 15
27 31 21
variable n minus one defines a number of 1/120-inch
6.6 characters/inch ........
ESC US DC3
1B 1F 13
27 31 19
increments to move:
7.5 characters/inch ........
ESC US DC1
1B 1F 11
27 31 17
8.5 characters/inch ........
ESC US SI
1B 1F 0F
27 31 15
Character spacing = (n - 1) x 1/120-inch
10
characters/inch ........
ESC US CR
1B 1F 0D
27 31 13
12
characters/inch ........
ESC US VT
1B 1F 0B
27 31 11
13.3 characters/inch ........
ESC US LF
1B 1F 0A
27 31 10
15
characters/inch ........
ESC US HT
1B 1F 09
27 31 9
17.1 characters/inch ........
ESC US BS
1B 1F 08
27 31 8
20
characters/inch ........
ESC US BEL
1B 1F 07
27 31 7
Set character spacing ..............
ESC S
1B 53
27 83
This sequence sets character spacing to the default spacing
to default
of the active font. Each font has a default character spacing that
the printer uses when no character spacing is set. Courier is 10
characters per inch (cpi); Letter Gothic and Elite are 12 cpi;
Times Roman is proportional; and so on.
With double-wide printing on, this sequence sets character
spacing to two times the default character spacing of the active
font. If the active font is proportional, this sequence turns on the
proportional mode.
Set character cell width ..........
ESC @ Z n
1B 40 5A n
27 64 90 n
This sequence sets the width of character cells. Normally,
5
characters/inch ........
ESC @ Z 8
1B 40 5A 38
27 64 90 56
if you print a font at a character spacing other than the
6
characters/inch ........
ESC @ Z 4
1B 40 5A 34
27 64 90 52
default spacing, the characters overlap or are spaced too far
6.6 characters/inch ........
ESC @ Z 2
1B 40 5A 32
27 64 90 50
apart. This sequence automatically proportions characters
7.5 characters/inch ........
ESC @ Z 0
1B 40 5A 30
27 64 90 48
so that they print correctly at other valid character spacings.
8.5 characters/inch ........
ESC @ Z .
1B 40 5A 2E
27 64 90 46
10
characters/inch ........
ESC @ Z ,
1B 40 5A 2C
27 64 90 44
The value of variable n minus 32 determines the width, in
12
characters/inch ........
ESC @ Z *
1B 40 5A 2A
27 64 90 42
1/120-inch increments, for each character cell. If the active
13.3 characters/inch ........
ESC @ Z )
1B 40 5A 29
27 64 90 41
font is proportional, variable n determines the width of a
15
characters/inch ........
ESC @ Z (
1B 40 5A 28
27 64 90 40
space (SP); all other character cells adjust proportionally.
17.1 characters/inch ........
ESC @ Z '
1B 40 5A 27
27 64 90 39
20
characters/inch ........
ESC @ Z &
1B 40 5A 26
27 64 90 38
This sequence does not change the current character spacing. To
print a font at a nonstandard pitch, include this escape secquence
between the Set Font and Set Character Spacing sequences.
Set horizontal ............................
ESC DC1 n
1B 11 n
27 17 n
This sequence causes an offset of 0/120-inch to 63/120-inch
spacing offset
to be added to or subtracted from the current character spacing
(or PS unit values, if the PS mode is on). Variable n is a byte that
determines whether the offset is added or subtracted, and the
distance of the offset. The printer interprets n as follows:
Reads the value of bit 6 to determine whether the offset
is positive or negative. If the bit equals 0, the offset is positive
and the printer adds it; if the bits equals 1, the offset is negative
and the printer subtracts it.