Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Landscape Printing
Message
General information
Forum:
ASP.NET
Category:
Reporting
Title:
Landscape Printing
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01361617
Message ID:
01361617
Views:
56
I have a Crystal Reports Viewer object and I am trying to send the report that is loaded directly to the printer without first displaying it. I have the code working except for one bug, the report is designed in Landscape and it prints out in Portrait. Funny thing is, if you preview the report first, then it prints fine. But if I send directly to printer using objCRViewer.PrintReport(), it print out using the wrong orientation. I checked the objReport.PrintOptions.PaperOrientation, and it is set to Landscape...

Anyone know what I am missing?
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook
Reply
Map
View

Click here to load this message in the networking platform