Solved

Crytal Reports "Invalid Printer Name"

Posted on 2007-03-27
5
607 Views
Last Modified: 2007-12-19
I cannot figure this out, but I've moved my code from one directory to another, and now Crystal Reports can't print to one of my network printers...  It's says invalid printer name - even though I KNOW that this is the RIGHT printer name.

Any thoughts?
0
Comment
Question by:jake072
  • 3
  • 2
5 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 18804877
When you say to another directory, is this on the same server?

How are you selecting the printer?

What version of Crystal?

mlmcc
0
 
LVL 14

Author Comment

by:jake072
ID: 18808099
Same computer, different harddrive.  I'm selecting the printer by specifying the name (string), or by choosing it in a printer dialog - neither works.

I can access the computer from my machine and print a test page - but can't print from crystal reports.

Crystal Reports for Visual Studio .NET.

This is so weird, because all the other computers on the network using my program can print, as normal, but now I can't from my dev machine.  I would think it's a security setting, but I can browse to the computer from my network places, and access the printer, and even print a test page fine, but for some reason Crystal says that it's an invalid printer name.

Jake
0
 
LVL 14

Author Comment

by:jake072
ID: 18826219
mlmcc,

Your not going to believe this, but I moved the code back to the old harddrive after cleaning it out, and now it works again.  Huh??

I'll give you the points - at least you provided an outlet to vent :) hehe

Jake
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18826664
No idea unless the code has a hardcoded directory in it.

mlmcc
0
 
LVL 14

Author Comment

by:jake072
ID: 18835887
Nope, no hardcoded directories...  Really weird though - I could print to any printer OTHER than Lexmark printers...  ???

Jake
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

12 Experts available now in Live!

Get 1:1 Help Now