?
Solved

LPT Port Programming

Posted on 1998-07-24
3
Medium Priority
?
457 Views
Last Modified: 2008-03-06
i am working on a device connected to the parallel port. but its not a familiar device such as a printer or a scanner...what i need is to know how to send a desired byte to the LPT Port while programming in visual basic of course.
thanx
0
Comment
Question by:selim007
[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
3 Comments
 
LVL 7

Expert Comment

by:kamall
ID: 1466630
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
 
LVL 2

Author Comment

by:selim007
ID: 1466631
here's my email address:
skabalan@cyberia.net.lb
0
 
LVL 7

Accepted Solution

by:
kamall earned 800 total points
ID: 1466632
selim007,
Please do not reject the answer unless you are unsatisfied with it or the expert could not help you any more.
I am sending you the files right now.
Also check the pages I referred you to.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses

752 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