CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Runtime Printer Setting

    Hi

    I have a specific problem related with setting the printer object properties at runtime. In my application which is being developed using VB6.0, I am using data reports to generate reports. My reports looks fine when the printer settings are set to 'Portrait'. However, when the same is changed to 'Landscape',the report is displayed in a haphazard way.

    I hereby request to tell how I can change the printer setting to 'Portraint' despite there is a change in the same in windows?

    I would appreciate, if you could give me your reply at your earliest

    Thanking you

    PCS


  2. #2
    Join Date
    Jan 2000
    Posts
    21

    Re: Runtime Printer Setting


    Try this in your code,

    Printer.Orientation = vbPRORLandscape


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

Featured