Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 12th, 2004, 11:49 AM
Registered User
 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Truncated Report in CR9 and CRViewer for asp.net

Hi there!
I have a really strange problem with my report viewing from the web: The reports truncate and though I have BestFitPage=true my reports keep getting the ASPNET process DefaultPrinter's size??!? (i.e Truncated as a Letter, rather than A4).

I Have tried to set
reportDocument.PrintOptions.PaperSize = PaperSize.A4
(and the .PrinterName) but this seems to only work for reports where
the Orientation (landscape or portrait) in the report is set to the same as the printer i specify.

Since I dynamically load reports from a folder
(reportDocument.Load(...) ) I dont know the size of the report,
and cannot manually set landscape, margins, PageContentHeight, ...

What should I do? How do I explain to the report that it should IGNORE
the defaultprinter, and just use a A4 papersize (also not caring about Orientation).

Oh, yeah. I'm using CrystalReportViewer 9.1.5000 (vstudio 2003)
on Win2000 sp4. I have a total of 4 reports, 2 in Landscape, 2 in Portrate. I load them from Folder, set logonproperties and report-parameters, and display it a ASP.NET page (with vb.net codebehind).
I've never enabled printing from web for SYSTEM, as suggested from CrystalReports KB, since I rather export the report to PDF instead.

Regards, Binnot

 
Old February 13th, 2004, 04:29 AM
Authorized User
 
Join Date: Feb 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Binnot,

Try setting the issue at the File -> Printer Setup --> A4. I had similar issue last evening, the report is getting truncated and the data is not showing up on print. I adjusted this and it worked. Just give it a shot by trying this option out. Not sure tho.

Good luck


Thanks!
Srimahavishnu Vadlapatla
(Mahavishnu / Vishnu)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Truncated Memo field on Report echovue Access 5 August 16th, 2006 08:52 AM
Problems at Using CRViewer for Web-Forms (VB.NET) vblover Crystal Reports 1 August 27th, 2004 10:38 AM
Problems at Using CRViewer for Web-Forms (VB.NET) vblover BOOK: Professional Crystal Reports for VS.NET 0 August 18th, 2004 10:04 AM
String getting truncated while displaying in asp anupamda Classic ASP Databases 2 February 10th, 2004 12:08 PM
Transferring CR9 reports from vb.NET to CR8 jeev_v Crystal Reports 0 September 8th, 2003 08:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.