Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the name of the network printer
Message
De
17/06/1999 02:07:52
 
 
À
16/06/1999 10:53:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00229690
Message ID:
00230752
Vues:
26
>>>>Is there any way I can get the name of a network printer as named in Novell network. The network name for the printer is something like Q_systems_090 where as the name of the printer is HP Laserjet 5si which I can get using set('printer',2). Any ideas...? Thanks
>>>
>>>You could modify the code in my NETRESOURCE example; it includes code that searches for all shared resources throughout the system and reports their type. You need NETRSC.ZIP and CLSHEAP.ZIP to use this.
>>
>>Where are these files to be found??
>
>They're both here on UT in the Files Section, either under Classes/VCX or Win32 and Other APIs.
>
>>
>>Bernard

One other tidbit I just learned at DevCon -- look into the SET("printer", 3) -- new parameter - which reports back the current VFP printer (in case its not the same as the Windows default printer). Lisa Slater and another bystander clued me in to that -- did not even have any links for it in VFP help file, so I can't imagine how they found out themselves...

Rob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform