Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arbitrary DOS printing behaviour across networks
Message
De
08/03/2004 18:17:43
 
 
À
26/02/2004 16:18:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00879251
Message ID:
00884271
Vues:
26
I just run it from the batch file which runs the DOS app. Rather than have it persistent I delete it first and reinitialise it each time. That way we seem to get fewer problems with the print spooler.

Thanks

>>>You can run a command like the following from a command prompt (or login script, .CMD file, whatever) to redirect DOS LPT port(s) to network print queues:
NET USE LPT1 \\ServerName\QueueName /persistent:y
>>
>>
>>
>>isn't that just for Novell? If not, its the one thing I haven't tried...
>
>No, I don't mean to run this from the VFP Command Window (although according to David it might work). Run it from a Windows command window ("DOS prompt") or execute a .CMD or .BAT via VFP RUN.
>
>There should also be an API call that does the same thing e.g. WNetAddConnection2: http://www.news2news.com/vfp/?group=89&function=597
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform