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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.NET CRViewer Print Orientation not persisted/serialized?

Status
Not open for further replies.

leeskers

Programmer
Feb 19, 2003
8
US
I have created a suite of reports for end users, but when the clients attempt to print specific reports thru Crystal Viewer packaged with .NET, the print orientation is not correct.

I believe .NET is using a serialized form of the report, so it could be that the print orientation needs to be selected each time the report is to be printed, but if not, I would like a better end user experience.

An example: a report that is created with a print orientation of landscape works properly in the Crystal Report designer. However, when printed from the .NET CRViewer, the first page prints landscape, and the others go to standard portrait (which makes the printout useless for the client).

Has anyone else experienced this, or something similar? If so, do you know of any workarounds?

Thanks in advance.

'skers
 
I have the same problem.

Saegate says that they have a 'Hot fix' for it, but it too doesnt seem to work.

(Hot Fix name cr10netwin_en.zip)

I just instyalled it and it didnt make any difference. Reports designed with Landscape orientation will not print that way then the 'printer' icon is selected in the viewer.

They suggest as a 'workaround' to use this code in a button:

crReportDocument.PrintToPrinter(1,true,1,1)

-------------------------

I for one need to find a real fix for this. I just deployed a 'new and improved' .NET version and didnt find out until too late. I cant expect users to have to manually select when they want a Landscape report... in fact thay may not know its a landscape report intil after the print has printed out a bunch of junk.

 
cgv,

thanks for the response. good to know i wasn't missing anything here. i will let you know if i find any type of workaround here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top