User's Guide
Code Sets D-9
Table D-3. AMT 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; Trend 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:
9
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
Code Sets D-9
Table D-3. AMT 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; Trend 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:
9
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.
Содержание AMT ACCEL-5350
Страница 1: ...Document No 397000 B User s Guide AMTACCEL 5350 ...
Страница 2: ......
Страница 4: ...User s Guide ii Preface ...
Страница 22: ...User s Guide xx Contents ...
Страница 26: ......
Страница 44: ...User s Guide 2 14 Set Up ...
Страница 62: ...User s Guide 3 18 Loading Paper ...
Страница 106: ...User s Guide 4 44 Control Panel ...
Страница 158: ......
Страница 164: ...User sGuide B 6 Bar Codes ...
Страница 178: ......
Страница 242: ......
Страница 254: ......
Страница 255: ...AMT Datasouth Corp 4765 Calle Quetzal Camarillo CA 93012 8546 www amtdatasouth com ...