Printpdf417Async Method - Citizen CT-D101 Series Programming Manual

Hide thumbs Also See for CT-D101 Series:
Table of Contents

Advertisement

2.3.12. PrintPDF417Async method

Syntax
Task<int> PrintPDF417Async (string data, int digits, int steps, int moduleWidth,
int stepHeight, int ECLevel, int alignment)
Parameter
The meaning and the setting range of the parameters are as follows.
Value
data
digits
steps
moduleWidth
stepHeight
ECLevel
alignment
Description
This method is used to print PDF-417 barcode.
Please refer to the Command Reference of the printer for details on each parameter.
The designation of CMP_ALIGNMENT_CENTER and CMP_ALIGNMENT_RIGHT of the Barcode alignment
on the page mode is ignored.
Return value
Return CMP_SUCCESS (0) in success. Please refer to
Example
await printer.PrintPDF417Async(
"http://www.citizen-systems.co.jp/printer/index.html",
0, 0, 3, 3,
ESCPOSConst.CMP_PDF417_EC_LEVEL_0,
ESCPOSConst.CMP_ALIGNMENT_LEFT );
[IN/OUT]
Meaning
[IN]
Barcode data
[IN]
Digits number
[IN]
Steps number
[IN]
Module width
[IN]
Height of step
[IN]
Error correction level
[IN]
Barcode alignment
CITIZEN UWP POS Print SDK - Programming Manual
Setting range
0: automatic
1 - 30
0: automatic
3 - 90
2 - 8 (dots)
Expressed in the unit of measure given by
MapMode
(default dots).
2 - 8
CMP_PDF417_EC_LEVEL_0: Level 0
CMP_PDF417_EC_LEVEL_1: Level 2
CMP_PDF417_EC_LEVEL_2: Level 2
CMP_PDF417_EC_LEVEL_3: Level 3
CMP_PDF417_EC_LEVEL_4: Level 4
CMP_PDF417_EC_LEVEL_5: Level 5
CMP_PDF417_EC_LEVEL_6: Level 6
CMP_PDF417_EC_LEVEL_7: Level 7
CMP_PDF417_EC_LEVEL_8: Level 8
CMP_ALIGNMENT_LEFT: Left alignment
CMP_ALIGNMENT_CENTER: Center alignment
CMP_ALIGNMENT_RIGHT: Right alignment
Other Values:
Distance from the left-most print column to
the start of the barcode. Expressed in the unit
of measure given by
"2.3.1. Return
43
MapMode
(default dots).
value" for the error code except it.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents