Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Scanner

Posted on 2013-01-21
2
461 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
ID: 38800423
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 14

Expert Comment

by:frankhelk
ID: 38800674
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
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…

828 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