Esc i z print information command, Description, Esc i z – Brother TD-2120N User Manual
Page 33: Print information command

Raster Command Reference
- 29 -
4. Printing Command Details
ESC i z
Print information command
ASCII:
ESC
i
z
{n1}
{n2}
{n3} {n4} {n5}
{n6}
{n7}
{n8}
{n9}
{n10}
Hexadecimal: 1B
69
7A
{n1}
{n2}
{n3} {n4} {n5}
{n6}
{n7}
{n8}
{n9}
{n10}
Description
Specifies the print information.
Definitions of {n1} through {n10}
{n1}:
Valid flag; Specifies which values are valid
#define PI_KIND 0x02
// Media type
#define PI_WIDTH 0x04
// Media width
#define PI_LENGTH 0x08
// Media length
#define PI_QUALITY 0x40
// Priority given to print quality
#define PI_RECOVER 0x80 // Printer recovery always on
{n2}:
Media type
Continuous length tape: 0Ah
Die-cut labels: 0Bh
{n3}:
{n3}: Media width (mm)
{n4}: Media length (mm)
For the media of width 51 mm × length 26 mm, specify as n3=33h and n4=1Ah.
{n4}:
{n5-n8}:
Raster number = n8*256*256*256 + n7*256*256 + n6*256 + n5
If the media is not correctly loaded into the printer when the valid flag for PI_KIND,
PI_WIDTH and PI_LENGTH are set to “ON”, an error status is returned (Bit 0 of “
” is set to “ON”.)
{n9}:
Starting page: 0
Other pages: 1
{n10}:
Fixed at 0