Retrieve Print dialogue settings?

R

RG

I'm trying to set printer information - and settings - in VB6 and then
pass this to a Word macro. I use code like this

With printerCommonDialog
.PrinterDefault = True 'sets the system-wide default printer
.CancelError = True
.flags = cdlPDHidePrintToFile Or cdlPDNoSelection Or
cdlPDNoPageNums
.ShowPrinter
intCopies = .Copies
End With

and then pass intCopies to the macro to let the user select a printer
and the number of copies. But if the user clicks a Print dialogue tab
to (e.g.) change the paper source, how do I retrieve that in order to
pass it as well?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top