a 'clean' print on webform

  • Thread starter Thread starter CrazyCoder
  • Start date Start date
C

CrazyCoder

Dear all,

I'm trying to find the solution where to print my reports without using IE's
print functions.
Most of my required report needs to print out 'clean' ......
I checked around with bundled Crystal Report, seems it isn't the right way.

Is there any printer object on my web apps at lease ?

Please suggest,
Thanks in advanced .
/crazy
 
When you are talking about printing report from web app, there is not many
choices if uses use standard browser as client. Everything you get from your
web app is contained in the browser. Any printing fuctionality that is
beyond browser's printing is either restricted by browser's settings
(especially, security settings), or required to install some components
(again, security setting may disallow the installation).

To print a better layout of a report, you can:

1. design a seperate web page layout for printing. When user clicks "Print"
link, redirect him to the page, so he can print from browser
2. user third party component. Typically, using Adobe Reader is the most
common choice, especially when your report is generated by CtystalReport.
Simply export report as *.pdf file at the server end and streams it off to
the browser. If the client has had Adobe Reader installed, the report in
*.pdf format will be displayed by Adobe Reader inside browser. Then user can
print/save from there. This way, you do not lose your fancy report design at
all. Only prerequisite: the client must have Adobe Reader installed
(fortunately, it is free, and it easy to install, and many users already
have it. You better provides a link to Adobe Reader download on your report
page, though). Use any other third party component, you would do the similar
things.
 
Back
Top