Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status of print jobs shows Visual FoxPro
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00463861
Message ID:
00463920
Views:
32
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform