Printing pdf without opening
        Posted  
        
            by Marius
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Marius
        
        
        
        Published on 2010-04-24T15:21:36Z
        Indexed on 
            2010/04/24
            15:43 UTC
        
        
        Read the original article
        Hit count: 437
        
Hello there,
I want to open a PDF-print dialog (not regular browser dialog) without visually opening the document so that I can print a pdf without having the header and footer information from a regular webpage print.
I know this is possible, because I have seen it in the past on a postal service website for printing postage labels, but cannot remember where.
As far as I know, printing it from an iframe doesnt work, as it only opens regular browser print dialog and gives me ugly page and url information:
frames['name'].focus();
frames['name'].print();
Thank you for your time.
Kind regards,
Marius
© Stack Overflow or respective owner