ERRCODE BCSetTextEBCDIC ( INT  nCodepage,
t_BarCode pBarCode,
LPCSTR  szText,
LONG  nLen 
)

Sets barcode text (EBCDIC version).

This function works the same like BCSetTextA() except that the text is specified in EBCDIC encoding and internally converted to ASCII.

Note:
Please make sure to set up all barcode parameters (like barcode type, translation of escape sequences, etc.) before assigning the barcode data. Otherwise the input data will not be converted to the target character set correctly.
Parameters:
[in] nCodepage The code page number.
[in] pBarCode Pointer to barcode structure.
[in] szText Bar-code text (EBCDIC encoded).
[in] nLen Length of input string.
  • >0: Length of string is specified in nLen
  • 0: TBarCode expects a \0-terminated string
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.


© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue May 5 15:50:32 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3