Hi, Alan.
>Thanks for you assistance.
You're welcome.
>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.
Hmmm... I think this is something you have to do each time you print. I'll see it tomorrow and tell you how I find.
Til then,