TBarCode Library 11  TBarCode Library 11

◆ BCSetTextEBCDIC()

ERRCODE TECIT_STDCALL 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]nCodepageThe code page number.
[in]pBarCodePointer to barcode structure.
[in]szTextBar-code text (EBCDIC encoded).
[in]nLenLength of input string.
  • >0: Length of string is specified in nLen
  • 0: TBarCode expects a \0-terminated string
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Nov 6 2019 16:51:32 for TBarCode Library 11 with doxygen 1.8.13