26
m
Mode
Dot density in
vertical direction
Dot density in
horizontal direction
0
Normal
203 DPI
203 DPI
1
Double width
203 DPI
101 DPI
2
Double hight
101 DPI
203 DPI
3
Quadruple
101 DPI
101 DPI
The bit image is defined line by line from left to right. The most significant bit of each byte is the
leftmost dot and the least significant bit is rightmost dot.
The data that exceeds the printing width of the line is discarded.
The raster bit image could be positioned using the commands ESC \, ESC $ and GS L.
The raster bit image could be justified using the ESC a command.
If this command is executed during a macro definition, the macro definition is finished and the
command is executed.
58. GS *
Defining the Download Bit Image
There are two variants of this command depending of the position of switch 5.
If switch 5 is
OFF
:
[Code]
[1Dh] + [2Ah] + n1 + n2 + D
1
+ … + D
n
[Range]
{0 <= n1 <= 255}
{0 <= n2 <= 68}
{0 <= D
i
<= 255}
[Outline] n1 denotes the horizontal size of the bit image
n2 denotes the vertical size of the bit image
There are
n1*n2*8
bytes of data in order from top to bottom and from left to right, n1 bytes in
each vertical column of dots.
This command defines a bit image with number of dots determined by n1 and n2. There are n1*8
dots in horizontal direction and n2*8 number of dots in vertical direction.
If n1 is 0 the downloaded bit image is cleared.
The command GS / is used to print downloaded bit image.
If switch 5 is
ON
:
[Code]
[1Dh] + [2Ah] + n1 + n2 { + n21 + n22 } + D
1
+ … + D
N
[Range]
{0 <= n1 <= 7Fh}
{0 <= n2 <= F8h}
{0 <= D
i
<= FFh}
{1 <= n21+256*n22 <= 544}
[Outline] If n2 is 0 two more bytes are read. These two bytes then determine the vertical size of the bit
image. The vertical size then is N= n21+256*n22 rows.
If N is the vertical size of the bit image, N=n2 or N= n21+256*n22.
D
i
is the bit image’s data. The number of data bytes is n1*N. There are n1 bytes in the first row
then n1 bytes in the second, etc. There are N rows in the bit image, and the number of dots in the
bit image is n1*N*8. Each data bit defines one dot, value of “1” corresponds to black.
If n1 is 0 the downloaded bit image is cleared.
The downloaded bit image remains effective even if the printer is switched off.
[See Also] GS /
59. GS / m
Printing the Download, Bit Image
[Code]
[1Dh] + [2Fh] + m
[Range]
{0 <= m <= 3}
[Outline] Prints download bit image in a mode specified by m.