ferronrsmith
ferronrsmith

Reputation: 1110

HTML Printing

I am too cheap to buy crystal reports so i built the report in asp.net, the only problem I'm facing is printing the report and making it look professional. On different printer's the report looks diff, i want to be able to control the final output and make the report print standard across all printers. You guys have any suggestions on how to achieve this properly?

Upvotes: 0

Views: 837

Answers (6)

Dark Leviathan
Dark Leviathan

Reputation: 489

Mabye a stylesheet? Google it, good luck

Upvotes: 2

Steve
Steve

Reputation: 5952

You could try implementing a print stylesheet (you'll find many examples Googling the term), but that can be laborious if you're not familiar with css.

If you're checking out pdf solutions, I've used iTextSharp to create pdfs. It's relatively easy, open source and mature and used by many corporations.

Upvotes: 1

Andrew Moore
Andrew Moore

Reputation: 95334

You could create the report as a PDF using a C# library such as PDFsharp (Open-Source).

This approach allows you to:

  • Serve PDF files to your user, giving them the option to:
    • print it now
    • archive it for later use
  • Automatically email reports to your users using a scheduled task
  • Store generated PDFs in a database or on the file system

Upvotes: 1

Keith Adler
Keith Adler

Reputation: 21178

Why not just use Reporting Services? It's free and easy to integrate with both WebForms and WinForms apps. Supports export to PDF, Excel, etc.

Upvotes: 7

northpole
northpole

Reputation: 10346

cutePDF is a free PDF writer and should work for what you need

Upvotes: 0

Babak Naffas
Babak Naffas

Reputation: 12561

You could try printing to a PDF. Not sure what your budget is, but ExpertPDF is a good option I'm using now.

Upvotes: 1

Related Questions