>I am trying to get the current printer configuration setup by the user at run time in order to keep it and set it back to this particular configuration the next time the user get in this report. For example, if the user set the report to be draft and using bin 2 of the laser printer, I want to automatically set it as this when he get back in this particular report.
>I saw something about the api GetPrinterData but it is not very clear to me how to really use that.
>
>Thanks for any help
>Eric
Hi There :)
I guess You are talking about implementing some sort of 'printing preferences'.
Very tricky area;
Even if you manage to read all printer info that is available,
and store it per user/report/printer etc, at the end, bigger problem
will be to force VFP to print always according to stored/retrieved
setup.
So unless you are building inhouse app where you can handle it all at the end, by venturing into that sort of 'little user conviniences', You are risking massive amount of support calls for variety of small printing problems. So, measure first, if it is worthed investing time into potential 'trouble maker'.
Just my 2c
And despite my scroodgy post - think positive :))
* * * M X & H N Y 2005 * * *
Sergio