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 October 15th, 2004, 12:27 AM
Authorized User
Join Date: Nov 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page Setup while Exporting to PDF

Hi, I'm using CR.NET bundled with VS.NET2002. In my project I have the feature to export the crystal report output to a PDF file.

I'm using a CrossTab report and in that I have the columns as month names. Under each month, the data will be populated. In the crystal viewer the report is appearing with out any issues. But once I export to PDF, then part of the report output in the end is cut and placed in a new page.

I was trying out to set the page type in the PDF to Landscape, but was unable to find any options. I could just find the following, but it doesn't help -

rptCrossTab.PrintOptions.PaperOrientation = PaperOrientation.Landscape;

I understand the above is for print options, but just gave a try.

Can anyone kindly guide me on how I can achieve to set the Page orientation to landscape at runtime for a PDF file.


Old October 18th, 2004, 12:24 AM
Authorized User
Join Date: Nov 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts

I tried setting the Printer Setup option in the designer to Landscape. This option automatically sets the page orientation while exporting.

Old November 11th, 2004, 02:21 AM
Registered User
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

were you able to print in landscape from the pdf to a network printer by any chance?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in exporting data into pdf santhoshsanjeevi J2EE 0 April 3rd, 2008 06:15 AM
Exporting gridview to pdf format priyan.viji C# 2005 0 December 12th, 2007 06:30 AM
trouble in Exporting RDLC to PDF Ardvisoor ASP.NET 2.0 Professional 1 March 12th, 2007 11:50 PM
Exporting To PDF Ardvisoor Reporting Services 0 May 28th, 2006 07:06 AM
Exporting Crystal Report to PDF vishal.jayaswal .NET Web Services 0 December 30th, 2004 03:31 AM

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