winprint - Advanced source code and text file printing for terminals (all platforms) and Windows/macOS GUIs.
winprint writes diagnostic logs to a logs folder alongside its settings. On Windows that’s %appdata%\Kindel\winprint\logs (or next to the executable when running in portable mode); on macOS and Linux the logs folder sits next to the wp executable (inside WinPrint.app for the GUI). Run the wp command line with --debug for more detail.
Additional printing diagnostics can be turned on via settings in the WinPrint.config.json configuration file.