OptionalalignCentre the barcode on the receipt (default: true).
OptionalcheckValidate code format before sending to printer (default: true).
OptionalfontFont for human-readable text: 'A' or 'B' (default: 'A').
OptionalfunctionESC/POS barcode function type: 'A' or 'B' (auto-detected if omitted).
OptionalheightBarcode height in dots (1–255; default: 64).
OptionalposPosition of human-readable text relative to the barcode (default: 'BELOW').
OptionalwidthModule width / bar width in dots (2–6; default: 3).
Options for Escpos.barcode.
Since
1.0.0