Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement