Peter,
You might want to try FOPEN('\PRN',11). From memory, some of my barcode drivers use that, and it didn't go thourgh the spool problem as with ???.
Hope it helps.
>>Peter,
>>
>>Just use ??? to output everything. The printer drivers and Windows will stay out of the way.
>
>I tried using "???" and that helps a lot. With that I can get the job done.
>
>But I do have one issue remaining. I would like the program to stop running if the printer hangs. If I turn off spooling to my test printer and send output with "???", I get the message:
>
>Error Accessing Printer Spooler
>
>I'm going to allow the operator to restart printing at a given point so it's not a big deal if the program fills up the windows spool buffer. I'll need to instruct them how to kill the spool file before restarting.
>
>Peter
Kenneth.