javascript 谷歌浏览器未在“打印”对话框中显示所有纸张尺寸

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/27701760/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-28 07:51:22  来源:igfitidea点击:

Google Chrome is not showing all paper sizes in the "Print" dialog

javascriptgoogle-chromeprinting

提问by singhm0077

We have some custom paper size defined for our printing needs. When we are printing using Google Chrome it is always showing Letteras the default paper size, it is not showing our custom paper size in drop down list. This issue is machine specific i.e. we are getting this issue on Windows XP.

我们为我们的打印需求定义了一些自定义纸张尺寸。当我们使用谷歌浏览器打印时,它总是将Letter显示为默认纸张尺寸,而不是在下拉列表中显示我们的自定义纸张尺寸。此问题是特定于机器的,即我们在 Windows XP 上遇到此问题。

采纳答案by singhm0077

i was able to solve my issue, i was defining paper size format in wrong manner and i also re-installed printers drivers than it worked perfectly.

我能够解决我的问题,我以错误的方式定义了纸张尺寸格式,并且我还重新安装了打印机驱动程序,但它运行得很好。

回答by Samuel MacLachlan

I do not believe it is possible to change this. Others on various other sites like SuperUserand Google Groupshave indicated that it may be down to the individual printer.

我不相信有可能改变这一点。SuperUserGoogle Groups等各种其他网站上的其他人表示,这可能取决于单个打印机。

As far as I can tell it selects "Letter", as it is the first/default option in the list as shown in the image below:

据我所知,它选择了“Letter”,因为它是列表中的第一个/默认选项,如下图所示:

Chrome Print dialog

Chrome 打印对话框

This would be a handy feature to have in Chrome, so it is worth posting a feature request on the Google Chrome help forum: https://www.google.com/support/forum/p/Chrome

这将是 Chrome 中的一个方便的功能,因此值得在 Google Chrome 帮助论坛上发布功能请求:https: //www.google.com/support/forum/p/Chrome

Until then, alas it seems like we don't have much hope :(

在那之前,唉,我们似乎没有太大希望:(