Solved

Crytal Reports "Invalid Printer Name"

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

756 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