Solved

Scanner

Posted on 2013-01-21
2
435 Views
Last Modified: 2013-01-21
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
0
Comment
Question by:sonmic
2 Comments
 
LVL 10

Accepted Solution

by:
MadShiva earned 500 total points
Comment Utility
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
 
LVL 13

Expert Comment

by:frankhelk
Comment Utility
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

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now