ERRCODE BCSetBearerBarType ( t_BarCode pBarCode,
e_BearerBar  eType 
)

Sets the type of the bearer bars.

By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 for the default minimum bearer bar width or a value > 0.
The vertical bearer bar is only displayed, if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable).

Parameters:
[in] pBarCode Pointer to barcode structure.
[in] eType The type of bearer bar.
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCGetBearerBarType(), BCGetBearerBarWidth(), BCSetBearerBarWidth()


© 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