ERRCODE BCSetTranslateEsc ( t_BarCode pBarCode,
BOOL  bTranslate 
)

Activates/deactivates the translation of escape-sequences.

Defines if escape-sequences in the input data (e.g. "\n" in "123\n456") shall be translated before encoding takes place. If the translation of escape-sequences is switched off, all characters are encoded "as-is". If it is activated, escape-sequences are translated into their corresponding characters. See Barcode Reference for more information.

Note:
In order to encode barcode specific control characters (like subset selection in Code128) most likely escape sequences are required.
Escape sequences cannot be used if data compression is activated (BCSetCompression). If data compression is activated, Escape sequences are not translated.
See also:
BCGetTranslateEsc(), BCSetTextA(), BCSetTextW()
Parameters:
[in] pBarCode Pointer to barcode structure.
[in] bTranslate Translate escape sequences.
  • true: Escape sequences (like "\n") are translated
  • false: Escape sequences are not translated (the default)
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