Solved

Crystal report, asp.net

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.net and XML report from SCCM 5 23
A string is required here error 20 19
Regular expression help 2 25
Expression Evaluater 3 24
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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