receiptio icon indicating copy to clipboard operation
receiptio copied to clipboard

Usb interface port names question

Open Grdgyyr opened this issue 3 years ago • 3 comments

This command works flawlessly and prints. The printer is attached to a network. "receiptio -d 192.168.1.60 -p generic receiptline.txt"

I tried to transfer the printer by plugging it in my system through USB. "receiptio -d lpt1 -p generic receiptline.txt" "receiptio -d USB002 -p generic receiptline.txt" These commands returns "disconnect". How can I know the proper port/name of the printer?

This is the configuration of windows and the information stated in Device Manager. Screenshot 2023-01-31 222328

Im on Windows 11 and the printer is a Generic 80mm Thermal.

Grdgyyr avatar Jan 31 '23 14:01 Grdgyyr

Thanks for using ReceiptIO!

Please install the printer vendor's virtual serial port driver and Node SerialPort. Then run ReceiptIO with the COM port assigned by the virtual serial port driver.

The following is the case of COM8.

receiptio -d com8 -p generic receiptline.txt

Best regards.

receiptline avatar Feb 01 '23 21:02 receiptline

Thanks for using ReceiptIO!

Please install the printer vendor's virtual serial port driver and Node SerialPort. Then run ReceiptIO with the COM port assigned by the virtual serial port driver.

The following is the case of COM8.

receiptio -d com8 -p generic receiptline.txt

Best regards.

Hi, thank you very much for the huge work you put in for this package. In my case I couldn't find the printer vendor's virtual serial port driver for my X-Printer in the CD-ROM nor in their website. What should I do instead?

adnanlah avatar Mar 29 '24 09:03 adnanlah

Using a virtual port with the -q param always returns disconnected

cedvdb avatar Aug 16 '24 12:08 cedvdb