Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: zGetPortBit
However, when continuing to read on, the zGetPortBit funtion is not used in the example that follows the above statement. (?error in the help file?). Furthermore, when carefully reading the zGetPortBit function, it specifically states that it's parameter 'portbit' is for portbits 0-7 (data), so how would you access status of the other pins? In reading all of the functions, they all seem to be for dealing only with the data bits 0-7. I need to be able to read the status of the input bits (10-nAck, 11-Busy, 12-Paper-Out,13-Select,15-Fault), and hopefully even the In/Out bits (1-Strobe, 14-Linefeed, 16-Initialize, & 17-Select-Printer) of the parallel port.
Most likely, I am not understanding something here, but I sure would appreciate any help you can give me.
If I recall LPT1 is 888-889-890-891
You could try fishing data from the other ports. I think it is
888 bits 0-7 889 bits 8-15 890 bits 16-23 891 bits 24-31
Article ID: W14543
Filename: zGetPortBit and Bits Other than 0-7.txt
File Created: 2000:10:16:11:16:00
Last Updated: 2000:10:16:11:16:00