opening a PDF tries to print it

The PDF-XChange Viewer for End Users
+++ FREE +++

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

billh
User
Posts: 5
Joined: Fri Feb 01, 2013 5:14 am

opening a PDF tries to print it

Post by billh »

All of a sudden, when I open a PDF file by clicking on it or by using "Open with PDF-XChange Viewer" from the right click context menu in Windows Explorer, the program tries to print the file rather than just opening it. It always just opened it in the past.

I am using Windows 7 and PDF XChange Viewer 2.5 build 208.

Does anyone know what I've done to make it do this? Any ideas on how to get it back to normal?

Thanks,

Bill
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: opening a PDF tries to print it

Post by Paul - PDF-XChange »

Hi Bill,

it's possible this file has JavaScript in it that causes it to print on opening. This is frequently done with vouchers and the like. There are two things you can try:

1. Open it in Adobe Reader and see if the same behavior is evident. If so it is probably by design.
2. Disable JavaScript in the Viewer Edit --> Preferences --> Enable JavaScript Actions [uncheck the box] then try to open the file.

Can you try that and let me know what happens?

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
billh
User
Posts: 5
Joined: Fri Feb 01, 2013 5:14 am

Re: opening a PDF tries to print it

Post by billh »

Hi,

Thanks for the quick reply. I think that was it. I had tried several files, but they were from the same source and they all wanted to print. I tried a few others from other sources and they did not try to print. I had never run into this before.

I disabled Java Script within the viewer and I got an error window that said that the file contained Java Script and did I want to enable it. I said no, and it opened just fine and I didn't get the print window.

Thanks for your help. I would have never figured this one out on my own.

Bill
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: opening a PDF tries to print it

Post by Paul - PDF-XChange »

My pleasure Bill,

you may want to turn JavaScript back on however as you are limiting functionality with it off. You can always disable it again if it's a problem.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
billh
User
Posts: 5
Joined: Fri Feb 01, 2013 5:14 am

Re: opening a PDF tries to print it

Post by billh »

OK... will do. Thanks again,

Bill
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: opening a PDF tries to print it

Post by Stefan - PDF-XChange »

:)