Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows XP Printing
Message
From
05/12/2001 12:16:34
 
 
To
05/12/2001 12:03:12
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00589946
Message ID:
00589961
Views:
37
>In my remaining FoxProDOS 2.5 applications running on Windows XP whenever the user tries to print there is a significant delay either before printing starts or in the middle of printing. This delay approaches 30 seconds ( which seems like eternity sitting in front of a computer). Does anyone out there know how to change XP to avoid this delay. Thanks!

Change your app - the delay is the spooler timeout for the Windows Printer object. Try adding code to your app that looks something like:
SET PRINTER TO <i>blah, blah, woof, woof</i>
*
*do some stuff
*
SET PRINTER TO NUL:
EJECT
SET PRINTER TO
this forces the closure of the printer object by the DOS VDM; when it starts printing is determined by the defined spooler behavior of the Windows printer.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform