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.
Describe the bug
winprint's pretty-print functionality (within the AnsiCte content type engine) utilizes Pygments (https://pygments.org/). The pygmentize.exe executable must be available and Python 3.7, 3.8, or 3.9 must be installed (other versions may work too).
The winprint installer currently installs pygmentize.exe in \Program Files\Kindel Systems\winprint which means pygments doesn't need installation, but if Python isn't installed or configured right pretty-print won't work.
There are lots of options for fixing:
Don't depend on pygments/python
Version check python in installer and install proper python version if needed
Describe the bug winprint's pretty-print functionality (within the
AnsiCte
content type engine) utilizes Pygments (https://pygments.org/). Thepygmentize.exe
executable must be available and Python 3.7, 3.8, or 3.9 must be installed (other versions may work too).The winprint installer currently installs
pygmentize.exe
in\Program Files\Kindel Systems\winprint
which meanspygments
doesn't need installation, but if Python isn't installed or configured right pretty-print won't work.There are lots of options for fixing: