Hi,
Are there any way to open a cash drawer via a print order ? I mean so that i send to the printer a page to be printed, but in the reality this page says to the printer to open the cash drawer.
If you mean you want a peripheral device's functions to be controlled from your own C# programs you will need to obtain (or build) a device driver to convert digital signals into signals the device can use.
I think you are talking about a cash register? If it is modern then its likely such a driver will be availiable.
First of all thanks for the replies
My problem is I use the printer to print documents and the printer is not only used from the pc, from where I want to open the cash drawer.
If I send a message to the printer to open the cash drawer while the printer is printing documents the serial port to the printer is blocked, so that I can't send the message to open it.
Therfore my idea is to send this message to open the cash drawer as a document to be printed, so that windows automatically add this document to the queue. And if this possible, the next problem is how to send this document to the top of the queue so that the message to open the cash drawer directly be done after the printer print the document, which is being printed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.