wyswyg html表单打印 [英] wyswyg html form printing

查看:120
本文介绍了wyswyg html表单打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始这个网络应用程序项目(asp.net mvc)



这是一个基于文档的系统,几乎每个网页都是官方模型



我想知道如果表单可能是一个wyswyg页面,那么它会节省多少成本和时间。将为电子和纸张观众服务。



我知道Adobe Acrobat表单有类似的东西。本来对我的目的是完美的,但它不可插拔 - 这意味着我没有后端系统的选择。



有没有人知道

解决方案

为什么不打印媒体?例如,

 < link rel =stylesheethref =css / printstylesheet.cssmedia =print > 

您可以在同一页面中定义两个事物。类似这样的东西,

 < link rel =stylesheethref =css / mainstylesheet.cssmedia = /> 
< link rel =stylesheethref =css / printstylesheet.cssmedia =print/>

我希望这是你在找,不知道。



这本书的一段摘录 Pro CSS Technique 。 / p>

已编辑



CSS打印媒体浏览器一致性


I am starting this web app project (asp.net mvc)

It's a document-based system, such that nearly each web page is a model of an official printed form (and users sometimes should be able to produce prints).

I am wondering how much cost and time saving it will be if the form could be a wyswyg page that will serve both electronic and paper audiences.

I know that Adobe Acrobat forms has something like that. Would've have been perfect for my purposes but it's not pluggable -- meaning I don't have a choice as to backend system.

Does anyone know anything out there that renders pdf/like pdf to the printer but has html form submit capabilities?

解决方案

Why not css print media? For example,

<link rel="stylesheet" href="css/printstylesheet.css" media="print" /> 

You can define both the things in the same page. Something like this,

<link rel="stylesheet" href="css/mainstylesheet.css" media="screen" /> 
<link rel="stylesheet" href="css/printstylesheet.css" media="print" /> 

I hope this is you are looking for, not sure though.

An excerpt from the book Pro CSS Technique.

Edited:

CSS print media browser conformance.

这篇关于wyswyg html表单打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆