Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APrinters results under W2K
Message
De
14/12/2000 18:51:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00453602
Message ID:
00453687
Vues:
31
>All:
>Like countless other weary souls before me, I'm trying to print to a dot matrix printer using high speed draft mode. I've been through the prior postings (great information) and started down the path of Report Form -> Generic Printer -> File -> CopyFile(network spool path). It worked great until I tested my work on Windows 2000. The port names returned by APRINTERS() are "Ne00:", "Ne01:" ... which, AFAIK, don't do me any good. The DOS prompt doesn't seem to recognize them and CopyFile sure doesn't. If I've missed a previous post, I apologize. Anyone know how to resolve the NeXX name to a UNC, or is there another way around this?
>

You can use WNetGetConnection() to retrieve the UNC of a mapped drive or device; see API #12674 for an example of how to implement it.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform