设置页面大小运行时 [英] set page size runtime

查看:98
本文介绍了设置页面大小运行时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在显示报告和打印时将页面尺寸设置为相同的尺寸.用户不需要选择页面.
我制作了一个应用程序,该应用程序以15"x 12"的纸张尺寸显示报告,其他尺寸为10"x 12"的纸张显示.由于默认打印机不支持此纸张尺寸,因此该报告以另一台PC上的字母"尺寸显示.
并且我必须在打印对话框中手动选择纸张尺寸以进行打印.

I want to set the page size at the time of displaying the report and the printing in the same size. user do not need to select the page.
I had made an application that displays the report in the paper size of 15" x 12" and other of 10" x 12" . the report is displayed on "Letter" size on other pc because the default printer not support this paper size.
and i have to select paper size manually in print dialog for printing.

推荐答案

没有尝试示例,但是尝试一下,看看是否可以找到您要查找的内容.之后

点击我
not tried out the examples, but give this a try to see if you can find what your after

clickey me


这篇关于设置页面大小运行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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