Solved

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

Posted on 1998-08-02
4
181 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
[X]
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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

762 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