通过C#设置默认打印机的属性窗口中 [英] Setting the Properties of the Default Printer in windows through C#

查看:347
本文介绍了通过C#设置默认打印机的属性窗口中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想改变默认打印机在C#中的设置(例如份数页面大小,从 - 转到第页等)

I want to change the settings of Default printer in C#(e.g Copies,Page Size,From - To Pages etc.)

推荐答案

你会希望在的 PrinterSettings 的类。这个类有副本, 纸张尺寸和的打印范围,中(在您指定的设置)许多其他问题。

You're going to want to check out the documentation on the PrinterSettings Class. This class has properties for Copies, Paper Sizes, and Print Range, (the settings you specified) among many others.

System.Drawing.Printing 命名空间页面还提供了有关打印的信息像样的数目。

The System.Drawing.Printing Namespace page also provides a decent amount of information related to printing.

这篇关于通过C#设置默认打印机的属性窗口中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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