[RESOLVED] Open printing preferences for setup the default for the printer
I need to open off the process, a given printer (by its name), the window printing preferences, but that it affect the global default, not just that print, or in my APP environment.
I need the user to be able to select the paper thin like, 80gr, 90gr, 200gr, etc. in a laser printer, so I am interested in that Window in particular.
I searched VB6 + printing dialog, but everything is about for setup the app context for the current printjob.
Any idea?.
PD: I case you wonder, I ran a multi-process vb6 APP suit, the process with the UI is not the same process that prints.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Another way, is possible to tell the printer object in VB6 which paper thin is? not size, but thin.
And to get all the thin options for a given printer, so I can build-in the app that list?.
Re: Open printing preferences for setup the default for the printer
I'd probably begin by exploring DocumentProperties() in Winspool.drv
Re: Open printing preferences for setup the default for the printer
Quote:
Originally Posted by
dilettante
I'd probably begin by exploring DocumentProperties() in Winspool.drv
I am looking for a solution like SHELL "CMD /c ....." , to do the same effect that clicking in the printer icon -> printing preferences. So, it can run offprocess and don't halt the main UI, I see no property in the vb6 native printer object for setting the paper weight, so, all I need is that, the shortcut in command line.
Re: Open printing preferences for setup the default for the printer
Ok, found, case closed!.
It is. And done......
rundll32 printui.dll,PrintUIEntry /e /n "printername"