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. |