Set PAGESIZE= and LINESIZE= appropriately.
The legend box prints on the next page if PAGESIZE= is not set large enough. LINESIZE= controls the width of the cells in the calendar.
options nodate pageno=1 linesize=132 pagesize=60;