P9-10 Mobile Printer CPCLProgramming Manual
PAGE-WIDTH Command
PAGE-HEIGHT Command
The printer lets you control both the width and height of
the page through use of the PAGE-WIDTH and PAGE-
HEIGHT commands. The Encore four inch printers, for
example, will take any size stock up to four inches wide.
If the stock is three inches wide, use the PAGE-WIDTH,
or PW command.
! U1 PW {unit width}
If the size of the receipts should remain a constant and
the paper stock does not have a black bar to denote the
top of form, use the PAGE-HEIGHT, or PH command.
The printer will then partition the data you send into fixed
page sizes.
! U1 PH {unit height}
Special ASCII Characters
Form Feed
ASCII Character (0x0c) will advance the paper to either
the next index mark, or the length specified by the PAGE-
HEIGHT, SETFF or SET-TOF commands. (The index
mark is either a black line on the back of the stock, or the
gap between labels. See GAP-SENSE or BAR-SENSE
in Section 12 of this manual.)
Backspace
ASCII Character (0x08) acts as a non-destructive
backspace. The character after the backspace character
will appear on top of the previous character.