We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Coldfusion code for Opening a USB Cash drawer

Medium Priority
815 Views
Last Modified: 2012-08-14
Currently, This is the currently system.

1. window 7 pro
2. MS SQL Express
3. Coldfusion 9
4. Two Receipt Printers
5. a USB drawer

Currently, It working coldfusion as server machine.

OS recognized a USB drawer and .......

I'd like to open a drawer when I click the button on cfm page.

Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
It connects to the server machine..I have only one computer that coldfusion installed..
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
@qdemaria, Yes. Its only one computer involved and working as web server..
CERTIFIED EXPERT

Commented:

Now, we just need to know what code you have to open the drawer.. then we can help you execute that code.

Author

Commented:
@qdemaria  I don't have code. Now I know what you talking about. I thought I need code to open a drawer. Totally, I'm new. What should I do if I don't have code?
CERTIFIED EXPERT

Commented:

There is no general, all-purpose command that opens cash register drawers.  You need to look at the manual for the drawer and see what command will open it.
CERTIFIED EXPERT

Commented:
if you have the drawer information (or a link to the drawal maker)  you could post it here, perhaps we can help with that part
CERTIFIED EXPERT

Commented:

Seems like you need a driver, something like one of the ones on this page

http://www.apgcashdrawer.com/products/interfaces/software-drivers

You can always contact their tech support to try and get the simplest dos command available.. ?
I concur with gdemaria that since the drawer is connected to the server you can use CFExecute to run the executeable that open the drawer.  You can use one of the DLLs available from the manufacturer, also look for a code sample that you can simply borrow which opens the drawer, and run that with cfexecute.  
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.