Citizen Systems Network Router 1.8 Manuel D’Utilisation

Page de 61
 
 
 
 
 
CITIZEN OPOS DRIVER 1.8 Application Development Guide
43
2.6. POS Printer Service Object and Precautions 
ClaimDevice Method 
No identical serial port (COM*) specified by the Windows driver is not usable in the connection of 
serial interface.    When this method is executed in this connection, “OPOS_E_TIMEOUT” is 
returned. 
 
PrintBarCode Method/RotateSpecial 
 Supported barcodes 
PTR_BCS_UPCA, PTR_BCS_UPCE, PTR_BCS_EAN8, PTR_BCS_JAN8, PTR_BCS_EAN13, 
PTR_BCS_JAN13, PTR_BCS_ITF, PTR_BCS_CODABAR, PTR_BCS_CODE39, PTR_BCS_CODE93, 
PTR_BCS_CODE128, PTR_BCS_UPCA, PTR_BCS_UPCE 
 
  About UPC-E barcode printing 
This printer compresses the 11- or 12-digit data entered to 8-digit data by using the zero 
suppression method of UPC-E standard.  The following is an example of data compression 
using zero suppression method. 
Ex: Set the original code to be "0-ABCDE-VWXYZ" (11 digits).  Printable patterns are as 
follows: 
1) When all V through Y are"0" 
"0-ABCDE-0000Z": Denotes "ABCDEZ", where Z is any of 5 through 9. 
2) When E and VWXY are all "0" 
"0-ABCD0-0000Z": Denotes "ABCDZ4".    The last 4 indicates that A and D of manufacturer 
code is not "0".   
3) When DE and VWX are "0" 
"0-ABC00-000YZ": Denotes “ABCYZ3".    The last 3 indicates that A and C are not "0" but 
ABC is a number of 3 digits. 
4) When DE and VW are "0" and C is "0", "1", or "2": 
            ① When C = "0": "0-AB000-00XYZ" -> "ABXYZ0" 
            ② When C = "1": "0-AB100-00XYZ" -> "ABXYZ1" 
 When C = "2": "0-AB200-00XYZ" -> "ABXYZ2" 
 
The check digit is automatically calculated in the printer.  When a condition other than the 
above is specified and executed, error (OPOS_E_ILLEGAL) is returned because the printer 
cannot print due to its specification requirement. 
 
  About rotating printing of symbol 
 
  Available rotating direction is 0
° and 180° (all models). 
 
RotatePrint Method 
Print size changes dynamically up to the value of RecSidewaysMaxChars depending on the print 
data.    Rotate print in NV bit image mode is not supported.    For NV bit image mode, refer to 
“SetBitmap Method/ESC|#B Escape Sequence in 2.6 POS Printer Service Object and Precautions”.