Solved

Crystal report, asp.net

Posted on 2013-11-27
6
729 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

17 Experts available now in Live!

Get 1:1 Help Now