
Changing default printer/properties in NT?
Hello,
I want to try to change default printer, and afterwards change properties
(papersize). I found a registry setting called Default DevMode where
these properties can be set, but it's actually a hex dump. Nice to see
that this registry setting is not documented in the resource kit!!
I know all of this can be handled via the printer object in vb, but I am
developing an application via OLE Automation, and what to print something
from this application. Problem is that I need to set the printing
properties in that application, so the printer object will not do it. I
need to change the default system printer, change the properties over
here, and afterwards I need to set all stuff back.
Who can help?