Solved

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

Posted on 2012-12-27
7
831 Views
Last Modified: 2012-12-28
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,
0
Comment
Question by:g_johnson
  • 3
  • 2
  • 2
7 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 38724897
have you tried 10? also try False instead of True for the collated parameter
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 38724916
apparently, this parameter is not for labels, check http://www.ehow.com/how_8768544_fill-one-record-crystal-reports.html
0
 
LVL 4

Author Comment

by:g_johnson
ID: 38724930
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.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 100

Expert Comment

by:mlmcc
ID: 38724940
What printer?

What version of Crystal?

mlmcc
0
 
LVL 4

Author Comment

by:g_johnson
ID: 38724944
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".
0
 
LVL 4

Author Comment

by:g_johnson
ID: 38724946
mlmcc -- Zerbra printer (I'll try to get more details).  Crystal 2011.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 38724970
If you can find the users manual for the printer or check the printer driver.
Does it have a number of copies option?

I think Crystal uses that printer feature to do multiple copies rather than printing it x number of times

mlmcc
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now