Start of changes to improved printing system
PDF generation now more elegant and logs in as the user who requested the printed document