26
CITIZEN UWP POS Print SDK - Programming Manual
2.2.
Functions list
This SDK provides the following functions.
Methods list
No Function
Detail
1
Create class
(Constructor)
This is constructor method.
2
Connect printer
(ConnectAsync method)
Connect to the printer.
3
Disconnect printer
(DisconnectAsync method)
Disconnect the printer connection.
4
Set encoding
(SetEncoding method)
Set the encoding of character.
5
Check printer status
(PrinterCheckAsync method)
Sends command for status check of the printer.
6
Get printer status
(Status method)
Get the status of the printer.
7
Print text
(PrintTextAsync method)
Prints a text data.
8
Print bitmap
(PrintBitmapAsync method)
Prints a bitmap file. (BMP/JPG/PNG/GIF format)
9
Print NV bitmap
(PrintNVBitmapAsync method)
Prints a bitmap image that is stored in the flash memory.
10 Print BarCode
(PrintBarCodeAsync method)
Prints a one-dimensional barcode.
11 Print PDF-417
(PrintPDF417Async method)
Prints a PDF417 barcode.
12 Print QRcode
(PrintQRCodeAsync method)
Prints a QRCode barcode.
13 Print 2D GS1DataBar
(PrintGS1DataBarStackedAsync method)
Prints a 2-dimensional GS1DataBar barcode.
14 Cut paper
(CutPaperAsync method)
Cuts the paper.
15 Feed dot units
(UnitFeedAsync method)
Feeds the paper forward by dot units.
16 Feed mark
(MarkFeedAsync method)
Support for label / black mark paper.
17 Open drawer
(OpenDrawerAsync method)
Opens the drawer.
18 Transaction print
(TransactionPrintAsync method)
Enters or exits transaction mode.
19 Rotate print
(RotatePrintAsync method)
Enters or exits rotated print mode. (180°)
20 PageMode print
(PageModePrintAsync method)
Enters or exits page mode.
21 PageMode clear print area
(ClearPrintArea method)
Clear the area of the page mode print area.
22 Clear output data
(ClearOutputAsync method)
Clears all buffered output data. (data and printer buffer)
23 Output data
(PrintDataAsync method)
Sends to the printer without changing the data.
24 Print OPOS format
(PrintNormalAsync method)
Prints text using OPOS escape sequences.
25 Get version code
(GetVersionCode method)
Get a numerical value for the version number of this SDK.
26 Get version name
(GetVersionName method)
Get a string for the version number of this SDK.
27 Watermark print
(WatermarkPrintAsync method)
Enters or exits watermark print mode.