Printgs1Databarstackedasync Method - Citizen CT-D101 Series Programming Manual

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

Advertisement

2.3.14. PrintGS1DataBarStackedAsync method

Syntax
Task<int> PrintGS1DataBarStackedAsync (string data, int symbology, int moduleSize, int maxSize,
int alignment)
Parameter
The meaning and the setting range of the parameters are as follows.
Value
data
symbology
moduleSize
maxSize
alignment
Description
This method is used to print 2-dimensional GS1 DataBar barcode.
This method can use only the printers of CT-D101/150/151, CT-E301/351/601/651, CT-S251/310II/601/
651/801/851/601II/651II/801II/851II/4500 series.
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.PrintGS1DataBarStackedAsync(
"0123456789012",
ESCPOSConst.CMP_BCS_GS1DATABAR_S,
4,
300,
ESCPOSConst.CMP_ALIGNMENT_LEFT );
[IN/OUT]
Meaning
[IN]
Barcode data
[IN]
Barcode symbol type
[IN]
Module width
[IN]
Max width
[IN]
Barcode alignment
CITIZEN UWP POS Print SDK - Programming Manual
Setting range
CMP_BCS_GS1DATABAR_S:
GS1 DataBar Stacked
CMP_BCS_GS1DATABAR_E_S:
GS1 DataBar Expanded Stacked
CMP_BCS_GS1DATABAR_S_O:
GS1 DataBar Stacked Omnidirectional
2 - 8 (dots)
Expressed in the unit of measure given by
MapMode
(default dots).
106 - 39528 (dots)
Max width of GS1 DataBar Expanded Stacked.
Expressed in the unit of measure given by
MapMode
(default dots).
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
45
MapMode
(default dots).
value" for the error code except it.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents