Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2.6 Print to network printer???
Message
De
28/03/2002 00:30:40
 
 
À
27/03/2002 15:45:35
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00638090
Message ID:
00638280
Vues:
26
>Is it possible to print to a network printer in 2.6? The code currently allows the user to select which lpt to print to:
>set print to &pt (pt = 'lpt1' or 'lpt2')
>
>How would I use the code above to print to a network printer?

If it's FPDOS you need to "map" a network printer (or queue) to a local port. On Microsoft networks you can issue the following from a DOS box:
NET USE LPTx: \\ServerName\QueueName
This command can be included in a logon script or as part of a batch file that starts up a FPDOS app.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform