Solved

LPT Port Programming

Posted on 1998-07-24
3
446 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

912 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

16 Experts available now in Live!

Get 1:1 Help Now