Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer only prints after application is unloaded.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00304580
Message ID:
00305002
Vues:
29
>John,
>
>Add this line to the end of your print routine;
>
>SET PRINTER TO
>
>That line ends the print job in the Windows print spooler and starts the printing. Without it the spooler thinks the print job is still in process until it gets the message from Windows that the app has shut down. The SET PRINTER TO withyout any printer name has no effect on the current printer setting, it just sends a mesage that the print job is finished.

I've found at times that Nt wants the print device to be actually shifted; you can also try:

SET PRINTER TO NUL:
EJECT
SET PRINTER TO
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform