Print Dialog on Document Open (PDF)

Discussion in 'Programming' started by artislife, Jul 21, 2010.

  1. #1
    I need to get the print dialog showing up when a pdf file is opened.

    I found an example of what I need but I can't find the way to do it... anyone could help?

    Here's the example: http://www.fpdf.org/en/script/ex36.pdf

    Help would be greatly appreciated!
    Art.
     
    artislife, Jul 21, 2010 IP
  2. markandrew21

    markandrew21 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In adobe acrobat (not reader) click Advanced>Document Processing>Document Javascripts...

    Type a new script name and click Add.

    Then add the following code and delete everything else.

    print(true);


    Then click OK and save your document.
     
    markandrew21, Jul 6, 2011 IP