Scanner

Hallo

I have a PC with an access 2003 on it.
The PC is inside a container. A scanner is built into a wall outside. The connection is via USB. The Access program manages the outgoing and incomming from items with an electronic barcode.
During the day, can hire articles in the container. At night when the container is closed the workers can bring back the articles via the scanner in the wall. Everything works fine. But now I have a problem. I need to print a ticket from what is returned via the wall-scanner via a ticket printer.
Is it possible to send an electrical signal via a button to the PC?
And how can I if it is possible to activate this printbotton in access?
I'm completely stuck on this problem.

Tx
sonmicAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TobiasCommented:
Dear,

You have several way to do this.

I would suggest to use a Arduino board to receive the "button pressed" information to the computer and then process it.

or you could use if there's a LPT port in the computer to get the information that the button is pressed too.

You will need to do a software that wait that the button is pressed and then do the action on MS Access

Best Regards
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
frankhelkCommented:
I'm not sure when you need to print the ticket. I presume somebody brings the item back, scans its barcode and it is registered. Why not use exactly that event to print a ticket ? The only drawback is the fact that n items would produce n tickets.

A way to circumvent that would be to just chain some kind of keycard to the wall (simple barcode label, laminated with plastic, a hole on the edge and a chain on it). It has a "magic" barcode, that is used to trigger the ticket creation.

That way you don't need and extra hardware, nor is an extra watching process or thread needed. Just add something to the barcode processing code to react on the magic card.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.