Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printers
Message
De
22/02/1999 10:51:01
 
 
À
22/02/1999 10:28:31
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00189938
Message ID:
00189960
Vues:
15
>Do you know of any 3rd party products that do this?
>

I don't know if NETLIB has this functionality or not; Microsoft's ADSI components may be useful in an MS Network environment, or where other network vendors have written ADSI servers. I'd check Component Source to see what they have available that they know will work with VFP. If push comes to shove, it can be written using the Win32 API, but it's not a trivial undertaking.

I'd still hesitate to advise that you use any printer not already installed at a workstation because of the issue of availability of drivers for printers that have not been installed. Once installed, the drivers are there and available. And the API calls won't help you find printers that have not been explicitly shared to the network (IOW, if the machine next to yours has a printer, but it isn't shared, you can't get at it.) You're far better off having users install the printers they need access to on their systems, in which case functions like APRINTERS() and the native VFP printer selection capabilities are available.

>Jim
>>>Is there facility in VFP to find all of the printers on a network?
>>>
>>
>>In VFP6, you can use ANETRESOURCES() to find sharable things, but there's no guarentee that a printer is usable if it isn't installed on the user's system already, since the drivers for the printer may not be installed on the user's system or availble from the system sharing the printer. Prior to VFP 6, you'd need to use low-level API calls or a third-party product to create the list of shared devices on a network.
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