Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling Printers on NT
Message
De
11/09/1999 19:18:23
 
 
À
11/09/1999 17:27:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00263712
Message ID:
00263725
Vues:
18
>We have a requirement for our VFP6 app to print two separate reports (one to a laser and one to a dot matrix) from a single request(push the 'Print' button on the customer order form). All of the workstations are running NT and the network file server is also NT. These reports are printed from several locations so the printer mapping may be different for each work station.
>
>Currently we are calling the printer dialog twice (once for each report) and requiring the user to select the correct printer. We need a way to do this programmatically.
>
>We have thought about having printer setups stored on user records but we need help figuring out how to call the printer API.
>

No need - VFP allows you to specify a UNC for a printer name with SET PRINTER TO

>Thanks,
>
>Ken
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