Improve company productivity with a Business Account.Sign Up

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

Crystal report, asp.net

Hello
I am developing a billing application in asp.net3.5, sqlserver 2008 and in VS 2010. (on development machine)

My web server details is windows server2012, sqlserver 2012.

My requierment.
I want to create an invoice report in crystal report, and want user to tke print out of it.

Problem.
I have created a invoice report and it works fine on my development machine. It loads data and displays data as i want. i have used crystal report viewer.
but when i uploaded application on wen server. It displays the data on screen, but when i press print button to print, full format and design gets printed but data is not printed. Instead of fonts, black square sign is printed.

note i have used standard fonts only.

Kindly post detailed code as to how to create report

also i have one more requirement. I want to print same invoice data in tree different invoice format. So my requriement is if a user press print button on aspx page. same invoice should be generated in multiple format and it should be displayed on different browser window.

thanks
0
ronipats
Asked:
ronipats
  • 3
  • 2
1 Solution
 
mlmccCommented:
Are you using the same printer driver on the web server as the development machine?
Crystal uses the driver to render the report.  It the driver it was built with isn't available it uses the default.

Verify your web server has a printer defined and selected as default.

Also if it is different than the development machine, you can install the driver on your machine and use it for Crystal.  You just won't be able to print using it.

mlmcc
0
 
ronipatsAuthor Commented:
Actaully, on server there was no priter installed. So now as u have suggested i have installed one printer. But still it is not printing fonts. it only displays square boxes.
0
 
mlmccCommented:
Is it the same printer driver the report was developed with?

mlmcc
0
 
ronipatsAuthor Commented:
No it was different
0
 
mlmccCommented:
If you still need help, try installing the printer driver that is on the development machine.

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now