Results 1 to 3 of 3

Thread: Changing Datareport Size To Legal Size..i Need Help...

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    1

    Changing Datareport Size To Legal Size..i Need Help...

    i want to change the report size to legal..please help me..im using vb 6 and datareport..i tried the service pack 6..but still..i got the error "do not fit horizontally".. please help me...

    thanks!!!

  2. #2
    Member Dennis DVR's Avatar
    Join Date
    Jul 2005
    Location
    Manila Philippines
    Posts
    54

    Re: Changing Datareport Size To Legal Size..i Need Help...

    You'll need to use winspool.drv API library with DEVMODE Enum to be able to change the DataReport papersize. It's not going to be easy IMO

    You'll need to call the OpenPrinter,ClosePrinter,DocumentProperties,SetPrinter and there are other API that you also need.

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Location
    Philippines
    Posts
    27

    Re: Changing Datareport Size To Legal Size..i Need Help...

    ^You can also show that print dialog box using this..

    VB Code:
    1. rpt.printreport true

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