kechankrisna / pos_printer_manager

GNU General Public License v3.0
13 stars 53 forks source link

Can use for Label printers? #13

Closed vukhacbiet closed 2 years ago

vukhacbiet commented 2 years ago

I'm having trouble connecting and printing from a label printer with esc_pos_printer package (specifically the XPrinter 350BM).

Label paper is fixed width and height (ex: 40x25mm, 50x30mm,...)

image

I tried to connect printer and set pagesize at 80mm, connect success but nothing is printed.

Can you tell me that this package can print with a label printer?

kechankrisna commented 2 years ago

Sorry i have never tried this label print with xPrinter. this package is write data directly to socket or usb, and it is now support only 58 mm and 80 mm. For you label paper, it might need to convert this into pdf with correct size with and height, then just use printing usb, it will work.