about
12/02/2022
PrettyPrint Repo
PrettyPrint code

PrettyPrint  Repository

Print titled, line-numbered, source code in landscape mode

Quick Status Code functions correctly no known defects Demonstration code yes Documentation yes - needs more Test cases none planned Static library no Build requires C++11 default Planned design changes None
Fig 1. PrettyPrint GUI

1.0 Content:

PrettyPrint is a WinForms application that uses HP's Printer Control Language (PCL) to print text files in landscape mode with line numbers and relatively small font. I've used it for years to print source code for red-penciling and to copy for distribution in classes. Looking at the printed source with pen in hand can be, for me at least, more effective for analysis and criticism than staring at a monitor.

2.0 Status:

I don't expect to make any updates, and have forgotten most of what I ever knew about PCL.

3.0 Plans:

It might be interesting to re-implement this functionality with LaTeX.
  Next Prev Pages Sections About Keys