Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PrtInfo()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00935088
Message ID:
00935112
Vues:
27
>>>Hello everybody.
>>>
>>>Vfp 6 SP5
>>>
>>>Does anyone have an idea why ?PrtInfo(1, "\\NetworkComputerName\PrinterName") would work on 1 WinXP machine but not on another? by the way it also does not work on (so far) 2 Win98 2nd edition workstations.
>>>
>>>i can not figure it out. i appreaciate your help!
>>
>>Gunnar,
>>
>>I assume that "...does not work..." means that the function is returning -1, indicating that the information couldn't be retrieved.
>>
>>Under this assumption, the first place I'd look is at the printer drivers and this is a SWAG. I think, however, it may give you something to go on.
>
>Hello George
>
>yes, i get a -1, where on the 'working' workstation i get a positive value. the drivers are installed for some printers (on the asking WS) and some not. but the WS were it is working, it's working in either scenario.

Hi Gunnar,

I'd still check the differences between drivers. That's where the information comes from. I'm not sure what you mean, however, by "WS".

Regards,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform