Solved

using the printer port as digital i/o from vb 5

Posted on 1998-08-02
4
169 Views
Last Modified: 2010-05-03
i wish to us the printer port as digital i/o, to do this i need to be able to read and write a byte of data (to test/set pins high/low) to the hardware any ideas how ?
0
Comment
Question by:spg01
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
kamall earned 100 total points
ID: 1467519
Working with the PC Parallel port is a little bit complicated using pure code.
There are some Dynamic Link Libraries (DLL's) and custom controls that enable easy access to this port as well as to the PC COM ports and any other USER port.
I can send you by e-mail a sample project that uses a DLL to access these ports. Just comment me your e-mail address.

You can also find very useful information about this subject in the following URLs:
                    http://www.doc.ic.ac.uk/~ih/doc/par/
                    http://www.senet.com.au/~cpeacock/parallel.htm
                    http://et.nmsu.edu/~etti/fall96/computer/printer/printer.html

Regards
0
 

Author Comment

by:spg01
ID: 1467520
ok, send the sample project to this e-mail address.

spg@orangenet.co.uk
0
 
LVL 7

Expert Comment

by:kamall
ID: 1467521
The files has been sent to you.
Please check your e-mail.
Regards
0
 

Expert Comment

by:nilehawk
ID: 1467522
i have a file that help you to use i/o printer port
if some one need it please send me an E-mail
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 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

15 Experts available now in Live!

Get 1:1 Help Now