Solved

Crytal Reports "Invalid Printer Name"

Posted on 2007-03-27
5
616 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access Schema 6 58
ASP.NET Calendar Control 5 54
VB.NET Inline If statement 4 57
VB.NET : Selection Out of Range Parameter Name : Value 22 35
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

751 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