Sniffing LPT Traffic
Posted
by
ArcherT
on Stack Overflow
See other posts from Stack Overflow
or by ArcherT
Published on 2009-07-06T20:44:06Z
Indexed on
2011/03/04
7:24 UTC
Read the original article
Hit count: 369
I need to intercept LPT output traffic. After a couple of hours of research, I've come to understand that the only way to do this is by writing a kernel-mode driver, more precisely a "filter driver"...?
I've downloaded the WDK, but the terminology and vast number of driver types is a little overwhelming.
I'm basically trying to understand what kind of driver I should be writing; my target environment is Windows XP SP2 and 3 only.
Some background info, if it matters: I have a bunch of legacy DOS apps that print to LPT1. I'd like to be able to capture this output and redirect this data (after GDI calls) to a modern USB (network) printer. Fortunately, the latter part of the problem's easy.
I'm hoping someone could point me in the right direction. TIA.
© Stack Overflow or respective owner