Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2169
  • Last Modified:

Printing is not WYSIWYG !!!

Using VS.Net 2003 and the version of Crystal Reports that comes with it, I created a report (nothing fancy) using default fonts (Times New Roman).

I see my report appearing on the screen in the viewer correctly.
I can export it to a PDF correctly.
I can print it at home (using my Epson Stylus printer) without problems.

But when I print it at work (using a HP Laserjet 4050 TN on the LAN), I can't read what's printed. Every characters are changed! Bold, underlines and borders are printed correctly but not the characters.

Any ideas?
0
Éric Moreau
Asked:
Éric Moreau
  • 5
  • 4
1 Solution
 
Éric MoreauSenior .Net ConsultantAuthor Commented:
I just made another. We have another printer of the same LAN which is a HP LaserJet 4plus. My report prints correctly on this printer!

Any ideas?
0
 
deguyCommented:
First things first, you should read this document regarding printer driver dependancy in CR if you haven't done so already:  http://support.crystaldecisions.com/communityCS/TechnicalPapers/scrprinterdependency.pdf.asp

Second, is it possible that the character set you've selected (western, arabic, etc.) is not understood by the printer at your office?
0
 
Éric MoreauSenior .Net ConsultantAuthor Commented:
>>Second, is it possible that the character set you've selected (western, arabic, etc.) is not understood by the printer at your office?

I just tried it. It makes no differences whatever I select.

I can print Word or Excel documents to this printer correctly.
0
Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

 
_TAD_Commented:


Check and see if the printer you are getting garbage from is set up to print postscript.


Crystal reports prints everything in postscript and if the printerdoes not recognize those ps commands things get funny
0
 
Éric MoreauSenior .Net ConsultantAuthor Commented:
I have installed the PCL driver for the printer it now prints OK. Can I tell Crystal Reports to send PostScript commands? I don't want to install the new drivers on every PCs and reconfigure the printer.
0
 
_TAD_Commented:


I am pretty sure with Crystal Reports you are pretty much stuck...

and here is the reason why...


Crystal Reports does not print UTF-8 or uni-code text (like word, excel, notepad, etc).

Instead Crystal Reports sends its file to the printer in the same format a bitmap is sent to the printer.

In a nutshell, when notpad sends something to the printer, it sends the printer data that tells it to print the letter 'A'.  When Crystal send something to the printer, the printer is simply printing a picture (which happens to look like the letter 'A').

Because of this limitation you also cannot send escape sequences to a printer since they are all transalted as pictures, not commands.
0
 
Éric MoreauSenior .Net ConsultantAuthor Commented:
I am surely not the only one that wants to print his reports on a PS printer!?!?!?!
0
 
_TAD_Commented:


surely not... however, most postscript printers come with PCL support these days (or at least, I think they do[??]).


at any rate, I did some surfing around at various sites and everywhere I go they require the PCL version of the printer driver.

The sites I looked at included PeopleSoft and KronosConnect (two applications that I support at work and they both use crystal reports for reporting).
0
 
_TAD_Commented:


here's a guy having problems with with PCL vs postscript issues (not Crystal Reports, but same problem).

https://lists.aas.duke.edu/pipermail/ntgroup/2001-April/000227.html


read this page carefully, perhaps it will help you make an informed decision about your current issue.

http://desktoppub.about.com/cs/pspcl/
0
 
Éric MoreauSenior .Net ConsultantAuthor Commented:
Seems that there is not much to do about printing in PostScript!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now