Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 29th, 2005, 09:07 AM
Registered User
 
Join Date: Jun 2005
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








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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.