Solved

Crystal report, asp.net

Posted on 2013-11-27
6
730 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
  • 3
  • 2
6 Comments
 
LVL 100

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 100

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 100

Accepted Solution

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

mlmcc
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now