Solved

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

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

617 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