- 16 -
3. Command list supported by PrintNormal() function in OLE
POS Command.
One Shots Perform indicated action.
Name Data Remarks
Paper cut ESC |#P Cuts receipt paper. The character ‘#’ is
replaced by an ASCII decimal string telling the
percentage cut desired. If ‘#’ is omitted, then a
full cut is performed. For example: The C
string “\x1B|75P” requests a 75% partial cut.
Feed and Paper cut ESC |#fP Cuts receipt paper, after feeding the paper by
the RecLinesToPaperCut lines. The
character ‘#’ is defined by the “Paper cut”
escape sequence.
Feed, Paper cut, and
Stamp ESC |#sP Cuts and stamps receipt paper, after feeding the
paper by the RecLinesToPaperCut lines. The
character ‘#’ is defined by the “Paper cut”
escape sequence.
Fire stamp ESC |sL Fires the stamp solenoid, which usually contains
a graphical store emblem.
Print bitmap ESC |#B Prints the pre-stored bitmap. The character ‘#’
is replaced by the bitmap number.
Feed lines ESC |#lF Feed the paper forward by lines. The
character ‘#’ is replaced by an ASCII decimal
string telling the number of lines to be fed. If ‘#’
is omitted, then one line is fed.
Feed units ESC |#uF Feed the paper forward by mapping mode units.
The character ‘#’ is replaced by an ASCII
decimal string telling the number of units to be
fed. If ‘#’ is omitted, then one unit is fed.
Feed reverse ESC |#rF Feed the paper backward. The character ‘#’ is
replaced by an ASCII decimal string telling the
number of lines to be fed. If ‘#’ is omitted, then
one line is fed.
Print Mode Characteristics that are remembered until explicitly changed.
Name Data Remarks
Font typeface
selection ESC |#fT Selects a new typeface for the following data.
Values for the character ‘#’ are:
0 = Default typeface.
1 = Select first typeface from the
FontTypefaceList property.
2 = Select second typeface from the
FontTypefaceList property.
And so on.