Avatar of g_johnson
g_johnson
Flag for United States of America asked on

Printing multiple copies of Crystal Report from C#, Visual Studio 2008

I am using this command to render a Crystal Report to a printer:

                        rpt2.PrintToPrinter(numlabels, true, 0, 0);

Though numlabels is set to 313 in my test cast, we are getting only one label to go to the printer.

numlabels is an Int32

Am I doing something wrong?


Thanks,
C#

Avatar of undefined
Last Comment
Mike McCracken

8/22/2022 - Mon
Éric Moreau

have you tried 10? also try False instead of True for the collated parameter
Éric Moreau

apparently, this parameter is not for labels, check http://www.ehow.com/how_8768544_fill-one-record-crystal-reports.html
g_johnson

ASKER
do you mean numlabels = 10.  Yes, I've tried different numbers.  If you VS2010, I can't go there yet.  I have already tried Falsee for collate, but it didn't work.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Mike McCracken

What printer?

What version of Crystal?

mlmcc
g_johnson

ASKER
I should have made this clear.  This is not sheets of X number of labels per sheet, rather it is one label per sheet.  Therefore, it works just like any other report would.  However, I'm going to continue to read that article to see if I can pick up a tip on some other way to do it.

Thanks.  Do you have any other thoughts on this?  The best I can find on the web is "it should work".
g_johnson

ASKER
mlmcc -- Zerbra printer (I'll try to get more details).  Crystal 2011.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Mike McCracken

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.