rssapi.cpp File Reference

Public API functions for RSS barcodes (Reduced Space Symbology). More...


Functions

LONG BCGet_RSS_SegmPerRow (t_BarCode* pBarCode)
 Gets currently adjusted data segments per row (GS1 DataBar/RSS Expanded Stacked only). Returns currently adjusted value.
See also:
BCSet_RSS_SegmPerRow() \param[in] pBarCode Pointer to barcode structure.
Return values:
-1   No value set. This is the default
2..22   ] Otherwise ----------------------------------------------------------------------------.


ERRCODE BCSet_RSS_SegmPerRow (t_BarCode* pBarCode, LONG nSegmPerRow)
 Sets data segments per Row (GS1 DataBar/RSS Expanded Stacked only) to a fixed value. The value of nSegmPerRow specifies how many data words (segments) are encoded in one data row of the symbol. Values in the range from 2 to 22 are allowed. Data words are encoded in pairs, so only even numbers are valid. Wrong values are auto-corrected by TBarCode. If this value is not set (default), the number of data segments per row is 4.
See also:
BCGet_RSS_SegmPerRow() \param[in] pBarCode Pointer to barcode structure. \param[in] nSegmPerRow Number of segments per row [2..22] (-1 ... reset to default).
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.



Detailed Description

Public API functions for RSS barcodes (Reduced Space Symbology).

Required include file: "tbarcode.h"

Author(s):
TEC-IT Datenverarbeitung GmbH
Wagnerstr. 6, 4400 Steyr, AUSTRIA/EUROPE
https://www.tec-it.com
Copyright© by TEC-IT Datenverarbeitung GmbH


Function Documentation

LONG BCGet_RSS_SegmPerRow ( t_BarCode * pBarCode )

Gets currently adjusted data segments per row (GS1 DataBar/RSS Expanded Stacked only). Returns currently adjusted value.

See also:
BCSet_RSS_SegmPerRow() \param[in] pBarCode Pointer to barcode structure.
Return values:
-1   No value set. This is the default
2..22   ] Otherwise ----------------------------------------------------------------------------.

ERRCODE BCSet_RSS_SegmPerRow ( t_BarCode * pBarCode,
LONG nSegmPerRow )

Sets data segments per Row (GS1 DataBar/RSS Expanded Stacked only) to a fixed value. The value of nSegmPerRow specifies how many data words (segments) are encoded in one data row of the symbol. Values in the range from 2 to 22 are allowed. Data words are encoded in pairs, so only even numbers are valid. Wrong values are auto-corrected by TBarCode. If this value is not set (default), the number of data segments per row is 4.

See also:
BCGet_RSS_SegmPerRow() \param[in] pBarCode Pointer to barcode structure. \param[in] nSegmPerRow Number of segments per row [2..22] (-1 ... reset to default).
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


© 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Sat Jul 13 03:16:06 2019 for TBarCode Library 11 with doxygen 1.1.5