Create a routine that will generate a text calendar for any year.
Test the calendar by generating a calendar for the year 1969, on a device of the time.
Choose one of the following devices:

 A line printer with a width of 132 characters.
 An IBM 3278 model 4 terminal (80×43 display with accented characters). Target formatting the months of the year to fit nicely across the 80 character width screen. Restrict number of lines in test output to 43.


(Ideally, the program will generate well-formatted calendars for any page width from 20 characters up.)

Kudos (κῦδος) for routines that also transition from Julian to Gregorian calendar.

This task is inspired by Real Programmers Don't Use PASCAL by Ed Post, Datamation, volume 29 number 7, July 1983.

THE REAL PROGRAMMER'S NATURAL HABITAT
"Taped to the wall is a line-printer Snoopy calender for the year 1969."

For further Kudos see task CALENDAR, where all code is to be in UPPERCASE.

For economy of size, do not actually include Snoopy generation in either the code or the output, instead just output a place-holder.



Related task

   Five weekends


                   11          9999999       6666666       9999999
                  111         999999999     666666666     999999999
                 1111        99      99    66      66    99      99
                   11        99      99    66            99      99
                   11        99     999    66            99     999
                   11         999999999    66 666666      999999999
                   11          99999 99    6666666666      99999 99
                   11                99    666     66            99
                   11                99    66      66            99
                   11        99      99    66      66    99      99
                 111111       99999999      66666666      99999999
                 111111        999999        666666        999999
