Solved

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

Posted on 1998-08-02
4
172 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

867 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

21 Experts available now in Live!

Get 1:1 Help Now