winprint - Advanced source code and text file printing for PowerShell.
winprint writes extensive diagnostic logs to %appdata%/Kindel Systems/WinPrint/logs. When using the command line (out-winprint) specifiying the -debug command line switch will cause all diagnostic log entries to go to the console as well as the log file.
Additional printing diagnostics can be turned on via settings in the WinPrint.Config.json configuration file.