Chapter 5: Programming commands
59
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Slip Station
Value of
m
Mode
No. of dots (vertical)
No. of dots (horizontal)
0
8-Dot single-density
8 (72 DPI)
210 (70 DPI)
1
8-Dot double-density
8 (72 DPI)
420 (140 DPI)
32, 33
Not available on slip
In single density, one byte (8-dots) is printed in each full dot column. In double-density, one byte is
printed in each half/full dot column, but adjacent horizontal dots (overlapping dots) are not printed.
Value of
n:
Value of
n
(8-dot single-density mode) Value of
n
(24-dot single-density mode)
Value of
d
n1 + (256 × n2)
3 x [n1 + (256
×
n2)]
Number of bytes of data*
*Printed left to right (8-dot mode); Printed down then across (24-dot mode).
Formulas
8-dot single-density
n
1 + (256
×
n
2)
24-dot single-density
3 x [
n
1 + (256
×
n
2)]
Sets the print resolution and enters one line of graphics data into the print buffer. Excess data is accepted but ignored.
Any print command is required to print the data, after which the printer returns to normal processing mode.
See the illustration for graphic representations of the bit image on next page.
Print advanced raster graphics
ASCII
ESC .
m n rL rH d1 … dn
Hexadecimal
1B 2E
m n rL rH d1 … dn
Decimal
27 46
m n rL rH d1 … dn
Value of
m:
horizontal offset from left margin = 8 x
m
dots
Value of n
:
number of data bytes that compose the raster
Value of r
:
number of times the raster has to be printed =256 x
rH + rL
d1 … dn:
data bytes
Range:
0<=
m
<= 72
0<=
n
<= 72
0<=
r
<= 65535
0<=
d1 … dn
<= 255
Prints a horizontal raster of graphics data one or multiple times. Horizontal offset and number of data bytes are
variable and specified by parameters.
Exceptions
Advanced raster graphics is not available in page mode.
Select double-density graphics
ASCII
ESC Y
n
1
n
2
d
1 ...
d
n
Hexadecimal
1B 59
n
1
n
2
d
1 ...
d
n
Decimal
27 89
n
1
n
2
d
1 ...
d
n
Equivalent to
1B
2A m=1
n
1
n
2
d
1 ...
d
n
Print Flash Logo
ASCII
FS p
n m
Hexadecimal
1C 70
n m
Decimal
28 112
n m
Print flash logo ID n using mode m. See command 1D 2F m for description of mode m. See
command 1C 71 for description of n. The select slip command x/C must be disabled via 1F 03 38
00 to use this logo command.
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...