tig / winprint

winprint 2.0 - Advanced source code and text file printing. The perfect tool for printing source code, web pages, reports generated by legacy systems, documentation, or any text or HTML file. It works interactively or from the command line making it great for single users or whole enterprises. Works great with Powershell.
https://tig.github.io/winprint/
MIT License
74 stars 5 forks source link

Handle wildcards on command line #2

Closed tig closed 4 years ago

tig commented 4 years ago

Currently only a list of explicit filenames is supported.

This should work:

winprint *.cs
tig commented 4 years ago

This is now supported via PowerShell. E.g.:

ls .\* -include ('*.c', '*.h') | foreach { cat $_.FullName | out-winprint -p "HP LaserJet" -title $_.FullName -verbose}