Greenbar comparison and PDF file sizes

One thing I thought I remembered about the Python greenbar program was how small the PDFs were. So I ran a test comparison and found I was right! The input for both was 10.4K text file. Here are the results:

PDF/Size
Python/14.4K
Go/36.3K

One thing I don’t like about the Go PDF is there is too much white space at the bottom. The command I use to define margins is “pdf.SetMargins(0.5, 0.5, 0.5) // left, top, right”. So I don’t even define the bottom margin. So with what I know currently this is result I get.

Currently I give a warning and truncate lines over 140 characters. My research shows that the IBM 1403 printer could, depending on model, print a maximum of 132 characters and the IBM 3211, a maximum of 150 characters by using smaller characters. I know some Tk4- demo programs print 160 characters. This also causes buffer problems with the ISPF like screens. Perhaps they were written for laser printers.

In my early testing, as I showed here, I used a 10 point font and could print 160 characters across. I’m currently using an 11 point font. For now and for nostalgia, I’m sticking with the slightly bigger font.