Solved

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

Posted on 2012-12-27
7
966 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 70

Expert Comment

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

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 101

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 101

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

622 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