Results 1 to 4 of 4

Thread: Error using Printer.landscape

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2010
    Location
    Pakistan
    Posts
    289

    Error using Printer.landscape

    I want to show report in Landscape orientation.
    I installed pageset.dll and use it in my project, but still i have an error that report width is larger than the paper width
    I have used following code for showing the report:
    Code:
     -------This is in general declaration--------
    Dim obj As PageSet.PrinterControl
    -----This is command click event----------
    Set obj = New PrinterControl
          obj.ChngOrientationLandscape
          rptMonthlyIncome.Show
    Can anybody help me?

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2010
    Location
    Pakistan
    Posts
    289

    Re: Error using Printer.landscape

    Can anybody help me?

  3. #3
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,196

    Re: Error using Printer.landscape

    You should not need PageSet. Usually, if this is a VB6 DataReport the problem is that you haven't installed SP6 or it's not installed correctly.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2010
    Location
    Pakistan
    Posts
    289

    Re: Error using Printer.landscape

    OK, but i used it in past, i don't know why it give error

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