Standard commands Sheet ejection commands
T5023/5023+ - Programming Guide 67
Determining the document length at n inches
Function:
ESCCNUL(n)sets the document length at n inches (absolute document length
independent of the line spacing). The value of n must lie between 1 (inch) and
50 (inches) inclusive.
The value n (inches) must be selected so that the length of the paper format is
not exceeded. If the format is exceeded by a corresponding n, the printer auto-
matically sets the maximum permitted format height as the current document
length.
The current line, in which the print head is located on receipt of the command, is
fixed as the starting position of the document. The bottom margin, possibly de-
termined by ESCN(n), is cancelled by ESC C NUL (n).
ESC
27
1B
C
67
43
NUL
0
00
(n)
n
n
ASCII character
Decimal
Hexadecimal
If the print head is positioned beyond the edge of the paper (for examp-
le, for a document length of 12 inches), the printer issues an error mes-
sage (PAPER LENGTH). If a bottom margin is set logically on the paper
via ESCN(n)(for example, at 9 inches) and this margin is exceeded,
a form feed (FF) is executed.
i