|
| Inicio → WINDEV 2024 → [WD21] Possible to tell if cash drawer is connected to receipt printer? |
| [WD21] Possible to tell if cash drawer is connected to receipt printer? |
| Iniciado por guest, 19,jul. 2016 18:28 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 19,julio 2016 - 18:28 |
I have a Star TSP 100 receipt printer and a cash drawer that hooks up to it. I have a button in my application that opens the cash drawer. I don't want to run this code if the drawer isn't connected because then it prints a small piece of paper.
Does anyone know if there is a way to tell if the cash drawer is connected?
Code I use to open drawer: iEscape(Charact(7)) iEndPrinting() |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,julio 2016 - 23:23 |
Hi
Unless your cash drawer has USB interface that can be hooked up the PC and can be used wd usb function to see if it's there but your given escape sequence is only to send current to open the drawer (ie physical detection ) and it's not duplex comm.
HTH
Cheers
King |
| |
| |
| | | |
|
| | | | |
| | |
|