>Dear Sir/Madam
>
>Im Using Visual Basic 6 Data Report Designer, My problem is i need to print a report with landscape orientation.
>
>I have encounter an error message "Reports with is greater than the paper width" ..
>
>I already set the printer function But the error message still exist
>
>Sample Code:
>Printer.orientation = 2
>datareport1.show
>........
See this link:
http://support.microsoft.com/support/kb/articles/Q198/9/01.ASP?LN=EN-US&SD=gn&FR=0
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com