从HTML设置打印机纸张尺寸? [英] Set printer paper size from HTML?
问题描述
我有一个''可打印''按钮来生成可打印的输出
并希望这个使用A3(如果可用),而不管
用户的默认打印机设置。有没有办法从HTML设置
a页面的首选打印纸张尺寸?
如果可能的话便携式,但IE只会比没有好。
I have a ''printable'' button to generate printable output
and want this to use A3 if available, irrespective of the
user''s default printer setting. Is there any way to set
a page''s preferred printed paper size from HTML?
Portable if possible, but IE-only would be better than nothing.
推荐答案
Al Grant写道:
Al Grant wrote:
我有一个''可打印''按钮来生成可打印的输出
并且如果可用则希望使用A3,而不管
用户的默认打印机设置。
I have a ''printable'' button to generate printable output
and want this to use A3 if available, irrespective of the
user''s default printer setting.
如果用户没有A3纸怎么办?
-
Berg
What if the user doesn''t have A3 paper?
--
Berg
Al Grant写道:
Al Grant wrote:
我有一个''可打印''按钮来生成可打印的输出
,如果可用,则希望使用A3,无论
用户的默认打印机设置如何。是否有任何方法可以设置
页面首选的HTML打印纸张大小?
如果可能的话便携式,但IE只会比没有好。
I have a ''printable'' button to generate printable output
and want this to use A3 if available, irrespective of the
user''s default printer setting. Is there any way to set
a page''s preferred printed paper size from HTML?
Portable if possible, but IE-only would be better than nothing.
绝对不是HTML格式。在CSS3中,是的,但这不是一个正式的
推荐,我怀疑它有足够的浏览器支持,特别是在IE浏览器支持
,尽管我可能错了。
Definitely not in HTML. In CSS3, yes, but this isn''t an official
recommendation yet and I doubt it has sufficient browser support,
particularly in IE, though I could be wrong.
Harlan Messinger写道:
Harlan Messinger wrote:
Al Grant写道:
Al Grant wrote:
>我有一个''可打印''按钮来生成可打印的输出
并希望这使用A3(如果可用),无论用户的默认打印机设置如何。有没有办法从HTML设置页面的首选打印纸张大小?
如果可能的话便携式,但IE只会比没有好。
>I have a ''printable'' button to generate printable output
and want this to use A3 if available, irrespective of the
user''s default printer setting. Is there any way to set
a page''s preferred printed paper size from HTML?
Portable if possible, but IE-only would be better than nothing.
绝对不是HTML格式。在CSS3中,是的,但这不是一个正式的
推荐,我怀疑它有足够的浏览器支持,特别是在IE浏览器支持
,尽管我可能错了。
Definitely not in HTML. In CSS3, yes, but this isn''t an official
recommendation yet and I doubt it has sufficient browser support,
particularly in IE, though I could be wrong.
我没错。 IE7不支持它。
I''m not wrong. IE7 doesn''t support it.
这篇关于从HTML设置打印机纸张尺寸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!