Hello Aashish
Thanks for answer
I did yor offer number 1, it did not help
What I did more
At combo at print form , wich select printer from available list I added after line set printer to name (this.displayvalue)
the line=
=sys(1037)
For us and rest of clients it ok, but for this client with described problem it said error on =sys(1037)-I could not load info about printers, later nevertheless has show printer dialog box, and instead of selected printer printed at default printer!!!
Vladimir
>Hi Valdimir,
>
>What you mentioned is a very strange problem. I could suggest only this:
>1. Uninstall all printer drivers and re-install them.
>2. Check for the rights/authentication of machine to printer.
>
>Aashish
>
>
>
>
>
>>We have very starnge situation
>>We have printer form which works for meny years in many our projects ( exe).
>>It permits to select printer , copies numbers, pages, to send report to the printer or screen, modify report etc
>>Two weeks ago one of our clients said , he can not to choose printer any more
>>He selects printer ( not default), click print and reports goes to the default printer on the net.
>>We deleted info about the printer from frx ( first record) and in this case program shows like it print reports ( small window with frx proccesing) and no printing anywhere.
>>The comand for printing is regular
>>set printer to name selectedprinter
>>report form ... noconsole to printer
>>To eliminate some unknown bugs in the form I came to client myself, temporaly installed VFP , used command window and tried to send report to selected printer by
>>set printer to getprinter()
>>report form ... noconsole to printer
>>And... same situation
>>I checked set('printer',3) and it has shown the right selected printer , not default one
>>The reports goes to default printer or to nowhere
>>All printers are at net computers, but just if printer is on your own computer
>>it is same situation
>>The only one thin was changed in this company, server computer has windows XP instead of 98.
>>I deinstalled VFP there and don't know , what to do now.
>>This form works ok for us, and for the rest of our clients.
>>Where could be the reason of this behaviour?
>>Thanks in advance , Vladimir
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.