on 10/11/02 9:20 AM, Pete Beaumont at furbies@... wrote: > Back in the old days wasn't it possible to preserve a copy of > the PRHANDLE, and then get the OS to use it so you could > remember how a user had the page setup for a particular > document/file ? Yes. Tricky, but possible. Mars Maxman had a great article on it in Inside Basic, years ago. I have no idea if it could be done in X. The part that didn't work out as well as I would have liked, was the user had to store the page setup. In other words, I checked the metrics of the printer page and told the user to select...say landscape in the next dialog...and then store I stored the resource. If the user just clicked through the dialog...leaving it portrait, my app would get confused. I could check metrics, but was storing portrait in by landscape bucket, etc. I made this part of an "easy setup" and overall it worked very well. I also always worried that I would try to use the wrong driver. I checked the length...technically a poor way of deciding if the stored driver was a match. I am sure it could have been executed better, but it was always on the edge for me. I gotta say, that was much easier in Win work. You can just tell the driver what you want. (Ducking the rocks, now.) -- Best Wishes, George mailto: gbeckman@... http://www.pggp.com