-
common dialog
[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!
-
Re:common dialog
[Originally posted by gibra]
For Landscape or Portrait use the cdlPDPrintSetup flag to dispaly the system Printer Setup dialog:
With CommonDialog1
ÿ ÿ .CancelError = True
ÿ ÿ .Flags = cdlPDPrintSetup
ÿ ÿ .ShowPrinter
End With
---
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!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks