Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending control codes directly to named printer
Message
De
06/11/1999 18:32:01
 
 
À
06/11/1999 18:18:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00288138
Message ID:
00288139
Vues:
18
>My program user picks up Windows printer name.
>This printer may me connected to LPT or COM
>port with or without spooler or it may be a network printer.
>However, Windows Generic / Text Only printer driver is always used.
>
>I need to send control codes directly to this printer.
>Is there a generic way to do this?

The most generic would be the ??? command, which sends a raw stream to the currently selected print device in VFP, but I've had amazingly poor results with serial devices that required bidirectional interaction, and there's almost no way of bypassing some spooler functionality at the server end on a network device short of writing device drivers, since you only have access to the published share and that won't give you raw port control, but probably will permit uninterpreted byte streams to be sent as discrete print jobs. I haven't used it, but you might want to look at the raw pointer driver VCX in the downloads area; I don't know
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