Kiosk Modifications of the OLE for Retail POS General Information

29

Data Characters and Escape Sequences

The following escape sequences are recognized. If an escape sequence specifies an operation that is not supported by the printer station, then it is ignored.

One Shots Perform indicated action.

Table 9 • One Shot Data Characters and Escape Sequences

Name

Data

Remarks

Zebra Kiosk

Printer Supported

 

 

 

 

 

 

 

Paper cut

ESC #P

Cuts receipt paper. The character ‘#’

For a full cut use

 

 

is replaced by an ASCII decimal

ESC100P.

 

 

string telling the percentage cut

Use ESC50P if you want

 

 

desired. If ‘#’ is omitted, then a full

to use Hold Page in the

 

 

cut is performed. For example: The C

Windows driver.

 

 

string “\x1B75P” requests a 75%

 

 

 

partial cut.

 

 

 

 

 

Feed and Paper cut

ESC #fP

Cuts receipt paper, after feeding the

See Paper cut.

 

 

paper by the RecLinesToPaperCut

Use ESC100P.

 

 

lines. The character ‘#’ is defined by

This command is not

 

 

the “Paper cut” escape sequence.

working as expected

 

 

 

when used with the

 

 

 

Windows printer driver

 

 

 

and the paper advance at

 

 

 

the end before cut has to

 

 

 

be setup in the Driver’s

 

 

 

Printing Preferences

 

 

 

under Advanced settings.

 

 

 

 

Feed, Paper cut, and

ESC #sP

Cuts and stamps receipt paper, after

NO

Stamp

 

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

NO

 

 

usually contains a graphical store

 

 

 

emblem.

 

 

 

 

 

Print bitmap

ESC #B

Prints the pre-stored bitmap. The

YES

 

 

character ‘#’ is replaced by the bitmap

Note • This command

 

 

number. See setBitmap method.

will be ignored in Left90

 

 

 

rotation.

 

 

 

 

Print top logo

ESC tL

Prints the pre-stored top logo.

NO

 

 

 

 

Print bottom logo

ESC bL

Prints the pre-stored bottom logo.

NO

 

 

 

 

Feed lines

ESC #lF

Feed the paper forward by lines. The

YES

 

 

character ‘#’ is replaced by an ASCII

 

 

 

decimal string telling the number of

 

 

 

lines to be fed. If ‘#’ is omitted, then

 

 

 

one line is fed.

 

 

 

 

 

11/25/2013

OPOS Driver User Guide

P1061668-001 Rev. A

Page 31
Image 31
Zebra Technologies P1061668-001 manual One Shot Data Characters and Escape Sequences, Esc #P, Esc #B