Pari:
With NI-VISA you can open ASRL10::INSTR to communicate with LPT1. The only functionality I can truly say we verify is writing data. We test it with a printer.
You do not say what kind of device you are writing to. If it is not a printer, you need to make sure certain pins are wired a certain way. Specifically, assuming you are using a standard DB25 connector, you need to make sure pins 11, 12, 13, and 15 are not left unconnected. Pins 11 and 12 should be held low (wired to GND). Pins 13 and 15 should be held high (asserted). If you are using a Centronix 36-pin connector, pins 11 and 12 should be low and pins 13 and 32 should be high.
Good luck.
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments