Results 1 to 3 of 3

Thread: Common Dialog does not set Printer object?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    2

    Question

    When I use the commondialog.showprinter and I change the settings in there, but when I close it, the printer object properties does not refelect what I have changed in the commonDialog. eg. if I set the printer to Landscape in CommaondDialog and When I check Printer.Orientation, it is not the same.

    How do I make the printer object reflect what was changed in the CommonDialog control?



    [Edited by khaki on 06-08-2000 at 08:36 AM]

  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    Try

    Code:
    Printer.Orientation = CommonDialog1.Orientation
    Iain, thats with an i by the way!

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    2
    Originally posted by Iain17
    Try

    Code:
    Printer.Orientation = CommonDialog1.Orientation
    I am using VB 5 and CommonDialog doesn't have orientation.

    Is there a way to get the properties via APIs possibly?

    I want to retrieve all the properties from what was changed in commondialog not just orientation. eg papersize, printer.width, printer.height and so on?

    [Edited by khaki on 06-08-2000 at 03:14 AM]

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