Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Status of print jobs shows Visual FoxPro
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00463861
Message ID:
00463920
Vues:
30
>>Hi Martin,
>>
>>Have you used Bela's solution? I'm having trouble figuring out where to place the code. (yes I did read the readme file, but maybe I'm missing something . . .)
>
>There is a VFP example inside the ZIP. Take a look at it. All of Bela's tools comes with good VPF samples.
>
>If you can't figure it out, just tell me and I'll take a look at it again.

Hi Martin,

Thanks for you assistance.

I actually did have a look at the sample program and tried running the code to change the printer name in my app:

**************

prtname=set("printer",2)

if chgprtname(prtname,"Visual FoxPro","My App Name")= 0
=messagebox("It Worked",0,"")
else
=messagebox("It didn't work",0,"")
endif



**************

I tried running this code in my startup program, and just before sending a report to the network printer (in my case ptrname returned "\\CUCMPDC\HP LASERJET 4SI MX"). In both cases I still saw "Visual FoxPro" in the print manager window.
Al Williams

Anola MB, CANADA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform