Solved

crystal report Print problem

Posted on 2004-09-21
6
286 Views
Last Modified: 2012-06-27
hi!!!

I'm Unable to print a Crystal report from my Vb Application..

I'm getting an error No Default Printer "Error in File Name ..." name of the .rpt file..

a printer is available on my system... and is set to as default..

what are the steps what am i missing ..
i'm using following steps

  .ReportFileName = "C:\Neeru\RCT\VER16-08-2004\Source\RCTHighValue\Reports\Advanced Report.rpt"
    .Destination = crptToPrinter
    .Action = 1

Its URGENT!!!
Please HElp!!!!
0
Comment
Question by:anv
  • 3
  • 2
6 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Verify you have a default printer selected on the machine in question.  Crystal uses the default printer to build the report.
Can you preview th e report?

Was the report built on this machine?  Can you preview or print the report from Crystal?

Was the report built with the NO PRINTER option selected?
I forget where it is but check
Open the report
Click FILE --> REPORT OPTIONS
Verify NO PRINTER is NOT checked

may also be
CLick FILE --> OPTIONS
or
Click FILE --> PRINTER SETUP

mlmcc
0
 
LVL 5

Expert Comment

by:ajitanand
Comment Utility
hello,

This error comes only SOMETIMES (yes only sometimes!) when you have a default printer INSTALLED on your system, but is not the same as the one that was used to design the report, and that Printer No longer is attached/working on your machine (means is a dummy printer).

Some printer drivers cause this problem. Try installing a valid printer on your machine, and set the default printer for your report to that printer. This error will go off.

rgds,
Ajit Anand
0
 
LVL 10

Author Comment

by:anv
Comment Utility
hi ajianand

thanx for ur reponse,, actually i already found this as the solution...

now i just want to know... whether this will produce the sme error if i install my application on clients machine having a default printer but with some other name etc..??
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 5

Accepted Solution

by:
ajitanand earned 250 total points
Comment Utility
If your client has a default printer (that WORKS! as well), then no errors will appear. Crystal Engine will automatically find and set the default printer as the printer on the executing report on the cilent machine.
0
 
LVL 10

Author Comment

by:anv
Comment Utility
have you tested that??
0
 
LVL 5

Expert Comment

by:ajitanand
Comment Utility
yes! it already happened to me several times, since we use dummy printers normaly during testing to avoid paper wastage. :)
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now