Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Printing Crystal Report Post Reply Post New Topic
Author Message
gyswamy
Newbie
Newbie
Avatar

Joined: 03 Mar 2011
Location: India
Online Status: Offline
Posts: 13
Quote gyswamy Replybullet Topic: Printing Crystal Report
    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
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet 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
IP IP Logged
gyswamy
Newbie
Newbie
Avatar

Joined: 03 Mar 2011
Location: India
Online Status: Offline
Posts: 13
Quote gyswamy Replybullet 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
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet 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
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.020 seconds.