?
Solved

Crystal report, asp.net

Posted on 2013-11-27
6
Medium Priority
?
741 Views
Last Modified: 2014-01-07
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
Comment
Question by:ronipats
[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
6 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 39684098
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
 

Author Comment

by:ronipats
ID: 39684681
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
 
LVL 101

Expert Comment

by:mlmcc
ID: 39685719
Is it the same printer driver the report was developed with?

mlmcc
0
 

Author Comment

by:ronipats
ID: 39685731
No it was different
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 1000 total points
ID: 39758074
If you still need help, try installing the printer driver that is on the development machine.

mlmcc
0

Featured Post

Basic Security of Your VPC

So, you’ve got this shiny new VPC and a fancy new application configured on your EC2 servers ready to go. This application is only accessible from your computer, which is great for security, but you need your users to be able to access it! So, what’s the easiest way to do this?

Question has a verified solution.

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

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 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