Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Landscape printing on development is different than client

Status
Not open for further replies.

sk8er1

Programmer
Jan 2, 2005
229
US
I have a report that does not maintain its landscape paper orientation on the client computer.
Business Objects solution is this...
Crystal Reports uses the default printer driver on the computer running the application to display the report.

To maintain the landscape paper orientation, install the prnter driver from the development computer to the client computer.

Can someone explain what is happening to me....

Thanks
 
Hi,
What did you not understand..
Printing is Client-controlled ( as is the display of the report - it is based on the printer's abilities ) and is based on the printer defined when the report was created..So, the same printer type MUST exist on every client's PC to insure that the report displays and prints the way it was designed..



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
From your other posts, I gather you're using a .NET front end for the application. I use VB 6, but there might be some similar property in the .NET object model for this.

In theory, you should be able to get the report's page orientation before printing/viewing the report. Once you have that, you can set the printer for the report to the user's default printer, then, reset the page orientation.

For a VB 6 example of this, see thread768-826313. You may be able to find the .NET equivalent. After a quick look at the .NET SDK, the ReportDocument has a PrintOptions class, with members like 'PaperOrientation' and 'PrinterName'.

-dave
 
OK...
Yes, but when the person sitting next to me prints to the same printer that the report prints correctly on it does not print correctly for him...WHY? Because he does not have the same driver on his PC that I have....
Thats pretty strange.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top