Zebra Technologies P1061668-001 manual PrintBitmap Method, RotatePrint Method

Page 40

38

Kiosk Modifications of the OLE for Retail POS

Methods

Remarks Call to print a barcode on the specified printer station.

If the property RotateSpecial indicates that the barcode is to be rotated, then perform the rotation. The Height, Width, and TextPosition parameters are applied to the barcode before the rotation. For example, if PTR_BC_TEXT_BELOW is specified and the barcode is rotated left, then the text will appear on the paper to the right of the barcode.

Note • Rotation is not possible.

PrintBitmap Method

Parameter

Description

 

 

Station

The printer station to be used. Only PTR_S_RECEIPT can be

 

used.

 

 

FileName

Name of Windows bitmap file. The file must be in

 

uncompressed and 2 color (black and white) format. Color

 

inversion may be necessary.

 

 

Width

Printed width of the bitmap to be performed. Only

 

PTR_BM_ASIS can be used.

 

 

Alignment

Placement of the bitmap. (No alignment other then left-most

 

print column possible (PTR_BM_LEFT).)

 

 

Note • PTR_BM_ASIS is the only valid Width value for the Kiosk printer.

RotatePrint Method

Rotation Direction of rotation. See values below.

Value

Meaning

 

 

PTR_RP_RIGHT90

Rotate printing 90º to the right (clockwise). (Not valid.)

 

 

PTR_RP_LEFT90

Rotate printing 90º to the left (counter-clockwise).

 

The printer prints in Landscape mode and can’t print bitmaps

 

within OPOS commands. The printer will not print any text

 

until it is switched back into Normal, the page is full, or

 

receives a FF to print and eject the page. You need to set the

 

RecLineChars to define the page width.

 

 

PTR_RP_ROTATE180

Rotate printing 180º, that is, print upside-down. (Not valid.)

 

 

PTR_RP_NORMAL

End rotated printing.

 

 

Note • The driver will send an FF to start the print out and eject the page after printing.

P1061668-001 Rev. A

OPOS Driver User Guide

11/25/2013

Image 40
Contents Zebra Kiosk Opos Driver User Guide Page Contents Contents Who Should Use This Document Opos InformationOLE for Retail POS Committee Core CompaniesEpson Fujitsu-ICL Microsoft NCRDocument Conventions Icons UsedDocument Conventions Kiosk Opos Driver Installation Hardware RequirementsCompatible Operating Systems Following sections describeInstalling 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 Testing the Installation Zebra Opos Printer Service Object Test Tool appearsKiosk Opos Driver Installation Kiosk Modifications of the OLE for Retail POS OLE for Retail POS ControlsDevice Power Reporting Model How an Application Uses an Opos ControlSummary of Common Properties, Methods, and Events Common PropertiesCommon Methods Common EventsUse of DirectIO has one valid command entry DirectIO MethodOpossuccess Direct I/O successfulExample STX Events POS Printer SummaryYES Specific PropertiesCapRecBitmap Boolean Open CapRecBold Boolean OpenCapRecDwide Boolean Open CapRecDwideDhigh Boolean OpenErrorLevel Long Open ErrorStation Long OpenErrorString Open CartridgeNotify Long Open CharacterSetJrnLetterQuality Boolean JrnEmpty BooleanJrnNearEnd Boolean JrnCartridgeState LongSlpLineCharsList String Open SlpLineHeight Long SlpLineSpacing LongSlpLineWidth Long SlpLetterQuality BooleanSpecific Methods General Information EventsData Characters and Escape Sequences One Shot Data Characters and Escape SequencesESC #P ESC #BESC #E Print Mode Data Characters and Escape SequencesESC #R Print Line Data Characters and Escape Sequences ESC 1CESC 2C ESC 3CRestores printer characteristics to Right justify ESC rA Aligns following text at the rightNormal ESC NProperties CharacterSetList Property FontTypefaceList PropertyMapMode Property RecBarCodeRotationList PropertyRecLineSpacing Property RecLinesToPaperCut PropertyRecLineWidth Property RecSidewaysMaxChars PropertyCutPaper Method MethodsPrintBarCode Method One Dimensional Symbologies Two Dimensional SymbologiesPrintBitmap Method RotatePrint MethodSetBitmap Method Kiosk Modifications of the OLE for Retail POS Page Zebra Technologies Corporation Zebra Technologies Europe LimitedZebra Technologies Asia Pacific, LLC ZIH Corp P1061668-001 Rev. a