Printer Handshake

  • Thread starter Thread starter Abubakar
  • Start date Start date
A

Abubakar

I have been trying to monitor the handshake (signal) from
a printer for each page it printed but i have not been
able to do so. Can any out there help me.
 
Hi,

You can do this using IOocx.ocx from my homepage. You have to know the base
IO address of your printer (and it must use a standard IO port address
range -- thus cannot be used with USB or equivalent printers). You can
monitor the printer port Printer Status register (IO base address + 1).

How practical this monitoring may be depends on what you are trying to
accomplish. However... It can be done, perhaps with only a few lines of
code.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Back
Top