Solved

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

Posted on 2012-12-27
7
901 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 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Gridview 1 64
Winforms -- Capture CTRL+SHIFT+D at the form not working? 3 31
Save json data from URL using SSIS 1 22
Unlocking a column in excel using C# 17 27
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

740 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