hello, I am new in here so my questions quite simple.
Can somebody suggest me a code on how to set the resolution of the screen
I need because I think i will add this to my print button and the users would not have to bother changing the resolution by themselfs.

I want to:

save the current resolution of the user
save it on same variables
then change the resolution to 1280 x 1024
print the form (which is already sorted and works)
then set the resolution back to the one it was before

Thank you