Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use local printer with \\
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01051415
Message ID:
01051422
Vues:
17
>>Never tryed but I think it shoud be:
>>
>>lcCompName = ALLTRIM(LEFT(SYS(0),AT([#],SYS(0))-1))
>>lcPrinterName = [\\]+lcCompName+[\HP DeskJet 712c]
>>SET PRINTER TO NAME (lcPrinterName)
>>
>
>Yes, I just tried it and it seems to work. Thank you very much.

Using STREXTRACT() function
lcCompName = ALLTRIM(STREXTRACT(SYS(0), "", "#"))
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform