ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 110 -
5. Control Command Details
ESC iX(2 Specify default page length
ASCII: ESC i X ( 2 02h 00h n1 n2
Hexadecimal: 1B 69 58 28 32 02 00 n1 n2
Parameters
00hn1FFh, 00hn26Bh (for 203dpi printers)
00hn1FFh, 00hn28Ch (for 300dpi printers)
Description
Specifies the default page length.
n1+(n2*256): Default page length (dots)
*A default page length 0 indicates the Auto setting.
*The manufacturers default is 0.
Specified length is from 1 to 120 inches.
This command is a static command.
Remarks
Invalid if the setting is a value outside of the allowable range
ESC iX(1 Retrieve default page length
ASCII: ESC i X ( 1 00h 00h
Hexadecimal: 1B 69 58 28 31 00 00
Parameters
None
Description
The default page length setting is returned as 4-byte data.
[1]
02h (Fixed)
[2]
00h (Fixed)
[3, 4]
n1 n2 settings
n1+(n2*256): Default page length (dots)
*A default page length of 0 indicates the Auto setting.
The retrieved value is a value specified by a static command.