[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!"
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL