Solved

Parallel Port accessing Pin 14, 16, 17

Posted on 1998-06-07
3
232 Views
Last Modified: 2013-11-19
I'm accessing the parallel port with ReadFile() and WriteFile(). Do anybody know how to access the output pins 14, 16, 17 (Auto Feed, Initialize, Select Input) without writing a vxd - Just trought the existing lpt.vxd?
0
Comment
Question by:Coma
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Gus012498 earned 200 total points
ID: 1316169
On W95 you can directly write to base_adr+2 to access the control port.
On WinNT you can use the DirectNT driver to access the hardware directly.
The DirectNT/DirectIO driver can be found at ftp://ftp.heise.de/pub/ct/listings/ct9701.zip
0
 

Author Comment

by:Coma
ID: 1316170
Thanx, but can you please give me a code example? Or how can I get this base_adr? I only get a handle after CreateFile() with LPT(x)!
0
 

Author Comment

by:Coma
ID: 1316171
Thanx, but can you please give me a code example? Or how can I get this base_adr? I only get a handle after CreateFile() with LPT(x)!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Define unique primary key 9 94
Best tools for Backup and restore of Wordpress site 6 57
FizzBuzz challenge 9 81
Sed question 2 87
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

831 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