>>When I send a print job in a VFP 5 app, two jobs appear in the queue, my report, and another empty job. After my report prints, the empty job hangs around until I either print another report (at which time the empty job spools out the report and another empty job is created) or quit the app (at which time the empty job is removed from the queue).
>>
>>How do I prevent this from happening?
>>
>>TIA
>
>I've never seen this. If I send a report form to the printer, there is only one job in the queue.
>
>Wayne
How are you sending the jobs? Are you using REPORT FORM or are you using SET PRINTER TO LPTx and SET PRINTER ON.
I have noticed that under Windows NT, if you are using the SET PRINTER commands, if you issue them in one order, you end up with exactly the condition you described, an empty job in the print queue holding the print driver open. If you switch the order, it seems like this went away.
Hope this helps.
Paul R. MOon