Solved

Parallel Port accessing Pin 14, 16, 17

Posted on 1998-06-07
3
237 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
[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 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Different colored text in ComboBox without Subclassing 8 76
ODBC Connection Logging, ADO.NET 6 73
zeroFront challenge 7 136
EvenOdd challenge 10 160
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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…
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.

752 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