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 |
| 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 |
| 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 |
|
|
PTR_RP_NORMAL | End rotated printing. |
|
|
Note • The driver will send an FF to start the print out and eject the page after printing.
OPOS Driver User Guide | 11/25/2013 |