开发者

Replicate Printed Form With Web Form

开发者 https://www.devze.com 2022-12-27 13:30 出处:网络
I\'开发者_Go百科m hoping people have some ideas to help solve this problem. I am developing a C# ASP.NET website and the client requires an online form that users will fill in and submit. OK, so far

I'开发者_Go百科m hoping people have some ideas to help solve this problem.

I am developing a C# ASP.NET website and the client requires an online form that users will fill in and submit. OK, so far so good.....

Imagine, say, a form that you fill in on paper - they normally have a distinctive look specific to the company and will be filed, quite possibly as a legally binding document.

I need to have an online form that when submitted emails the client with something they can print out and will look exactly like their printed forms.

As this is web based, I think the option of capturing a screenshot are out the question, so I'm wondering how best to approach this?

Even if I just had a form that captures the data presented how I want, how could I translate this data into the view they want?

Any ideas and suggestions greatly appreciated.


You'll need to take the raw data that was submitted and import it into a standard document (likely PDF). You can use Crystal or another reporting solution, or direct to PDF using one of the many PDF .NET solutions that are out there.

I don't think you'd even want to deal with making the document physically match the screen - much easier to make the web look like the web, and make the printed doc look like a printed doc.


Print a page (this one) from a Browser, notice all the headers and footers?

If you want serious control over how it is going to look, you will need to generate a PDF (or maybe XPS).


Couldn't you just use a sepparate page with a CSS that gives the desired look & feel?

0

精彩评论

暂无评论...
验证码 换一张
取 消