Solved

Crytal Reports "Invalid Printer Name"

Posted on 2007-03-27
5
614 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.NET - Error - Object not set in Module 4 39
SqlServer no dupes 25 38
location of a form 2 25
MYSQL responding very slow 3 23
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…

860 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