I would try to locate the problem by commenting some parts, for example the pdf-call to see if the selections-loop worked. Quite helpful for it is also to implement some msgbox-statements to find the point where the routine stopped. Further I would check if anything has changed within the application (field renamed, report deleted), by qlikview (a different release) and by the OS and the printer itself, for example removing or updating the printer or another default printer is set or ... Did you try if you could print with this printer manually?
It has to do with the upgrade. PDF creator 2.0+ has different command lines.
CreateObject("PDFCreatorBeta.JobQueue") for the job queue
and CreateObject("PDFCreatorBeta.PDFCreatorObj") for the obj.
It functions slightly differently than the older versions as the queue is a separate object now. You can either revert back to the older version and your macro will work or modify your current macro with the new commands.