add page nums and code line nums
add page nums to template
attempting to work on print output

honestly not sure if this change had any effect