EasyManuals Logo

BIXOLON SRP-270 Reference Guide

BIXOLON SRP-270
50 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #21 background imageLoading...
Page #21 background image
POS/Mobile Printer
Rev. 1.00
- 21 -
- unsigned int alignment
[in] Set the barcode alignment.
Constant
Value
Description
BXL_ALIGNMENT_LEFT
0
Align to the left
BXL_ALIGNMENT_CENTER
1
Align to the center
BXL_ALIGNMENT_RIGHT
2
Align to the right
- unsigned int textPosition
[in] Set the barcode data printing position. 2-dimensional barcode has only
BXL_BC_TEXT_NONE .
Constant
Value
Description
BXL_BC_TEXT_NONE
0
No barcode data is printed.
BXL_BC_TEXT_ABOVE
1
The barcode data is printed above the barcode.
BXL_BC_TEXT_BELOW
2
The barcode data is printed below the barcode.
- unsigned int attribute
[in] Set the separator height of 2D and 1D barcodes when printing GS1 (1 or 2).
[Return Values]
Constant
Value
Description
SUCCESS
0
The function is successful.
WRITE_ERROR
-105
Data transmission failed.
WRONG_BARCODE_TYPE
-115
The barcode type is not supported.
WRONG_BC_DATA_ERROR
-116
The barcode data is incorrect.
NOT_SUPPORT
-124
The barcode is not supported.
* Example
ConnectToPrinter(………..);
char* barcodeData = “123456789012”;
barcodeInfo_s barcodeInfo;
……
barcodeInfo.height = 50;
barcodeInfo.width = 2;
barcodeInfo.textPosition = BARCODE_TEXT_BELOW;
PrintBarcode(BARCDE_UPCA, barcodeData, &barcodeInfo);
barcodeInfo.height = 50;
barcodeInfo.width = 2;
barcodeInfo.textPosition = BARCODE_TEXT_BELOW;
PrintBarcode(BARCDE_UPCE, barcodeData, &barcodeInfo);
barcodeInfo.height = 50;
barcodeInfo.width = 2;

Other manuals for BIXOLON SRP-270

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the BIXOLON SRP-270 and is the answer not in the manual?

BIXOLON SRP-270 Specifications

General IconGeneral
ColorNo
Maximum print size-
Media thickness76 mm
Print technologyDot matrix
Power requirements120-230VAC
Standard interfacesParallel, Serial

Related product manuals