getHR()

The getHR() function provides a string of the human readable form of the barcode (including check digits where these are permitted in the human readable form) that can be printed under a barcode.

Declaration

Int getHR(char * phumanString);

Where phumanString is a pointer to a C character buffer that will receive the string. This buffer must exist and be at least 96 characters in length before the function is called. Its existence and length are not checked within the library.

The function returns the length of the string copied to phumanString.

Note that clocked barcodes do not have human readable characters printed under the barcode, so the getHR() function should not be used if IsClocked() returns -1.

Some barcode types (eg. the Code 128 and EAN/UCC 128 types) have checked digits which are not included in the human readable form.

 

More:

ErrorMess()