把打印机默认设置改为双面打印
一条命令让打印机默认双面打印,省纸省事,不用每次在打印对话框里手动切换。
在管理员 PowerShell 中运行 `Set-PrintConfiguration -PrinterName "HP LaserJet" -DuplexingMode TwoSidedLongEdge`,即可把默认打印方式改为双面。
01命令
命令
$ Set-PrintConfiguration -PrinterName "HP LaserJet" -DuplexingMode TwoSidedLongEdge02作用说明
办公室打印机几乎都支持双面打印,但 Windows 默认常常是单面,纸张一张张浪费。Set-PrintConfiguration 修改的是打印机保存的默认设置:TwoSidedLongEdge 按长边翻页,适合竖版文档;TwoSidedShortEdge 适合横版。改之前可先用 Get-PrintConfiguration -PrinterName 查看当前模式,确认要改的内容。
03风险
04撤销
撤销
$ Set-PrintConfiguration -PrinterName "HP LaserJet" -DuplexingMode OneSided05来源
- Get-PrintConfiguration cmdlet | Microsoft Learn依据: Get-PrintConfiguration shows the current configuration of a printer, including its duplexing mode.
- Set-PrintConfiguration cmdlet | Microsoft Learn依据: Set-PrintConfiguration changes printer defaults; -DuplexingMode accepts OneSided, TwoSidedLongEdge or TwoSidedShortEdge.
最后验证: 2026-09-19 · 分类: 系统与设置