Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ESCAPE with PASSTHROUGH
Message
De
29/02/2000 10:05:06
 
 
À
29/02/2000 09:13:11
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00330602
Message ID:
00339086
Vues:
33
>Ed,
>I tried what you sent and as far as sending reverse line feeds it just does not seem to work for me. I may not be set up correctly, but when I tried your code sometimes it did a page eject, sometimes nothing, sometimes put something in the spooler. Do you have a complete piece of code you could post?? Thanks.


SET PRINTER TO blah
??? some string of characters, which can contain control sequences
??? some other string of characters, which can contain control sequences
SET PRINTER TO NUL:
EJECT
SET PRINTER TO


You cannot insert a report in the midst of this, since it's a separate stream. IOW, this does not work to serve as a bypass of the GDI; the minute youstart sending through the GDI interface, it's a separate job, and Windows will do whatever it thinks it needs to do to reset the printer to a known state.
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