Changed casting iteminfo to procedure info to just using procedureinfo object to get pdfnumber for printing pdf