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!!!
Printable View
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!!!
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.
^You can also show that print dialog box using this..
VB Code:
rpt.printreport true