PDF wants to print when pdf opened

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

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
DWC121
User
Posts: 66
Joined: Thu Jul 30, 2015 5:18 am

PDF wants to print when pdf opened

Post by DWC121 »

When I open a pdf, the file opens and the print screen within PDF-XChange immediately appears. I thought maybe my mouse was to blame but I doubt it. Is there a place to change this behavior?

I'm using Version 7.0 (Build 328.1)

Thanks - David
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8579
Joined: Wed Jan 03, 2018 6:52 pm

Re: PDF wants to print when pdf opened

Post by TrackerSupp-Daniel »

Hello DWC121,

This is usually caused by the document itself, typically JavaScript which can be disabled from the Editor Preferences (Ctrl+K). Nonetheless, could you please send us a copy of the file to take a look at?

Thank you!
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
DWC121
User
Posts: 66
Joined: Thu Jul 30, 2015 5:18 am

Re: PDF wants to print when pdf opened

Post by DWC121 »

Daniel,

See attached. I looked at other pdf files and the Javascript settings are identical. As far as I know, only THIS pdf opens the print dialog box when the pdf is opened.

Later at work today I'll open the pdf with my portable version of PDF-XChange to see if the same thing happens.

David
Attachments
Card.pdf
(731.22 KiB) Downloaded 59 times
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: PDF wants to print when pdf opened

Post by Will - Tracker Supp »

Hi David,

Thanks for that - This is, as Dan mentioned, caused by a document level JavaScript:
image.png
You can delete the script vai Ctrl + d or disable JavaScripts via Dan's previous instructions.

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
DWC121
User
Posts: 66
Joined: Thu Jul 30, 2015 5:18 am

Re: PDF wants to print when pdf opened

Post by DWC121 »

Will,

I found it by using Ctrl+D (Document Properties) and deleted it. I don't know how the Javascript got included in this document, but I have now turned it off in my PDF-XChange preferences with Ctrl+K.

Thanks - David
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: PDF wants to print when pdf opened

Post by Will - Tracker Supp »

No worries David!

Just a note: disabling the JavaScript actions can cause documents with form fields, dynamic stamps, etc. not to function. If you experience issues, be sure to turn this option back on and it should work fine.

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Post Reply