node-escpos / driver

🖨️ ESC/POS Printer driver for Node.js.
Other
317 stars 32 forks source link

Add Barcode Data "Letter" Support #79

Closed YovanggaAnandhika closed 10 months ago

YovanggaAnandhika commented 1 year ago
       printer.barcode(code : number,  type :  BarcodeType,  options : BarcodeOptions);

to

     printer.barcode(code : number | string,  type :  BarcodeType,  options : BarcodeOptions);

The Code 39 specification defines 43 characters, consisting of uppercase letters (A through Z), numeric digits (0 through 9) and a number of special characters (-, ., $, /, +, %.

@reference Wiki Code39

YovanggaAnandhika commented 10 months ago

Thanks For Help https://github.com/node-escpos/driver/pull/80#issue-2011090404