Zebra Technologies P1061668-001 manual Data Characters and Escape Sequences, Esc #P, Esc #B

Page 31

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

Image 31
Contents Zebra Kiosk Opos Driver User Guide Page Contents Contents Opos Information Who Should Use This DocumentNCR OLE for Retail POS CommitteeCore Companies Epson Fujitsu-ICL MicrosoftIcons Used Document ConventionsDocument Conventions Following sections describe Kiosk Opos Driver InstallationHardware Requirements Compatible Operating SystemsInstalling the Opos Driver Before Installing the Opos DriverTo install the Kiosk Opos Driver List of available drivers appear Kiosk Opos Driver Installation Kiosk Opos Driver Installation Kiosk Opos Driver Installation Zebra Opos Printer Service Object Test Tool appears Testing the InstallationKiosk Opos Driver Installation OLE for Retail POS Controls Kiosk Modifications of the OLE for Retail POSHow an Application Uses an Opos Control Device Power Reporting ModelCommon Properties Summary of Common Properties, Methods, and EventsCommon Events Common MethodsDirect I/O successful Use of DirectIO has one valid command entryDirectIO Method OpossuccessExample STX POS Printer Summary EventsSpecific Properties YESCapRecDwideDhigh Boolean Open CapRecBitmap Boolean OpenCapRecBold Boolean Open CapRecDwide Boolean OpenCartridgeNotify Long Open CharacterSet ErrorLevel Long OpenErrorStation Long Open ErrorString OpenJrnCartridgeState Long JrnLetterQuality BooleanJrnEmpty Boolean JrnNearEnd BooleanSlpLetterQuality Boolean SlpLineCharsList String Open SlpLineHeight LongSlpLineSpacing Long SlpLineWidth LongSpecific Methods Events General InformationESC #B Data Characters and Escape SequencesOne Shot Data Characters and Escape Sequences ESC #PESC #E Print Mode Data Characters and Escape SequencesESC #R ESC 3C Print Line Data Characters and Escape SequencesESC 1C ESC 2CESC N Restores printer characteristics toRight justify ESC rA Aligns following text at the right NormalProperties RecBarCodeRotationList Property CharacterSetList PropertyFontTypefaceList Property MapMode PropertyRecSidewaysMaxChars Property RecLineSpacing PropertyRecLinesToPaperCut Property RecLineWidth PropertyCutPaper Method MethodsPrintBarCode Method Two Dimensional Symbologies One Dimensional SymbologiesRotatePrint Method PrintBitmap MethodSetBitmap Method Kiosk Modifications of the OLE for Retail POS Page ZIH Corp P1061668-001 Rev. a Zebra Technologies CorporationZebra Technologies Europe Limited Zebra Technologies Asia Pacific, LLC