adding barcode printing functionality