Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to toggle "Init" or "PaperFeed" pin on LPT port

Status
Not open for further replies.

jadn

Programmer
Oct 28, 2005
23
US
Hi,
I need to toggle some pin (not a data signal) on an LPT port - but I can't write to an IO register to do it.

Normal LPT ports have registers that can be used to control the port, but I have a USB to DB25 adapter which provides an LPT port but doesn't have a base-register (that I know of.) Still, printer-driver-software must be able to wiggle control-lines - how is this done?

We use a PC to control hardware during testing. We can control a device using the data-lines from a parallel port (DB25) but the PC only had one parallel-port and we needed two. I purchased a USB to DB25 adapter (SYBA) with the intention of controlling the device, however, this adapter doesn't behave the same as the native port. With the native port, tying pins 11&12 to ground allows bytes to stream-out as fast as possible. This doesn't work with the USB adapter - it wants to see transitions on one or more of the control lines. I figured-out that if "Acknowledge" is toggled, bytes are "released". So if I jumper, say, PaperFd to Acknowledge and toggle PaperFd, I'm good-to-go.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top