Solved

LPT Port Programming

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
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…

730 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