I have a small parallel printer from Extech that is suitable for printing
receipt-style tapes. It takes data readily from W98; ie. I can redirect a
directory listing from an MS DOS window within W98 and it will print.
I am attempting to get this unit to work with LV5.1.1 under
NT4.0/SP6. Per the Knowledge Base, I have added a line to labview.ini
such that LPT1: is the tenth or eleventh item in the COM port list.
serialDevices="COM1;COM2;COM3;COM4;COM5;COM6;COM7;COM8;COM9;LPT1;LPT2;LPT3;LPT4;"
I then try to send characters to the printers through the serial write
using ports nine or ten as required. The NT Printer handler returns an error
message. Explicitly closing the serial port and using the buffer
flush routin
es in _sersup.llb does not resolve the problem.
The same code fragment under W98 hangs the system somewhere in the
Write to serial port VI.
Since the printer works under W98 and since I know the parallel port on the NT
machine is good (HP Printer normally hooked up works fine) I am
interested in knowing what else to try. The goal is to have this work
under NT as the W98 machine will not be used for data acquisition in
the final analysis.
Thanks,
--- Ravi
---
Ravi Narasimhan
Dept. of Physics and Astronomy, UCLA
http://www.physics.ucla.edu/~oski