【问题标题】:PrintDialog does not pull paper size of printer set in windows if printer not default如果打印机不是默认设置,PrintDialog 不会拉取 Windows 中设置的打印机的纸张大小
【发布时间】:2018-06-20 16:44:54
【问题描述】:

我的打印机需要与驱动程序的默认尺寸不同的纸张尺寸。这在 Windows 中已正确配置。当我拨打PrintDialog 并选择这台打印机并且它是不是默认的 打印机时,纸张尺寸不正确。如果打印机是默认打印机,则选择正确的纸张尺寸。

背景:操作系统:Windows 10 家庭版 1803,内部版本 17134.112 打印机: 爱普生 TM-T6000

【问题讨论】:

    标签: c# printing printdialog


    【解决方案1】:

    想出了一个方法,不是最好的,但也是一种方法。创建一个PrintDialog 以获取打印机名称,然后创建第二个PrintDialog 并将PrintQueue 从第一个设置为打印机。

    【讨论】:

      猜你喜欢
      • 2014-03-16
      • 1970-01-01
      • 2010-11-13
      • 2013-09-18
      • 2023-04-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多