Opening a PDF starts the print-dialogue

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

User avatar
Peter2
User
Posts: 958
Joined: Mon Sep 13, 2010 10:09 am

Opening a PDF starts the print-dialogue

Post by Peter2 »

I have PDFs (one page, A4, document) , made by jsPDF, which starts immediately the print dialogue just when opening the file. The file is not yet displayed, but the print dialogue is opened.

I could not find a JS or some settings, so I removed the entire content from the file - the behaviour stays unmodified, Inside the file (opened with a text editor) I found:

Code: Select all

...
<?xpacket end="w"?>
endstream
endobj
4 0 obj
<<
/N /Print
/S /Named
/Type /Action
>>
...
Does it give a hint for the behaviour?
PDF-X-Change Pro German
Willy Van Nuffel
User
Posts: 2771
Joined: Wed Jan 18, 2006 12:10 pm

Re: Opening a PDF starts the print-dialogue

Post by Willy Van Nuffel »

Hi Peter2,

There was a similar question a while ago:
viewtopic.php?t=39847

Maybe the answer in that topic helps for you too ?

Regards.

Willy
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11586
Joined: Wed Jan 03, 2018 6:52 pm

Re: Opening a PDF starts the print-dialogue

Post by Daniel - PDF-XChange »

Hello, Peter2

Willy's suggestion may be what you need here, please do check that other topic. As a followup to that, if you could send us a copy of the file to take a look at, we could inspect it a bit closer and see what we can find.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
Peter2
User
Posts: 958
Joined: Mon Sep 13, 2010 10:09 am

Re: Opening a PDF starts the print-dialogue

Post by Peter2 »

Willy Van Nuffel wrote: Tue Mar 07, 2023 5:23 pm ...Maybe the answer in that topic helps for you too ?..
Thanks @Willy Van Nuffel

that's the right explanation.
:D
PDF-X-Change Pro German
Willy Van Nuffel
User
Posts: 2771
Joined: Wed Jan 18, 2006 12:10 pm

Re: Opening a PDF starts the print-dialogue

Post by Willy Van Nuffel »

It is unbelievable what is all possible with PDF.

Running an Open Action, like executing a "Print"-command, is one of them.

Glad that your question has been answered.

:-)
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2432
Joined: Mon Jan 15, 2018 9:01 am

Opening a PDF starts the print-dialogue

Post by Dimitar - PDF-XChange »

:)