Link to home
Start Free TrialLog in
Avatar of jake072
jake072Flag for Canada

asked on

Crytal Reports "Invalid Printer Name"

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?
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jake072

ASKER

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
Avatar of jake072

ASKER

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
Avatar of Mike McCracken
Mike McCracken

No idea unless the code has a hardcoded directory in it.

mlmcc
Avatar of jake072

ASKER

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

Jake