[Originally posted by zac]
I have a common dialog control, that i'm using to pull up my printer conversation box. my code is simply:CommonDialog1.ShowPrinter. Now my question, how do i actually get my printer to do what i select, for instance; print in color and landscape. I know there is more to it than just show the printer dialog box, but i don't understand!!!! help!
[Originally posted by gibra]
For Landscape or Portrait use the cdlPDPrintSetup flag to dispaly the system Printer Setup dialog:
ÿ ÿ .CancelError = True
ÿ ÿ .Flags = cdlPDPrintSetup
ÿ ÿ .ShowPrinter
For "print in color" you must set colors from code:
Printer.Forecolor = vbRed
Print "This text is printed on red color!"
Printer.Forecolor = vbBue
Print "This text is printed on blue color!"
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center