Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing from DOS on XP
Message
De
01/02/2003 18:34:30
 
 
À
31/01/2003 13:33:41
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00747770
Message ID:
00748054
Vues:
28
This message has been marked as the solution to the initial question of the thread.
>I inherited an old FoxPro 1.01 DOS application on an XP Pro PC. How can the application directed it's printing to a certain printer?
>
>Is there a DOS command that will do this. His other PC's are Win98 and the same app prints OK on those PCs.

Take a look at the NET USE command-line utility. This will let you redirect a DOS printer port (e.g. LPT1) to an installed printer on the local machine (that printer must be shared) or a network printer.
NET USE LPT1 \\MyXPProPC\SharedPrinterName /persistent:y
NET USE LPT1 \\NetworkServer\SharedPrinterName /persistent:y
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