However, as you found, you can open the port directly with OPEN "LPT1" FOR OUTPUT AS #1 - the key here is to *omit* the colon from "LPT1:". However, since windows does not signal an off-line state, the code that sends data will block until the port becomes "ready".
Therefore, using an I/O driver is a more effective solution.

------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment: