Print Page | Close Window

Printing Crystal Report

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=13699
Printed Date: 20 Apr 2025 at 1:39pm


Topic: Printing Crystal Report
Posted By: gyswamy
Subject: Printing Crystal Report
Date Posted: 08 Jul 2011 at 7:58pm
Hi,

I have to print the report in two kinds of papers. One is Blank  paper another one is Pre printed paper.

In case of Blank paper i don't have any problem but in case of pre printed paper i won't print Header and Footer i should print only items and total. How can i make it hide in case of pre printed paper. Plz help me...

Thanks..


-------------
Swamy



Replies:
Posted By: lockwelle
Date Posted: 13 Jul 2011 at 4:17am
create a paremeter for the report
if the value is prePrinted(or whatever you call it) then suppress the header and footer...Section Expert for the section you want, Suppression X-2 button
{?parameter} = "prePrinted"
 
this will hide the section if the parameter equals the value.
 
HTH


Posted By: gyswamy
Date Posted: 13 Jul 2011 at 7:15am
Thanks for giving replay..

Can we set the page size (height,width)? I have to print only 10 rows/page. If i have the data more than 10 rows it will be print in next page. How can i set it ?


-------------
Swamy


Posted By: lockwelle
Date Posted: 15 Jul 2011 at 4:50am
create a global or shared variable, and every time you print a line increment it, reset it every group.
 
In the Section Expert, in the new page before, x-2' button put something like
shared numbervar aCount;
aCount mod 10 = 0
 
that will force a page break every 10 lines.
 
HTH



Print Page | Close Window