CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-77
8.10.53 DOWNLOADED BIT IMAGE DEFINE COMMAND
[GS] *
Function
Defines a downloaded bit image that contains the number of dots specified by n1 and n2.
Format
[GS] *n1n2 [d
1
d
2
d
3
…d
(n1×n2×8)
]
Term
ASCII: GS *
Hex: 1Dh 2Ah
[Parameter]
n1: No. of dots in the horizontal direction (n1
×
8) 1
≤
n1
≤
255 (01h
≤
n1
≤
FFh)
n2: No. of dots in the vertical direction (n2
×
8) 1
≤
n2
≤
48 (01h
≤
n2
≤
30h)
*
n1
×
n2
≤
1,536
d: Image
data
1
≤
d
≤
255 (01h
≤
d
≤
FFh)
* 1 refers to a bit to be printed, and 0 to the one not to be printed.
Default
value
Explanation (1)
If
n1
×
n2 is out of the defined range, this command will be ignored.
(2) d refers to bit image data. A bit corresponding to a dot to be printed is set to 1, and
the one corresponding to a dot not to be printed is set to 0.
(3) The defined downloaded bit image is cleared in the event of:
Initialize Command ([ESC] @)
Downloaded Character (Writable Character) Define Command ([ESC] &)
Resetting or turning the printer off
(4) A downloaded bit image is defined.
(5) A specified logo is valid until resetting or the printer is turned off. However, in the
event of a parameter error (e.g. a value out of range), the most recently stored logo
is not guaranteed.
(6) At a moment when an error occurs with parameter n1 or n2 due to a factor such as
an unmatched condition, command processing will be aborted, and the data
subsequent to n2 will be processed as normal data.
(7) This command is valid in page mode only when the parameter of the Page Mode
Print Direction Set Command ([ESC] T) is set to 0 (0-degree rotation). The bit
image will not be rotated if any value other than 0 is specified.
(8) The figure on the next page illustrates a relationship between data and printed dots.