OK….this is NOT a VBA question, didn’t know where else to post.
I have been tasked to change a VB 6.0 program to handle a new size printer paper form. The code uses the “Printer” object. So for example looping thru with “printer.devicename” to find the right printer works just fine. But when I try to set a new paper size with “printer.papersize” or “printer.width” , etc, I get an error that says these attributes are READ only. I’ve search the web and I see that these attributes can be set.
So I can only guess since the program previously just printed to standard paper that something about “printer” is not be defined, etc. I’m far from an experience VB programmer so any help pointing me in the right direction would be appreciated.
BTW, the code is attached to a form not a separate module, don’t know if that is the issue. Thanks. Bob