Help - PDF print window opens by itself

Hello,

every time I open a PDF document, it automatically opens the print dialog. I can't find how to disable this automatic opening of the print box - could you please let me know how to do it? I work a lot with PDFs and it's wasting a lot of my time. (no matter which software I use to open the PDFs, the print box still opens...)

Thank you very much!!


7 answers

  • Votes
  • Date
  • Descending date
  1. thank you brucine,

    I disabled JavaScript in Adobe and the problem is resolved.

    Since it was enabled by default, will this deactivation not cause any malfunctions in Adobe? I don't understand the purpose of this JavaScript...

    in any case, thank you for this tip

    1. JavaScript is used to read scripts that would be integrated into PDF pages, which is not the general case and poses a security risk; it has nothing to do with a standard PDF file.

      If we had to use a file (for example, an online form), it seems healthier to open it via a browser that controls which script is launched or not; we come back to a solution like Firefox-NoScript or equivalent.

      Unless there are specific needs (PDF modifications, signatures...), Adobe Reader and Acrobat are resource hogs that take up considerable disk space and potentially run a lot of dubious active content, not just JavaScript.

    2. @brucine

      oh thank you for these very clear explanations!

    3. @brucine

      ...it's a joke! I just changed the PDF opening settings to Firefox and... the print window opens with it!

    4. @joe09

      If it's now the browser you choose to open PDFs instead of Adobe, the same reason, the same punishment: see <13>, disable scripts for PDFs that contain the word "Print" via NoScript.

      Remember that depending on the default option checked in the PDF software or the software that is set as the default for PDFs in Settings-Applications-Default-By file type, it will either be the PDF software that loads them via the built-in extension, or the browser.

    5. @brucine

      I don't understand this sentence:

      "If this is now the browser you choose to open PDFs instead of Adobe, same reason, same punishment: see in <13>, disable scripts for PDFs containing the word 'Print' via NoScript."

      What is / where is "13"?

      And I don't see the mention of Print in the NoScript settings and configurations...

      What does "... containing the word 'Print' via NoScript" mean?

  2. Thank you again for your help, but it's not working. I can't modify the "target" field. It tells me that the specified path is not valid.

    I might have mentioned that I'm not very good with computers... ????

    And I don't know if this detail is useful, but it's only the pdf files that are causing problems for me. A Word file that I download from Chrome, for example, won't have the dialog box that opens automatically.

  3. Hello,

    Thank you very much, but it still doesn't work. The print window always opens every time I open a pdf document...

    1. Hello,

      What printer are you using (brand and model)?

    2. @Panth33ra

      Hello,

      The question seems to be whether it concerns all PDFs or only some of them, and what software is set as the default to open PDFs.

      If there aren't any (i.e., if they are always opened by default in Chrome), that's the default behavior, and there's not much we can do about it: the first step is to install a PDF software to which we assign this extension.

      If the issue only pertains to certain PDFs, it's because they contain a Javascript with the word "Print": you should either use an extension in the browser that controls scripts (an equivalent of NoScript for Firefox in Chrome that I’m not familiar with), or set a default PDF software in which you can either disable the Javascript option (for example, Adobe Reader) or it doesn't exist (basic software like Sumatra PDF, for instance).

      Plan B involves modifying the shortcut to Chrome by right-clicking it, going to properties, and replacing the standard Target "C:\Program Files\Google\Chrome\Application\chrome.exe" with "C:\Program Files\Google\Chrome\Application\chrome.exe" " --kiosk-printing" (note the space before --)

      The alternative option –disable-print-preview instead of --kiosk-printing can be tried, but it essentially only does as its name indicates, which is to remove the print preview; I'm not sure to what extent it disables the print option itself, especially in the presence of a "parasite" Javascript.

  4. Thank you, but my issue is not with opening PDFs. It's when I open a PDF that it automatically brings up the print dialog box even though I don't click anything. No matter which software I use to open a PDF, the print dialog box opens automatically.