Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Landscape Printing
Message
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Titre:
Landscape Printing
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01361617
Message ID:
01361617
Vues:
55
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
Répondre
Fil
Voir

Click here to load this message in the networking platform