We’re using Crystal to create receipts using a USB port connector to our printer. We’d now like Crystal to ‘ping’ the serial port to open a cash draw. Is there any way of getting Crystal to do that?
We’re using Crystal to create receipts using a USB port connector to our printer.
Share
If you are printing your receipt to a USB port you will not be able to ping the COM port to open the drawer from Crystal.
Something you can try is to create a windows Generic Text Printer connected the the COM port. Then go to the properties and select the Printer Commands Tab and enter the code to open the drawer in the Begin Print Job. That will send the code every time you send a job to that printer. Then send an empty report to that new printer right after the receipt. That trick has worked for me.
The code that you have to use depends on the drawer / printer brand. Check this site