Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > .NET Framework 3.5
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Framework 3.5 For discussion of the Microsoft .NET Framework 3.5.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 3.5 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 15th, 2010, 10:00 AM
Registered User
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Unable to print multiple copies for crystal report in vb.net.

I want to print crystal Report(10.5).
Default Printer:"Microsoft XPS Document Writer".
I want multiple pages to print.
If a report contain 10 pages then each page should be repeated as per requrement.
The code is in vb.net.
gReportDoc.PrintToPrinter(2, True, 0, 0)

The above statement should print double the copies(here 20) in browser,but i get single copy of each page.
Also instead of direct printing,if i done preview.10 copies r get displayed.Its fine.
But there is printing tool above in crystal viwer.In that dialogbox if i give there: No of copies=2,then also unable to get multiple copies in browser.
is there any printer setting problem..?
But my vb vode is working fine.In which I have set CR.CopiesToPrinter=2.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How use the crystal report in vb.net Rahul Gupta Crystal Reports 2 May 17th, 2013 10:39 AM
simple report and crystal report in vb.net saket123 .NET Framework 2.0 0 August 13th, 2008 06:55 AM
get copies of document to print in System.Printing motconduong Windows Presentation Foundation 0 June 30th, 2007 11:08 AM
Print multiple header & footer from Crystal Report ashu_gupta75 Classic ASP Professional 0 February 6th, 2004 02:44 AM
vb.net - print report of a datarow jbacha Pro VB Databases 0 January 21st, 2004 01:48 PM



All times are GMT -4. The time now is 09:56 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.