Solved

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

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

805 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