Link to home
Start Free TrialLog in
Avatar of sny23vpb
sny23vpb

asked on

Cash Drawer Open in ASP

Hello:

I am working on a asp web based point of sale system and one of the requirements is to be able to send a printer control character to auto-open the cash drawer and send a paper "cut" to the receipt printer.

I found this article to assist with my first issue which was how to bypass the print dialogue box, but I'm wondering if anyone else has worked on a project like this that is web-based where they had to send control characters to a specific printer automatically ? Optimally It would be great if I didn't always have to use the default printer; this EE article addresses that a little then stops.

https://www.experts-exchange.com/questions/20555621/Auto-Printing-of-HTML-page.html

Thanks for your help !
Avatar of Blaz
Blaz
Flag of Slovenia image

The answer somehow relates to your question.

If your clients are using IE than you can use ActiveX controls. I had a similar problem to yours once and I solved it with a custom ActiveX control.

My ActiveX control enabled me to print without printing dialog box, sending special chatracters etc.

There are two downsides to this solution:
you have to write the ActiveX control (or find and buy one that does this alredy)
the ActiveX control must be installed on the client PC (together with some IE settings)

In our case this was acceptable and it works.
Avatar of sny23vpb
sny23vpb

ASKER

Any thoughts on how to create this active X ; I've created dll's before but thats about it. Is it still considered active X with .net ?  thanks
ASKER CERTIFIED SOLUTION
Avatar of Blaz
Blaz
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial