打印机 GUI 工具,可以通过此命令弹出打印队列窗口。
1用法: rundll32 printui.dll,PrintUIEntry [options] [@commandfile]
2 /a[file] 二进制文件名
3 /b[name] 基本打印机名
4 /c[name] 如果操作在远程机器上,unc 机器名
5 /dl 删除本地打印机
6 /dn 删除网络打印机连接
7 /dd 删除打印机驱动程序
8 /e 显示打印首选项
9 /f[file] inf 文件或输出文件
10 /F[file] 使用 /f 指定的 INF 文件可能依赖的 INF 文件的位置
11 /ga 添加每个机器打印机连接(用户登录时此连接将传播到用户)
12 /ge 枚举每个机器打印机连接
13 /gd 删除每个机器打印机连接(用户登录时此连接将被删除)
14 /h[arch] 驱动程序体系结构,为下列之一: x86 或 x64 或 Itanium
15 /ia 用 INF 文件安装打印机驱动程序
16 /id 用添加打印机驱动程序向导安装打印机驱动程序
17 /if 用 INF 文件安装打印机
18 /ii 用带 INF 文件的添加打印机向导安装打印机
19 /il 用添加打印机向导安装打印机
20 /im 使用添加打印机向导安装打印机(跳过网络列出的打印机)
21 /in 添加网络打印机连接
22 /ip 使用网络打印机安装向导安装打印机
23 /j[provider] 打印提供程序名称
24 /k 安装打印机时将测试页打印到指定打印机,不能与命令组合使用
25 /l[path] 打印机驱动程序源路径
26 /m[model] 打印机驱动程序型号名称
27 /n[name] 打印机名称
28 /o 显示打印机队列视图
29 /p 显示打印机属性
30 /q 安静模式,不显示错误消息
31 /r[port] 端口名称
32 /s 显示服务器属性
33 /Ss 将打印机设置存储到文件
34 /Sr 从文件还原打印机设置
35 存储或还原必须放在命令末尾的打印机设置选项标志:
36 2 PRINTER_INFO_2
37 7 PRINTER_INFO_7
38 c 颜色配置文件
39 d PrinterData
40 s 安全描述符
41 g 全局 DevMode
42 m 最低设置
43 u 用户 DevMode
44 r 解决名称冲突
45 f 强制使用名称
46 p 解析端口
47 i 驱动程序名称冲突
48 /u 使用现有打印机驱动程序(如果已安装)
49 /t[#] 起始的从零开始的索引页
50 /v[version] 驱动程序版本,为下列之一:“类型 2 - 内核模式”或“类型 3 - 用户模式”
51 /w 如果在 inf 中找不到指定的驱动程序,则提示用户找一个驱动程序
52 /y 将打印机设置为默认打印机
53 /Xg 获取打印机设置
54 /Xs 设置打印机设置
55 /z 不自动共享此打印机
56 /Y 不自动生成打印机名称
57 /K 更改 /h 的含义,使其接受 2、3、4 (分别代表 x86、x64 或 Itanium),并更改 /v 的含义,使其接受 3 (代表“类型 3 - 用户模式”)
58 /Z 共享此打印机,只能与 /if 选项一起使用
59 /? 提供此消息的帮助
60 @[file] 命令行参数文件
61 /Mw[message] 提交命令之前显示警告消息
62 /Mq[message] 提交命令之前显示确认消息
63 /W[flags] 指定向导(用于 APW 和 APDW)的标志和开关
64 r 使向导可以从上一页重新启动
65 /G[flags] 指定全局标志和开关
66 w 禁止显示安装驱动程序警告 UI (超安静模式)
67 /R 强制使用所选驱动程序替换现有驱动程序
68
69例如:
70 运行服务器属性:
71rundll32 printui.dll,PrintUIEntry /s /t1 /c\\machine
72 运行打印机属性:
73rundll32 printui.dll,PrintUIEntry /p /n\\machine\printer
74 本地运行添加打印机向导:
75rundll32 printui.dll,PrintUIEntry /il
76 在 \\machine:
77rundll32 printui.dll,PrintUIEntry /im /c\\machine 上运行添加打印机向导
78 运行队列查看:
79rundll32 printui.dll,PrintUIEntry /o /n\\machine\printer
80 运行 INF 安装:
81rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /f c:\infpath\infFile.inf /r "lpt1:" /m "Brother DCP-128C"
82 运行 INF 安装(具有 INF 依赖关系)。在此示例中,prnbr002.inf 依赖于 ntprint.inf
83rundll32 printui.dll, PrintUIEntry /ia /m "Brother DCP-128C" /K /h x64 /v 3 /f "c:\infpath\prnbr002.inf" /F "c:\infpath\ntprint.inf"
84 使用 INF 运行添加打印机向导:
85rundll32 printui.dll,PrintUIEntry /ii /f c:\infpath\infFile.inf
86 使用内置打印机驱动程序添加打印机:
87rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /r "lpt1:" /m "Brother DCP-128C"
88 添加每个机器打印机连接(用户登录时此连接将传播到用户):
89rundll32 printui.dll,PrintUIEntry /ga /c\\machine /n\\machine\printer /j"LanMan Print Services"
90 删除每个机器打印机连接(用户登录时此连接将被删除):
91rundll32 printui.dll,PrintUIEntry /gd /c\\machine /n\\machine\printer
92 枚举每个机器打印机连接:
93rundll32 printui.dll,PrintUIEntry /ge /c\\machine
94 使用 INF 添加打印机驱动程序:
95rundll32 printui.dll,PrintUIEntry /ia /c\\machine /m "Brother DCP-128C" /h "x86" /v "Type 3 - User Mode" /f c:\infpath\infFile.inf
96 使用 INF 添加打印机驱动程序:
97rundll32 printui.dll,PrintUIEntry /ia /K /c\\machine /m "Brother DCP-128C" /h "x86" /v 3
98 添加内置打印机驱动程序:
99rundll32 printui.dll,PrintUIEntry /ia /c\\machine /m "Brother DCP-128C" /h "Intel" /v "Type 3 - Kernel Mode"
100 删除打印机驱动程序:
101rundll32 printui.dll,PrintUIEntry /dd /c\\machine /m "Brother DCP-128C" /h "x86" /v "Type 3 - User Mode"
102 删除打印机驱动程序:
103rundll32 printui.dll,PrintUIEntry /dd /K /c\\machine /m "Brother DCP-128C" /h "x86" /v 3
104 将打印机设置为默认打印机:
105rundll32 printui.dll,PrintUIEntry /y /n "printer"
106 设置打印机注解:
107rundll32 printui.dll,PrintUIEntry /Xs /n "printer" comment "My Cool Printer"
108 取得打印机设置:
109rundll32 printui.dll,PrintUIEntry /Xg /n "printer"
110 取得文件中的打印机设置保存结果:
111rundll32 printui.dll,PrintUIEntry /f "results.txt" /Xg /n "printer"
112 设置打印机设置命令使用:
113rundll32 printui.dll,PrintUIEntry /Xs /n "printer" ?
114 将所有打印机设置存入一个文件:
115rundll32 printui.dll,PrintUIEntry /Xs /n "printer" ?
116 从一个文件还原所有打印机设置:
117rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat"
118 将二级打印机信息存入一个文件:
119rundll32 printui.dll,PrintUIEntry /Ss /n "printer" /a "file.dat" 2
120 从一个文件还原打印机安全描述符:
121rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" s
122 从一个文件还原打印机全局 devmode 和打印机数据:
123rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" g d
124 从文件最少设置还原并分析端口名:
125rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" m p
126 启用打印机的客户端呈现:
127rundll32 printui.dll,PrintUIEntry /Xs /n"printer" ClientSideRender enabled
128 禁用打印机的客户端呈现:
129rundll32 printui.dll,PrintUIEntry /Xs /n"printer" ClientSideRender disabled
1rundll32 printui.dll,PrintUIEntry /o /n"Microsoft XPS Document Writer"
1rundll32 printui.dll,PrintUIEntry /y /n "Microsoft XPS Document Writer"
1rundll32 printui.dll,PrintUIEntry /p /n\\machine\printer
1# 打印机的名称
2Name=Microsoft XPS Document Writer
3# 打印机的简短说明
4Caption=Microsoft XPS Document Writer
5# 系统上打印机的唯一标识符
6DeviceID=Microsoft XPS Document Writer
7# 打印队列的注释
8Comment=26 楼软件部打印机
9# 是否为默认打印机
10Default=TRUE
11# 直接连接到计算机
12Local=FALSE
13# 是否为网络打印机
14Network=TRUE
15# 如果为 TRUE,则打印机可以双向打印
16EnableBIDI=TRUE
17HorizontalResolution=600
18VerticalResolution=600
19# 打印速率(每分钟的平均页数)打印机可以生成输出。
20AveragePagesPerMinute=0
21# 打印机功能数组
22Capabilities={4,2,3,5}
23# 打印机功能数组中对应打印机功能的详细说明
24CapabilityDescriptions={"Copies","Color","Duplex","Collate"}
25# 打印机支持的纸张类型数组
26PaperSizesSupported={7,8,1,22,23,11,1,1,1,1,55,1,1,1,1,1,1,1}
27# 打印机支持的纸张大小数组
28PrinterPaperNames={"Letter","Legal","Executive","A4","A5","10 号信封","DL 信封","C5 信封","B5 信封","Monarch 信封","B5 (JIS)","B5 (ISO)","A6","双面明信片","明信片","8.5x13","16K",""}
29# 当前状态
30# 正常 ("OK")
31# 错误 ("Error")
32# 降级 ("Degraded")
33# 未知 ("Unknown")
34# 预处理失败 ("Pred Fail")
35# 开始 ("Starting")
36# 停止 ("Stopping")
37# 服务 ("Service")
38# 压力 ("Stressed")
39# 不恢复 ("NonRecover")
40# 没有联络 ("No Contact")
41# 失去通信 ("Lost Comm")
42Status=Unknown
43# 打印机的状态信息
44# Other (1) - 其他
45# Unknown (2) - 未知
46# Idle (3) - 空闲,有关详细信息,请参阅下面的“备注”部分
47# Printing (4) - 正在打印
48# Warmup (5) - 准备中
49# Stopped Printing (6) - 已停止打印
50# Offline (7) - 脱机
51PrinterStatus=3
52# 打印机状态信息
53# 1 (0x1) - 其他
54# 2 (0x2) - 未知
55# 3 (0x3) - 空闲
56# 4 (0x4) - 打印
57# 5 (0x5) - 热身
58# 6 (0x6) - 已停止打印
59# 7 - 脱机
60# 8 (0x8) - 已暂停
61# 9 (0x9) - 错误
62# 10 (0xA) - 忙碌
63# 11 (0xB) - 不可用
64# 12 (0xC) - 等待
65# 13 (0xD) - 正在处理
66# 14 (0xE) - 初始化
67# 15 - 省电
68# 16 (0x10) - 挂起删除
69# 17 (0x11) - I/O 活动
70# 18 (0x12) - 手动送纸
71ExtendedPrinterStatus=2
72# 打印机错误信息
73# Unknown (0) - 未知
74# Other (1) - 其他
75# No Error (2) - 无错误
76# Low Paper (3) - 纸张不足
77# No Paper (4) - 缺纸
78# Low Toner (5) - 墨粉不足
79# No Toner (6) - 无墨粉
80# Door Open (7) - 机盖未关
81# Jammed (8) - 塞纸
82# Offline (9) - 脱机
83# Service Requested (10) - 需要维修
84# Output Bin Full (11) - 出纸盒已满
85DetectedErrorState=0
86# 报告标准错误信息
87# 0 (0x0) - 未知
88# 1 (0x1) - 其他
89# 2 (0x2) - 无错误
90# 3 (0x3) - 纸张不足
91# 4 (0x4) - 缺纸
92# 5 (0x5) - 墨粉不足
93# 6 (0x6) - 无墨粉
94# 7 (0x7) - 机盖未关
95# 8 (0x8) - 塞纸
96# 9 (0x9) - 需要维修
97# 10 (0xA) - 出纸盒已满
98# 11 (0xB) - 纸张问题
99# 12 (0xC) - 无法打印页面
100# 13 (0xD) - 需要用户干预
101# 14 (0xE) - 内存不足
102# 15 (0xF) - 服务器未知
103ExtendedDetectedErrorState=0
1wmic printer where Name='Microsoft XPS Document Writer' call setDefaultPrinter
1wmic printer get /value
1Attributes=65
2Availability=
3AvailableJobSheets=
4AveragePagesPerMinute=0
5Capabilities={4,2,3,5}
6CapabilityDescriptions={"Copies","Color","Duplex","Collate"}
7Caption=导出为WPS PDF
8CharSetsSupported=
9Comment=
10ConfigManagerErrorCode=
11ConfigManagerUserConfig=
12CreationClassName=Win32_Printer
13CurrentCapabilities=
14CurrentCharSet=
15CurrentLanguage=
16CurrentMimeType=
17CurrentNaturalLanguage=
18CurrentPaperType=
19Default=FALSE
20DefaultCapabilities=
21DefaultCopies=
22DefaultLanguage=
23DefaultMimeType=
24DefaultNumberUp=
25DefaultPaperType=
26DefaultPriority=0
27Description=
28DetectedErrorState=0
29DeviceID=导出为WPS PDF
30Direct=FALSE
31DoCompleteFirst=FALSE
32DriverName=Kingsoft Virtual Printer Driver
33EnableBIDI=FALSE
34EnableDevQueryPrint=FALSE
35ErrorCleared=
36ErrorDescription=
37ErrorInformation=
38ExtendedDetectedErrorState=0
39ExtendedPrinterStatus=2
40Hidden=FALSE
41HorizontalResolution=600
42InstallDate=
43JobCountSinceLastReset=0
44KeepPrintedJobs=FALSE
45LanguagesSupported={2}
46LastErrorCode=
47Local=TRUE
48Location=
49MarkingTechnology=
50MaxCopies=
51MaxNumberUp=
52MaxSizeSupported=
53MimeTypesSupported=
54Name=导出为WPS PDF
55NaturalLanguagesSupported=
56Network=FALSE
57PaperSizesSupported={7,7,1,1,8,1,1,21,22,1,23,54,55,1,1,1,1,7,15,11,1,1,1,4,5,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,49,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
58PaperTypesAvailable=
59Parameters=
60PNPDeviceID=
61PortName=Kingsoft Virtual Printer Port
62PowerManagementCapabilities=
63PowerManagementSupported=
64PrinterPaperNames={"信纸","小号信纸","Tabloid","Ledger","法律专用纸","Statement","Executive","A3","A4","A4 小号","A5","B4 (JIS)","B5 (JIS)","Folio","Quarto","10x14","11x17","便笺","信封 #9","信封 #10","信封 #11","信封 #12","信封 #14","C size sheet","D size sheet","E size sheet","信封 DL","信封 C5","信封 C3","信封 C4","信封 C6","信封 C65","信封 B4","信封 B5","信封 B6","信封","信封 Monarch","6 3/4 信封","美国标准 Fanfold","德国标准 Fanfold","德国法律专用纸 Fanfold","B4 (ISO)","日式明信片","9x11","10x11","15x11","信封邀请函","特大信纸","特大法律专用纸","Tabloid 特大","A4 特大","信纸横向","A4 横向","特大信纸横向","Super A","Super B","信纸加大","A4 加大","A5 横向","B5 (JIS) 横向","A3 特大","A5 特大","B5 (ISO) 特大","A2","A3 横向","A3 特大横向","日式往返明信片","A6","日式信封 Kaku #2","日式信封 Kaku #3","日式信封 Chou #3","日式信封 Chou #4","信纸旋转","A3 旋转","A4 旋转","A5 旋转","B4 (JIS) 旋转","B5 (JIS) 旋转","日式明信片旋转","双层日式明信片旋转","A6 旋转","日式信封 Kaku #2 旋转","日式信封 Kaku #3 旋转","日式信封 Chou #3 旋转","日式信封 Chou #4 旋转","B6 (JIS)","B6 (JIS) 旋转","12x11","日式信封 You #4","日式信封 You #4 旋转","PRC 16K","PRC 32K","PRC 32K(Big)","PRC 信封 #1","PRC 信封 #2","PRC 信封 #3","PRC 信封 #4","PRC 信封 #5","PRC 信封 #6","PRC 信封 #7","PRC 信封 #8","PRC 信封 #9","PRC 信封 #10","PRC 16K 旋转","PRC 32K 旋转","PRC 32K(大)旋转","PRC 信封 #1 旋转","PRC 信封 #2 旋转","PRC 信封 #3 旋转","PRC 信封 #4 旋转","PRC 信封 #5 旋转","PRC 信封 #6 旋转","PRC 信封 #7 旋转","PRC 信封 #8 旋转","PRC 信封 #9 旋转","PRC 信封 #10 旋转"}
65PrinterState=0
66PrinterStatus=3
67PrintJobDataType=NT EMF 1.006
68PrintProcessor=winprint
69Priority=1
70Published=FALSE
71Queued=TRUE
72RawOnly=FALSE
73SeparatorFile=
74ServerName=
75Shared=FALSE
76ShareName=
77SpoolEnabled=TRUE
78StartTime=
79Status=Unknown
80StatusInfo=
81SystemCreationClassName=Win32_ComputerSystem
82SystemName=YXKFDA8
83TimeOfLastReset=
84UntilTime=
85VerticalResolution=600
86WorkOffline=FALSE
87
88
89Attributes=580
90Availability=
91AvailableJobSheets=
92AveragePagesPerMinute=0
93Capabilities={4,2,5}
94CapabilityDescriptions={"Copies","Color","Collate"}
95Caption=Microsoft XPS Document Writer
96CharSetsSupported=
97Comment=
98ConfigManagerErrorCode=
99ConfigManagerUserConfig=
100CreationClassName=Win32_Printer
101CurrentCapabilities=
102CurrentCharSet=
103CurrentLanguage=
104CurrentMimeType=
105CurrentNaturalLanguage=
106CurrentPaperType=
107Default=TRUE
108DefaultCapabilities=
109DefaultCopies=
110DefaultLanguage=
111DefaultMimeType=
112DefaultNumberUp=
113DefaultPaperType=
114DefaultPriority=0
115Description=
116DetectedErrorState=0
117DeviceID=Microsoft XPS Document Writer
118Direct=FALSE
119DoCompleteFirst=TRUE
120DriverName=Microsoft XPS Document Writer v4
121EnableBIDI=FALSE
122EnableDevQueryPrint=FALSE
123ErrorCleared=
124ErrorDescription=
125ErrorInformation=
126ExtendedDetectedErrorState=0
127ExtendedPrinterStatus=2
128Hidden=FALSE
129HorizontalResolution=600
130InstallDate=
131JobCountSinceLastReset=0
132KeepPrintedJobs=FALSE
133LanguagesSupported={48}
134LastErrorCode=
135Local=TRUE
136Location=
137MarkingTechnology=
138MaxCopies=
139MaxNumberUp=
140MaxSizeSupported=
141MimeTypesSupported=
142Name=Microsoft XPS Document Writer
143NaturalLanguagesSupported=
144Network=FALSE
145PaperSizesSupported={7,7,1,1,8,1,1,21,22,1,23,54,55,1,1,1,1,7,15,11,1,1,1,4,5,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,49,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
146PaperTypesAvailable=
147Parameters=
148PNPDeviceID=
149PortName=PORTPROMPT:
150PowerManagementCapabilities=
151PowerManagementSupported=
152PrinterPaperNames={"Letter","Letter Small","Tabloid","Ledger","Legal","Statement","Executive","A3","A4","A4 Small","A5","B4 (JIS)","B5 (JIS)","Folio","Quarto","10×14","11×17","Note","Envelope #9","Envelope #10","Envelope #11","Envelope #12","Envelope #14","C size sheet","D size sheet","E size sheet","Envelope DL","Envelope C5","Envelope C3","Envelope C4","Envelope C6","Envelope C65","Envelope B4","Envelope B5","Envelope B6","Envelope","Envelope Monarch","6 3/4 Envelope","US Std Fanfold","German Std Fanfold","German Legal Fanfold","B4 (ISO)","Japanese Postcard","9×11","10×11","15×11","Envelope Invite","Letter Extra","Legal Extra","A4 Extra","Letter Transverse","A4 Transverse","Letter Extra Transverse","Super A","Super B","Letter Plus","A4 Plus","A5 Transverse","B5 (JIS) Transverse","A3 Extra","A5 Extra","B5 (ISO) Extra","A2","A3 Transverse","A3 Extra Transverse","Japanese Double Postcard","A6","Japanese Envelope Kaku #2","Japanese Envelope Kaku #3","Japanese Envelope Chou #3","Japanese Envelope Chou #4","Letter Rotated","A3 Rotated","A4 Rotated","A5 Rotated","B4 (JIS) Rotated","B5 (JIS) Rotated","Japanese Postcard Rotated","Double Japan Postcard Rotated","A6 Rotated","Japan Envelope Kaku #2 Rotated","Japan Envelope Kaku #3 Rotated","Japan Envelope Chou #3 Rotated","Japan Envelope Chou #4 Rotated","B6 (JIS)","B6 (JIS) Rotated","12×11","Japan Envelope You #4","Japan Envelope You #4 Rotated","PRC Envelope #1","PRC Envelope #3","PRC Envelope #4","PRC Envelope #5","PRC Envelope #6","PRC Envelope #7","PRC Envelope #8","PRC Envelope #9","PRC Envelope #10","PRC Envelope #1 Rotated","PRC Envelope #3 Rotated","PRC Envelope #4 Rotated","PRC Envelope #5 Rotated","PRC Envelope #6 Rotated","PRC Envelope #7 Rotated","PRC Envelope #8 Rotated","PRC Envelope #9 Rotated","User Defined Size"}
153PrinterState=0
154PrinterStatus=3
155PrintJobDataType=RAW
156PrintProcessor=winprint
157Priority=1
158Published=FALSE
159Queued=FALSE
160RawOnly=FALSE
161SeparatorFile=
162ServerName=
163Shared=FALSE
164ShareName=
165SpoolEnabled=TRUE
166StartTime=
167Status=Unknown
168StatusInfo=
169SystemCreationClassName=Win32_ComputerSystem
170SystemName=YXKFDA8
171TimeOfLastReset=
172UntilTime=
173VerticalResolution=600
174WorkOffline=FALSE
175
176
177Attributes=576
178Availability=
179AvailableJobSheets=
180AveragePagesPerMinute=0
181Capabilities={4,2}
182CapabilityDescriptions={"Copies","Color"}
183Caption=Microsoft Print To PDF
184CharSetsSupported=
185Comment=
186ConfigManagerErrorCode=
187ConfigManagerUserConfig=
188CreationClassName=Win32_Printer
189CurrentCapabilities=
190CurrentCharSet=
191CurrentLanguage=
192CurrentMimeType=
193CurrentNaturalLanguage=
194CurrentPaperType=
195Default=FALSE
196DefaultCapabilities=
197DefaultCopies=
198DefaultLanguage=
199DefaultMimeType=
200DefaultNumberUp=
201DefaultPaperType=
202DefaultPriority=0
203Description=
204DetectedErrorState=0
205DeviceID=Microsoft Print To PDF
206Direct=FALSE
207DoCompleteFirst=TRUE
208DriverName=Microsoft Print To PDF
209EnableBIDI=FALSE
210EnableDevQueryPrint=FALSE
211ErrorCleared=
212ErrorDescription=
213ErrorInformation=
214ExtendedDetectedErrorState=0
215ExtendedPrinterStatus=2
216Hidden=FALSE
217HorizontalResolution=600
218InstallDate=
219JobCountSinceLastReset=0
220KeepPrintedJobs=FALSE
221LanguagesSupported={48}
222LastErrorCode=
223Local=TRUE
224Location=
225MarkingTechnology=
226MaxCopies=
227MaxNumberUp=
228MaxSizeSupported=
229MimeTypesSupported=
230Name=Microsoft Print To PDF
231NaturalLanguagesSupported=
232Network=FALSE
233PaperSizesSupported={7,1,8,1,1,21,22,23,54,55}
234PaperTypesAvailable=
235Parameters=
236PNPDeviceID=
237PortName=PORTPROMPT:
238PowerManagementCapabilities=
239PowerManagementSupported=
240PrinterPaperNames={"Letter","Tabloid","Legal","Statement","Executive","A3","A4","A5","B4 (JIS)","B5 (JIS)"}
241PrinterState=0
242PrinterStatus=3
243PrintJobDataType=RAW
244PrintProcessor=winprint
245Priority=1
246Published=FALSE
247Queued=FALSE
248RawOnly=FALSE
249SeparatorFile=
250ServerName=
251Shared=FALSE
252ShareName=
253SpoolEnabled=TRUE
254StartTime=
255Status=Unknown
256StatusInfo=
257SystemCreationClassName=Win32_ComputerSystem
258SystemName=YXKFDA8
259TimeOfLastReset=
260UntilTime=
261VerticalResolution=600
262WorkOffline=FALSE
263
264
265Attributes=16448
266Availability=
267AvailableJobSheets=
268AveragePagesPerMinute=0
269Capabilities={2,3}
270CapabilityDescriptions={"Color","Duplex"}
271Caption=Fax
272CharSetsSupported=
273Comment=
274ConfigManagerErrorCode=
275ConfigManagerUserConfig=
276CreationClassName=Win32_Printer
277CurrentCapabilities=
278CurrentCharSet=
279CurrentLanguage=
280CurrentMimeType=
281CurrentNaturalLanguage=
282CurrentPaperType=
283Default=FALSE
284DefaultCapabilities=
285DefaultCopies=
286DefaultLanguage=
287DefaultMimeType=
288DefaultNumberUp=
289DefaultPaperType=
290DefaultPriority=0
291Description=
292DetectedErrorState=0
293DeviceID=Fax
294Direct=FALSE
295DoCompleteFirst=FALSE
296DriverName=Microsoft Shared Fax Driver
297EnableBIDI=FALSE
298EnableDevQueryPrint=FALSE
299ErrorCleared=
300ErrorDescription=
301ErrorInformation=
302ExtendedDetectedErrorState=0
303ExtendedPrinterStatus=2
304Hidden=FALSE
305HorizontalResolution=200
306InstallDate=
307JobCountSinceLastReset=0
308KeepPrintedJobs=FALSE
309LanguagesSupported=
310LastErrorCode=
311Local=TRUE
312Location=
313MarkingTechnology=
314MaxCopies=
315MaxNumberUp=
316MaxSizeSupported=
317MimeTypesSupported=
318Name=Fax
319NaturalLanguagesSupported=
320Network=FALSE
321PaperSizesSupported={7,7,8,1,1,22,1,23,55,1,1,7,15,11,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
322PaperTypesAvailable=
323Parameters=
324PNPDeviceID=
325PortName=SHRFAX:
326PowerManagementCapabilities=
327PowerManagementSupported=
328PrinterPaperNames={"信纸","小号信纸","法律专用纸","Statement","Executive","A4","A4 小号","A5","B5 (JIS)","Folio","Quarto","便笺","信封 #9","信封 #10","信封 #11","信封 #12","信封 #14","信封 DL","信封 C5","信封 C6","信封 C65","信封 B5","信封 B6","信封","信封 Monarch","6 3/4 信封","德国标准 Fanfold"," 德国法律专用纸 Fanfold","日式明信片","Reserved48","Reserved49","信纸横向","A4 横向","信纸加大","A4 加大","A5 横向","B5 (JIS) 横向","A5 特大","B5 (ISO) 特大","日式往返明信片","A6","日式信封 Kaku #3","日式信封 Chou #3","日式信封 Chou #4","A5 旋转","日式明信片旋转","双层日式明信片旋转","A6 旋转","日式 信封 Chou #4 旋转","B6 (JIS)","B6 (JIS) 旋转","日式信封 You #4","PRC 16K","PRC 32K","PRC 32K(Big)","PRC 信封 #1","PRC 信封 #2","PRC 信封 #3","PRC 信封 #4","PRC 信封 #5","PRC 信封 #6","PRC 信封 #7","PRC 信封 #8","PRC 32K 旋转","PRC 32K(大)旋转","PRC 信封 #1 旋转","PRC 信封 #2 旋转","PRC 信封 #3 旋转","PRC 信封 #4 旋转","对折纸","Envelope Monarch"}
329PrinterState=0
330PrinterStatus=3
331PrintJobDataType=RAW
332PrintProcessor=winprint
333Priority=1
334Published=FALSE
335Queued=FALSE
336RawOnly=FALSE
337SeparatorFile=
338ServerName=
339Shared=FALSE
340ShareName=
341SpoolEnabled=TRUE
342StartTime=
343Status=Unknown
344StatusInfo=
345SystemCreationClassName=Win32_ComputerSystem
346SystemName=YXKFDA8
347TimeOfLastReset=
348UntilTime=
349VerticalResolution=200
350WorkOffline=FALSE
1wmic printer get Name,Default,Local,Network,EnableBIDI,HorizontalResolution,VerticalResolution,CapabilityDescriptions,PrinterPaperNames /value
1CapabilityDescriptions={"Copies","Color","Duplex","Collate"}
2Default=FALSE
3EnableBIDI=FALSE
4HorizontalResolution=600
5Local=TRUE
6Name=导出为WPS PDF
7Network=FALSE
8PrinterPaperNames={"信纸","小号信纸","Tabloid","Ledger","法律专用纸","Statement","Executive","A3","A4","A4 小号","A5","B4 (JIS)","B5 (JIS)","Folio","Quarto","10x14","11x17","便笺","信封 #9","信封 #10","信封 #11","信封 #12","信封 #14","C size sheet","D size sheet","E size sheet","信封 DL","信封 C5","信封 C3","信封 C4","信封 C6","信封 C65","信封 B4","信封 B5","信封 B6","信封","信封 Monarch","6 3/4 信封","美国标准 Fanfold","德国标准 Fanfold","德国法律专用纸 Fanfold","B4 (ISO)","日式明信片","9x11","10x11","15x11","信封邀请函","特大信纸","特大法律专用纸","Tabloid 特大","A4 特大","信纸横向","A4 横向","特大信纸横向","Super A","Super B","信纸加大","A4 加大","A5 横向","B5 (JIS) 横向","A3 特大","A5 特大","B5 (ISO) 特大","A2","A3 横向","A3 特大横向","日式往返明信片","A6","日式信封 Kaku #2","日式信封 Kaku #3","日式信封 Chou #3","日式信封 Chou #4","信纸旋转","A3 旋转","A4 旋转","A5 旋转","B4 (JIS) 旋转","B5 (JIS) 旋转","日式明信片旋转","双层日式明信片旋转","A6 旋转","日式信封 Kaku #2 旋转","日式信封 Kaku #3 旋转","日式信封 Chou #3 旋转","日式信封 Chou #4 旋转","B6 (JIS)","B6 (JIS) 旋转","12x11","日式信封 You #4","日式信封 You #4 旋转","PRC 16K","PRC 32K","PRC 32K(Big)","PRC 信封 #1","PRC 信封 #2","PRC 信封 #3","PRC 信封 #4","PRC 信封 #5","PRC 信封 #6","PRC 信封 #7","PRC 信封 #8","PRC 信封 #9","PRC 信封 #10","PRC 16K 旋转","PRC 32K 旋转","PRC 32K(大)旋转","PRC 信封 #1 旋转","PRC 信封 #2 旋转","PRC 信封 #3 旋转","PRC 信封 #4 旋转","PRC 信封 #5 旋转","PRC 信封 #6 旋转","PRC 信封 #7 旋转","PRC 信封 #8 旋转","PRC 信封 #9 旋转","PRC 信封 #10 旋转"}
9VerticalResolution=600
10
11
12CapabilityDescriptions={"Copies","Color","Collate"}
13Default=TRUE
14EnableBIDI=FALSE
15HorizontalResolution=600
16Local=TRUE
17Name=Microsoft XPS Document Writer
18Network=FALSE
19PrinterPaperNames={"Letter","Letter Small","Tabloid","Ledger","Legal","Statement","Executive","A3","A4","A4 Small","A5","B4 (JIS)","B5 (JIS)","Folio","Quarto","10×14","11×17","Note","Envelope #9","Envelope #10","Envelope #11","Envelope #12","Envelope #14","C size sheet","D size sheet","E size sheet","Envelope DL","Envelope C5","Envelope C3","Envelope C4","Envelope C6","Envelope C65","Envelope B4","Envelope B5","Envelope B6","Envelope","Envelope Monarch","6 3/4 Envelope","US Std Fanfold","German Std Fanfold","German Legal Fanfold","B4 (ISO)","Japanese Postcard","9×11","10×11","15×11","Envelope Invite","Letter Extra","Legal Extra","A4 Extra","Letter Transverse","A4 Transverse","Letter Extra Transverse","Super A","Super B","Letter Plus","A4 Plus","A5 Transverse","B5 (JIS) Transverse","A3 Extra","A5 Extra","B5 (ISO) Extra","A2","A3 Transverse","A3 Extra Transverse","Japanese Double Postcard","A6","Japanese Envelope Kaku #2","Japanese Envelope Kaku #3","Japanese Envelope Chou #3","Japanese Envelope Chou #4","Letter Rotated","A3 Rotated","A4 Rotated","A5 Rotated","B4 (JIS) Rotated","B5 (JIS) Rotated","Japanese Postcard Rotated","Double Japan Postcard Rotated","A6 Rotated","Japan Envelope Kaku #2 Rotated","Japan Envelope Kaku #3 Rotated","Japan Envelope Chou #3 Rotated","Japan Envelope Chou #4 Rotated","B6 (JIS)","B6 (JIS) Rotated","12×11","Japan Envelope You #4","Japan Envelope You #4 Rotated","PRC Envelope #1","PRC Envelope #3","PRC Envelope #4","PRC Envelope #5","PRC Envelope #6","PRC Envelope #7","PRC Envelope #8","PRC Envelope #9","PRC Envelope #10","PRC Envelope #1 Rotated","PRC Envelope #3 Rotated","PRC Envelope #4 Rotated","PRC Envelope #5 Rotated","PRC Envelope #6 Rotated","PRC Envelope #7 Rotated","PRC Envelope #8 Rotated","PRC Envelope #9 Rotated","User Defined Size"}
20VerticalResolution=600
21
22
23CapabilityDescriptions={"Copies","Color"}
24Default=FALSE
25EnableBIDI=FALSE
26HorizontalResolution=600
27Local=TRUE
28Name=Microsoft Print To PDF
29Network=FALSE
30PrinterPaperNames={"Letter","Tabloid","Legal","Statement","Executive","A3","A4","A5","B4 (JIS)","B5 (JIS)"}
31VerticalResolution=600
32
33
34CapabilityDescriptions={"Color","Duplex"}
35Default=FALSE
36EnableBIDI=FALSE
37HorizontalResolution=200
38Local=TRUE
39Name=Fax
40Network=FALSE
41PrinterPaperNames={"信纸","小号信纸","法律专用纸","Statement","Executive","A4","A4 小号","A5","B5 (JIS)","Folio","Quarto","便笺","信封 #9","信封 #10","信封 #11","信封 #12","信封 #14","信封 DL","信封 C5","信封 C6","信封 C65","信封 B5","信封 B6","信封","信封 Monarch","6 3/4 信封","德国标准 Fanfold"," 德国法律专用纸 Fanfold","日式明信片","Reserved48","Reserved49","信纸横向","A4 横向","信纸加大","A4 加大","A5 横向","B5 (JIS) 横向","A5 特大","B5 (ISO) 特大","日式往返明信片","A6","日式信封 Kaku #3","日式信封 Chou #3","日式信封 Chou #4","A5 旋转","日式明信片旋转","双层日式明信片旋转","A6 旋转","日式 信封 Chou #4 旋转","B6 (JIS)","B6 (JIS) 旋转","日式信封 You #4","PRC 16K","PRC 32K","PRC 32K(Big)","PRC 信封 #1","PRC 信封 #2","PRC 信封 #3","PRC 信封 #4","PRC 信封 #5","PRC 信封 #6","PRC 信封 #7","PRC 信封 #8","PRC 32K 旋转","PRC 32K(大)旋转","PRC 信封 #1 旋转","PRC 信封 #2 旋转","PRC 信封 #3 旋转","PRC 信封 #4 旋转","对折纸","Envelope Monarch"}
42VerticalResolution=200
1wmic printer where "Default=TRUE" get /value
1Attributes=580
2Availability=
3AvailableJobSheets=
4AveragePagesPerMinute=0
5Capabilities={4,2,5}
6CapabilityDescriptions={"Copies","Color","Collate"}
7Caption=Microsoft XPS Document Writer
8CharSetsSupported=
9Comment=
10ConfigManagerErrorCode=
11ConfigManagerUserConfig=
12CreationClassName=Win32_Printer
13CurrentCapabilities=
14CurrentCharSet=
15CurrentLanguage=
16CurrentMimeType=
17CurrentNaturalLanguage=
18CurrentPaperType=
19Default=TRUE
20DefaultCapabilities=
21DefaultCopies=
22DefaultLanguage=
23DefaultMimeType=
24DefaultNumberUp=
25DefaultPaperType=
26DefaultPriority=0
27Description=
28DetectedErrorState=0
29DeviceID=Microsoft XPS Document Writer
30Direct=FALSE
31DoCompleteFirst=TRUE
32DriverName=Microsoft XPS Document Writer v4
33EnableBIDI=FALSE
34EnableDevQueryPrint=FALSE
35ErrorCleared=
36ErrorDescription=
37ErrorInformation=
38ExtendedDetectedErrorState=0
39ExtendedPrinterStatus=2
40Hidden=FALSE
41HorizontalResolution=600
42InstallDate=
43JobCountSinceLastReset=0
44KeepPrintedJobs=FALSE
45LanguagesSupported={48}
46LastErrorCode=
47Local=TRUE
48Location=
49MarkingTechnology=
50MaxCopies=
51MaxNumberUp=
52MaxSizeSupported=
53MimeTypesSupported=
54Name=Microsoft XPS Document Writer
55NaturalLanguagesSupported=
56Network=FALSE
57PaperSizesSupported={7,7,1,1,8,1,1,21,22,1,23,54,55,1,1,1,1,7,15,11,1,1,1,4,5,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,49,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
58PaperTypesAvailable=
59Parameters=
60PNPDeviceID=
61PortName=PORTPROMPT:
62PowerManagementCapabilities=
63PowerManagementSupported=
64PrinterPaperNames={"Letter","Letter Small","Tabloid","Ledger","Legal","Statement","Executive","A3","A4","A4 Small","A5","B4 (JIS)","B5 (JIS)","Folio","Quarto","10×14","11×17","Note","Envelope #9","Envelope #10","Envelope #11","Envelope #12","Envelope #14","C size sheet","D size sheet","E size sheet","Envelope DL","Envelope C5","Envelope C3","Envelope C4","Envelope C6","Envelope C65","Envelope B4","Envelope B5","Envelope B6","Envelope","Envelope Monarch","6 3/4 Envelope","US Std Fanfold","German Std Fanfold","German Legal Fanfold","B4 (ISO)","Japanese Postcard","9×11","10×11","15×11","Envelope Invite","Letter Extra","Legal Extra","A4 Extra","Letter Transverse","A4 Transverse","Letter Extra Transverse","Super A","Super B","Letter Plus","A4 Plus","A5 Transverse","B5 (JIS) Transverse","A3 Extra","A5 Extra","B5 (ISO) Extra","A2","A3 Transverse","A3 Extra Transverse","Japanese Double Postcard","A6","Japanese Envelope Kaku #2","Japanese Envelope Kaku #3","Japanese Envelope Chou #3","Japanese Envelope Chou #4","Letter Rotated","A3 Rotated","A4 Rotated","A5 Rotated","B4 (JIS) Rotated","B5 (JIS) Rotated","Japanese Postcard Rotated","Double Japan Postcard Rotated","A6 Rotated","Japan Envelope Kaku #2 Rotated","Japan Envelope Kaku #3 Rotated","Japan Envelope Chou #3 Rotated","Japan Envelope Chou #4 Rotated","B6 (JIS)","B6 (JIS) Rotated","12×11","Japan Envelope You #4","Japan Envelope You #4 Rotated","PRC Envelope #1","PRC Envelope #3","PRC Envelope #4","PRC Envelope #5","PRC Envelope #6","PRC Envelope #7","PRC Envelope #8","PRC Envelope #9","PRC Envelope #10","PRC Envelope #1 Rotated","PRC Envelope #3 Rotated","PRC Envelope #4 Rotated","PRC Envelope #5 Rotated","PRC Envelope #6 Rotated","PRC Envelope #7 Rotated","PRC Envelope #8 Rotated","PRC Envelope #9 Rotated","User Defined Size"}
65PrinterState=0
66PrinterStatus=3
67PrintJobDataType=RAW
68PrintProcessor=winprint
69Priority=1
70Published=FALSE
71Queued=FALSE
72RawOnly=FALSE
73SeparatorFile=
74ServerName=
75Shared=FALSE
76ShareName=
77SpoolEnabled=TRUE
78StartTime=
79Status=Unknown
80StatusInfo=
81SystemCreationClassName=Win32_ComputerSystem
82SystemName=YXKFDA8
83TimeOfLastReset=
84UntilTime=
85VerticalResolution=600
86WorkOffline=FALSE
1wmic printer where "Default=TRUE" get Name,Default,Local,Network,EnableBIDI,HorizontalResolution,VerticalResolution,CapabilityDescriptions,PrinterPaperNames /value
1CapabilityDescriptions={"Copies","Color","Collate"}
2Default=TRUE
3EnableBIDI=FALSE
4HorizontalResolution=600
5Local=TRUE
6Name=Microsoft XPS Document Writer
7Network=FALSE
8PrinterPaperNames={"Letter","Letter Small","Tabloid","Ledger","Legal","Statement","Executive","A3","A4","A4 Small","A5","B4 (JIS)","B5 (JIS)","Folio","Quarto","10×14","11×17","Note","Envelope #9","Envelope #10","Envelope #11","Envelope #12","Envelope #14","C size sheet","D size sheet","E size sheet","Envelope DL","Envelope C5","Envelope C3","Envelope C4","Envelope C6","Envelope C65","Envelope B4","Envelope B5","Envelope B6","Envelope","Envelope Monarch","6 3/4 Envelope","US Std Fanfold","German Std Fanfold","German Legal Fanfold","B4 (ISO)","Japanese Postcard","9×11","10×11","15×11","Envelope Invite","Letter Extra","Legal Extra","A4 Extra","Letter Transverse","A4 Transverse","Letter Extra Transverse","Super A","Super B","Letter Plus","A4 Plus","A5 Transverse","B5 (JIS) Transverse","A3 Extra","A5 Extra","B5 (ISO) Extra","A2","A3 Transverse","A3 Extra Transverse","Japanese Double Postcard","A6","Japanese Envelope Kaku #2","Japanese Envelope Kaku #3","Japanese Envelope Chou #3","Japanese Envelope Chou #4","Letter Rotated","A3 Rotated","A4 Rotated","A5 Rotated","B4 (JIS) Rotated","B5 (JIS) Rotated","Japanese Postcard Rotated","Double Japan Postcard Rotated","A6 Rotated","Japan Envelope Kaku #2 Rotated","Japan Envelope Kaku #3 Rotated","Japan Envelope Chou #3 Rotated","Japan Envelope Chou #4 Rotated","B6 (JIS)","B6 (JIS) Rotated","12×11","Japan Envelope You #4","Japan Envelope You #4 Rotated","PRC Envelope #1","PRC Envelope #3","PRC Envelope #4","PRC Envelope #5","PRC Envelope #6","PRC Envelope #7","PRC Envelope #8","PRC Envelope #9","PRC Envelope #10","PRC Envelope #1 Rotated","PRC Envelope #3 Rotated","PRC Envelope #4 Rotated","PRC Envelope #5 Rotated","PRC Envelope #6 Rotated","PRC Envelope #7 Rotated","PRC Envelope #8 Rotated","PRC Envelope #9 Rotated","User Defined Size"}
9VerticalResolution=600
1CommandType Name Version Source
2----------- ---- ------- ------
3Function Add-Printer 1.1 PrintManagement
4Function Add-PrinterDriver 1.1 PrintManagement
5Function Add-PrinterPort 1.1 PrintManagement
6Function Get-PrintConfiguration 1.1 PrintManagement
7Function Get-Printer 1.1 PrintManagement
8Function Get-PrinterDriver 1.1 PrintManagement
9Function Get-PrinterPort 1.1 PrintManagement
10Function Get-PrinterProperty 1.1 PrintManagement
11Function Get-PrintJob 1.1 PrintManagement
12Function Read-PrinterNfcTag 1.1 PrintManagement
13Function Remove-Printer 1.1 PrintManagement
14Function Remove-PrinterDriver 1.1 PrintManagement
15Function Remove-PrinterPort 1.1 PrintManagement
16Function Remove-PrintJob 1.1 PrintManagement
17Function Rename-Printer 1.1 PrintManagement
18Function Restart-PrintJob 1.1 PrintManagement
19Function Resume-PrintJob 1.1 PrintManagement
20Function Set-PrintConfiguration 1.1 PrintManagement
21Function Set-Printer 1.1 PrintManagement
22Function Set-PrinterProperty 1.1 PrintManagement
23Function Suspend-PrintJob 1.1 PrintManagement
24Function Write-PrinterNfcTag 1.1 PrintManagement
25Cmdlet Out-Printer 3.1.0.0 Microsoft.PowerShell.Utility
26Application EduPrintProv.exe 10.0.19... C:\Windows\system32\EduPrintProv.exe\
27Application print.exe 10.0.19... C:\Windows\system32\print.exe\
28Application printui.exe 10.0.19... C:\Windows\system32\printui.exe
1(New-Object -ComObject WScript.Network).SetDefaultPrinter('Microsoft XPS Document Writer')
1Get-Printer | Format-List
1Name : 导出为WPS PDF
2ComputerName :
3Type : Local
4ShareName :
5PortName : Kingsoft Virtual Printer Port
6DriverName : Kingsoft Virtual Printer Driver
7Location :
8Comment :
9SeparatorPageFile :
10PrintProcessor : winprint
11Datatype : NT EMF 1.006
12Shared : False
13Published : False
14DeviceType : Print
15PermissionSDDL :
16RenderingMode :
17KeepPrintedJobs : False
18Priority : 1
19DefaultJobPriority : 0
20StartTime : 0
21UntilTime : 0
22PrinterStatus : Normal
23JobCount : 0
24DisableBranchOfficeLogging :
25BranchOfficeOfflineLogSizeMB :
26WorkflowPolicy :
27
28Name : ToDesk Printer
29ComputerName :
30Type : Local
31ShareName :
32PortName : TDXPSPrinterPort
33DriverName : ToDesk Printer
34Location :
35Comment :
36SeparatorPageFile :
37PrintProcessor : winprint
38Datatype : RAW
39Shared : False
40Published : False
41DeviceType : Print
42PermissionSDDL :
43RenderingMode :
44KeepPrintedJobs : False
45Priority : 1
46DefaultJobPriority : 0
47StartTime : 0
48UntilTime : 0
49PrinterStatus : Normal
50JobCount : 0
51DisableBranchOfficeLogging :
52BranchOfficeOfflineLogSizeMB :
53WorkflowPolicy :
54
55Name : Microsoft XPS Document Writer
56ComputerName :
57Type : Local
58ShareName :
59PortName : PORTPROMPT:
60DriverName : Microsoft XPS Document Writer v4
61Location :
62Comment :
63SeparatorPageFile :
64PrintProcessor : winprint
65Datatype : RAW
66Shared : False
67Published : False
68DeviceType : Print
69PermissionSDDL :
70RenderingMode :
71KeepPrintedJobs : False
72Priority : 1
73DefaultJobPriority : 0
74StartTime : 0
75UntilTime : 0
76PrinterStatus : Normal
77JobCount : 0
78DisableBranchOfficeLogging :
79BranchOfficeOfflineLogSizeMB :
80WorkflowPolicy :
81
82Name : Microsoft Print To PDF
83ComputerName :
84Type : Local
85ShareName :
86PortName : PORTPROMPT:
87DriverName : Microsoft Print To PDF
88Location :
89Comment :
90SeparatorPageFile :
91PrintProcessor : winprint
92Datatype : RAW
93Shared : False
94Published : False
95DeviceType : Print
96PermissionSDDL :
97RenderingMode :
98KeepPrintedJobs : False
99Priority : 1
100DefaultJobPriority : 0
101StartTime : 0
102UntilTime : 0
103PrinterStatus : Normal
104JobCount : 0
105DisableBranchOfficeLogging :
106BranchOfficeOfflineLogSizeMB :
107WorkflowPolicy :
108
109Name : Fax
110ComputerName :
111Type : Local
112ShareName :
113PortName : SHRFAX:
114DriverName : Microsoft Shared Fax Driver
115Location :
116Comment :
117SeparatorPageFile :
118PrintProcessor : winprint
119Datatype : RAW
120Shared : False
121Published : False
122DeviceType : Print
123PermissionSDDL :
124RenderingMode :
125KeepPrintedJobs : False
126Priority : 1
127DefaultJobPriority : 0
128StartTime : 0
129UntilTime : 0
130PrinterStatus : Normal
131JobCount : 0
132DisableBranchOfficeLogging :
133BranchOfficeOfflineLogSizeMB :
134WorkflowPolicy :
1Get-Printer -Name "Microsoft XPS Document Writer" | Format-List
1Name : Microsoft XPS Document Writer
2ComputerName :
3Type : Local
4ShareName :
5PortName : PORTPROMPT:
6DriverName : Microsoft XPS Document Writer v4
7Location :
8Comment :
9SeparatorPageFile :
10PrintProcessor : winprint
11Datatype : RAW
12Shared : False
13Published : False
14DeviceType : Print
15PermissionSDDL :
16RenderingMode :
17KeepPrintedJobs : False
18Priority : 1
19DefaultJobPriority : 0
20StartTime : 0
21UntilTime : 0
22PrinterStatus : Normal
23JobCount : 0
24DisableBranchOfficeLogging :
25BranchOfficeOfflineLogSizeMB :
26WorkflowPolicy :
1Get-Printer | Select-Object -Property Name,Type,Shared,Published | Sort-Object -Property Name
1Name Type Shared Published
2---- ---- ------ ---------
3Fax Local False False
4Microsoft Print To PDF Local False False
5Microsoft XPS Document Writer Local False False
6ToDesk Printer Local False False
7导出为WPS PDF Local False False
1Get-Printer | Select-Object -Property Name,Type,Shared,Published | Sort-Object -Property Name | Format-List
1Name : Fax
2Type : Local
3Shared : False
4Published : False
5
6Name : Microsoft Print To PDF
7Type : Local
8Shared : False
9Published : False
10
11Name : Microsoft XPS Document Writer
12Type : Local
13Shared : False
14Published : False
15
16Name : ToDesk Printer
17Type : Local
18Shared : False
19Published : False
20
21Name : 导出为WPS PDF
22Type : Local
23Shared : False
24Published : False
1Get-PrintConfiguration "Microsoft XPS Document Writer" | Select-Object -Property PrinterName,Color,DuplexingMode
1PrinterName Color DuplexingMode
2----------- ----- -------------
3Microsoft XPS Document Writer False OneSided
内容声明 | |
---|---|
标题: Windows 系统打印机相关操作命令 | |
链接: https://zixizixi.cn/windows-printer-printui-wmic-powershell | 来源: iTanken |
本作品采用知识共享署名-相同方式共享 4.0 国际许可协议进行许可,转载请保留此声明。
|