2001/10/02
CHAPTER 2 "PCL" - 29
Top margin
Bottom margin
Text length
Page length
4.2.18. Page length
Esc&l#P (27)(38)(108)#(80) <1Bh><26h><6Ch>#<50h>
# stands for the length of the logical page in lines (at the current VMI).
• If you specify a page length greater than is allowed by the physical size of the paper in the currently installed
paper tray, a control panel message prompts you to load paper of the appropriate size.
• When the printer receives this command any unprinted pages are printed and the left, right and top margins
and the text length are set to their user defaults.
• If you specify a page length greater than is allowed by any of the supported paper sizes, the command is
ignored.
• If the current VMI is 0 the command is ignored.
• For the USA, the factory default page size is letter, for which the default page length is 66 lines (11 inches at 6
lines per inch). For Europe, the factory default page size is A4, for which the default page length is 70 lines
(11.6 inches at 6 lines per inch). The default lengths for other paper sizes are: Legal - 84 lines, Executive - 63
lines (all at 6 lines per inch).
• Depending on your printer model, you can also set the page length from the printer’s control panel or remote
printer console by setting LINES to the required number of lines per page in the PAGE FORMAT mode (see
the User Guide).
10 REM ******* SETTING THE PAGE LENGTH TO 66 LINES *******
20 REM
30 ESC$=CHR$(27)
40 LPRINT ESC$+"&l66P";
50 FOR I=1 TO 67
60 LPRINT STR$(I)
70 NEXT
80 LPRINT CHR$(12);
90 END
4.2.19. Perforation skip
You can set the printer to flow text from one page to the next when it encounters a line feed (or half line feed) that
would otherwise move the cursor position to below the bottom of the text area. When perforation skip is enabled
the cursor is automatically moved to the top left hand corner of the text area on the next page and printing
continues.
Esc&l#L (27)(38)(108)#(76) <1Bh><26h><6Ch>#<4Ch>
# is either 0 or 1.
• # = 0 turns the perforation skip feature off.
• # = 1 turns the perforation skip feature on.
• The factory default mode is perforation skip on.
• Whenever the perforation skip mode is changed, the top margin and page length values are reset to their
default values.