I was an old school guy who always printed his reams of source code out on a 132 character dot matrix printer - green bar paper, everything. These days this is just not possible. What is the current thinking of printing source code if this is important to you?
I can still use `pr` to paginate my source for printing, and use `enscript` to produce a PostScript document of it, then `ps2pdf` to convert that to PDF, then I can spool that PDF to any printer.
And, on my home network, I have a HP LaserJet 2300dn and I can actually just shove the plain text output from `pr` straight to the JetDirect port on 9100/tcp.
What exactly is the obstacle that's preventing you from printing out your source code?
I rarely print out source code. Only when I want to carefully study some tricky code written by others. I use LibreOffice Writer, landscape with suitable sized font. Sometimes I leave space to the side for my scribbling, notes, lines, etc. Print on a laser printer.
Also, what were the reasons for printing them out?
Mainly to go through and understand other peoples' code. The beauty of open-source is that you can stand on the shoulders of others. But you have to know what they were doing so that you can see whether it would be suitable for your project, and what changes you would need to make to make that previous code work for you.
('Cut 'n' Paste' does not work. You need to suit the code to the project.)
Why not?
I still format my code to an 80 column width.
I can still use `pr` to paginate my source for printing, and use `enscript` to produce a PostScript document of it, then `ps2pdf` to convert that to PDF, then I can spool that PDF to any printer.
And, on my home network, I have a HP LaserJet 2300dn and I can actually just shove the plain text output from `pr` straight to the JetDirect port on 9100/tcp.
What exactly is the obstacle that's preventing you from printing out your source code?