I have an iframe which needs point directly to a PDF file (not a page with a PDF):
As suggested in this answer for a similar question, you could do this:
window.frames.pdfFrame.print();
This should solve your problem.