Results 1 to 3 of 3

Thread: Communicating thru LPT port

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Yugoslavia
    Posts
    16

    Communicating thru LPT port

    Is there a way (API maybe) to send signals to LPT port using VB, I know there is a way to send it to Serial (COM) port (using API functions), but there are only three types of signals, giving it a total of 5 variations (not counting the 0 0 0 one), or if not to LPT then to serial with possibility of frequency recognition..

  2. #2
    sunnyl
    Guest
    There are some great interfacing/electronics resources at www.lvr.com The one relating to parallel ports is www.lvr.com/parport.htm . There is a great nifty DLL on the site here (inpout32.dll). This DLL will allow you to write/read to ports byte by byte. If you know your electronics well enough, its the best thing to communicate with custom made hardware. Basically it is the same as INP and OUT in QB.

    There's a short sample with the DLL. I have also written my own demo what makes use of the DLL if you are interested.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Yugoslavia
    Posts
    16

    Thanx

    Thanx Sunnyl, it was really helpful

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width