CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS)
B-EP
Series
7-21
7.5.7
BARCODE HEIGHT COMMAND
[GS] h
Function
Sets the barcode height.
Format
[GS]
hn
Term
n:
Barcode height (1 byte)
01H to FFH (1 to 255 dots)
Initial value
n:
68H (104 dots)
Explanation
(1)
When
“
n
”
is set to any value other than the above, a command error occurs.
* For PDF417, the bar height for one row is set by this command. Note that the height
of the whole barcode cannot be set by this command. The PDF417 can have the
maximum of 90 rows. Therefore, if 88 or more dots are specified, the PDF417 may
not be stored in the image buffer. In that case, the printer’s operation is not
guaranteed.
Refer to
Barcode/Two-Dimensional Code Print Command ([GS] k)
Paper feed direction
Effective print width (Width of head)
Width of receipt
* 8 7 6 5 4 3 2 1 *
[GS] h <20H> [GS] k3*87654321*
[NUL] [LF]
* 8 7 6 5 4 3 2 1 *
[GS] h <40H> [GS] k3*87654321*
[NUL] [LF]
[GS] h <60H> [GS] k3*87654321*
[NUL] [LF]
* 8 7 6 5 4 3 2 1 *
32 dots
64 dots
96 dots