Results 1 to 2 of 2

Thread: Printer Orientation

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    London
    Posts
    1

    Post

    Does anyone have a working example of how to change the default printer orientation from VB6?

  2. #2
    Junior Member
    Join Date
    Jun 1999
    Location
    St. Louis MO USA
    Posts
    18

    Post

    The only way that I have found to change the default printer is from the commondialog button and have the user change the printer and/or orientation. After adding the commondialog control below is the code.

    CommonDialog1.Flags = cdlPDDisablePrintToFile
    CommonDialog1.PrinterDefault = True

    If MsgBox(Printer.DeviceName & " is the printer that is set. Do you wish to change the printer? ", vbYesNo, "Change Printer/Orientation ?") = vbYes Then
    CommonDialog1.ShowPrinter
    End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width