-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Bring back Out-Printer #10660
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module
Description
Summary of the new feature/enhancement
'As a user I want to be able to send output of a command to a printer.'
For example Get-Process | out-printer "OneNote"
would save the current processes to a new page in OneNote
or Get-Package | lp
Would send a list packages to the default printer
Proposed technical implementation details
Windows PowerShell has an Out-Printer command with an alias of lp .
but this was dropped in PowerShell core V6
I have posted a version for V6 and later at https://www.powershellgallery.com/packages/6print with a repo at https://github.com/jhoneill/6Print
This provides some additional controls over the output.
I'd propose this as a first draft / worked example of how it could be done.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module