Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing ? after SET PRINTER ON.
Message
From
05/05/2009 23:51:04
 
 
To
05/05/2009 17:41:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01397871
Message ID:
01398060
Views:
65
>>The SET PRINTER TO is what did the trick, this also works:
>>
>>
>>>>SET PRINTER on
>>? 'hello'
>>SET PRINTER off
>>SET PRINTER to
>>
>>
>>Thanks!
>>
>>Yossi
>
>Great. My understanding (or guess) of the theory is that, while you send one page after another, Windows considers it as a single printjob, and may not start printing (depending on the queueing options) until you end the printjob. (Note that the Print Spooler can accept print jobs from several programs simultaneously.) Apparently, SETting the printer OFF will indicate the end of a printjob.
>
>In DOS that was not a problem; anything you printed would be sent to the printer immediately. But Windows has additional requirements, due to the fact that several programs might be printing at the same time.

Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform