lukevp / ESC-POS-.NET

Efficient, Easy to Use Thermal Printing & POS (Windows/Linux/OSX, WiFi/BT/USB/Ethernet)
MIT License
500 stars 161 forks source link

Getting rid of the constant beeping when there is no paper in the paper feeder #263

Open TheGreenAirplane opened 5 months ago

TheGreenAirplane commented 5 months ago

I have an XPrinter XP-80C with a modified form factor that fits into a certain model of kiosk. We plan to put these kiosks into waiting rooms at doctors' offices. There are plenty of scenarios where the paper can't be replaced immediately. For instance if the office has ran out of paper, or there is no personnel available to do it. While the printer is waiting for paper, it will drive everyone in the waiting room crazy with its constant beeping. It won't be possible for just anyone to switch off the printer or unplug it to stop the beeping. The printer is built into the kiosk frame, and you need a special key to access it. Suppose the custodian has the key, and he's at the other side of the hospital changing a light bulb when the paper runs out.

Is there a command I could send to the printer that would disable the beeping? If there's a command that disables beeping for all situations across the printer, I'm fine with that too.

I should note that all I want to disable is the beep - not the whole paper detection. Our application is listening for events from the printer, and when a "low paper" or "no paper" event is raised we send notifications to designated people (making the beeps redundant in addition to being obnoxious). Therefore I need paper detection to work. Just without the beep.