Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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 June 29th, 2005, 09:07 AM
Registered User
 
Join Date: Jun 2005
Location: Noida, Uttar Pradesh, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pratyush_k Send a message via Yahoo to pratyush_k
Default Crystal Report is not printed to the local printer

We have developed an application in VB.Net and Crystal Report 9.0.
To print a particular crystal report, we have used code similar to the sample code given below:

        Dim oReportDocument As CrystalDecisions.CrystalReports.Engine.ReportDocum ent

                oReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocum ent

    oReportDocument .Load("c:\test.rpt")
    oReportDocument .PrintToPrinter(NoOfCopies, False, 0, 0)


The report is printed without any problem on "Network printers" but it does not print on a local printer. Strangely, it gives the success message that file has printed successfully.

Any inputs to solve this problem will be highly appreciated.

Thanks in advance.

Pratyush Shukla
Technical Manager
R Systems India



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
Dot Matrix Printer does not print crystal report alok_mca07 Crystal Reports 0 October 24th, 2007 11:32 AM
printed or not printed page status in Crystal Repo hendyhanusin Crystal Reports 0 July 31st, 2007 02:17 AM
Printing On Dot Matrix Printer With Crystal Report rupesh_india Beginning VB 6 1 September 1st, 2006 08:30 PM
Designing crystal reports pre printed stationay rakutly BOOK: Professional Crystal Reports for VS.NET 0 June 14th, 2006 04:36 AM
Setting path to local "C" drive for crystal report rajupusapati Crystal Reports 2 June 17th, 2004 11:47 AM



All times are GMT -4. The time now is 11:35 PM.


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