Solved

LPT Port Programming

Posted on 1998-07-24
3
443 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
  • 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 200 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

759 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

20 Experts available now in Live!

Get 1:1 Help Now