support

Barcodesoft Webservice Online Document:
Code 128


Byte[] Code128A(string textToEncode,
bool ShowHumanReadable,
bool ShowCheckDigit,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)

Byte[] Code128B(string textToEncode,
bool ShowHumanReadable,
bool ShowCheckDigit,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)

Byte[] Code128C(string textToEncode,
bool ShowHumanReadable,
bool ShowCheckDigit,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)


Code128A, Code128B, Code128C accept 9 parameters, returns the barcode image as a byte array.

textToEncode is a string to encode.

ShowHumanReadable is a boolean value for showing human readable text.

ShowCheckDigit is a boolean value for showing check digit.

ImageFormat is in enum BcsImageFormat. It can be set to one of the following values: BMP, JPG, PNG, WMF, TIFF, GIF.

Orientation is in enum BcsOrientation. It can be set to one of the following values: Original, Rotate90, Rotate180, Rotate270.

Resolution is an integer, its values ranges between 96 and 600. Any other value will be reset to 96.

Width is in pixel value. If you set it to zero, it will automatically find a best value for you.

Height is in pixel value. If you set it to zero, it will automatically find a best value for you.

Token is your password using this webservice. You will get a token after you purchase a license from Barcodesoft.

Code 128 is widely implemented in many applications to encode both alpha-numeric data and numeric-only data. Code128 has three subsets: code128A, code128B and code128C.

Code 128A is used to encode uppercase alpha and control characters.
Code 128B is used to encode both uppercase and lowercase alpha and numeric data.
Code 128C is used to encode numeric-only data.

Code 128 has many variations, like EAN 128, ISBT 128, etc. It has become mandatory to use UCC/EAN Code128 symbology to print bar coded labels of Confirmation Services since the year of 2004. USS Code128 also uses subset C to encode label.

A check digit is always required.

See Also
GS1-128