receiptline / receiptio

A print application for receipt printers, simple and easy with markdown, printer status support.
Apache License 2.0
67 stars 10 forks source link

Add the ability to test the connection without printing #2

Closed ryall closed 2 years ago

ryall commented 2 years ago

I would like to be able to test that the printer is online, without actually printing anything.

receiptline commented 2 years ago

Thanks for using ReceiptIO!

Try running it with the -q option.

$ receiptio -d 192.168.192.168 -p escpos -q

If the printer is online, it will return 'online' (exit code: 100).

ryall commented 2 years ago

Awesome, thank you!