setSerial()

The setSerial() function passes the developer’s serial number to the library so that the library generates correct barcodes. Without the correct serial number the library will generate barcodes in which the data has been randomly scrambled. The function should be called once after the library has been loaded and before the first call to any other function.

Declaration

int setSerial(char * serialnumber);

where serialnumber is a pointer to a null-terminated C-string containing the developer serial number.

The function always returns zero.

 

 

More:

Barcode information