How to hide configuration tabs of a report with the "print to pdf" action remaining active?
This seems to be a bug in CiviCRM. Below patch will allow anonymous user to Print report or Print PDF.

diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php
index 75a614c836..9acd75c584 100644
--- a/CRM/Report/Form.php
+++ b/CRM/Report/Form.php
@@ -2580,7 +2571,7 @@ WHERE cg.extends IN ('" . implode("','", $this-&gt;_customGroupExtends) . "') AND
     if (empty($this-&gt;_params) &amp;&amp;
       $this-&gt;_force
     ) {
-      $this-&gt;setParams($this-&gt;_formValues);
+      $this-&gt;setParams($this-&gt;_submitValues);
     }

     // hack to fix params when submitted from dashboard, CRM-8532
@@ -2588,7 +2579,7 @@ WHERE cg.extends IN ('" . implode("','", $this-&gt;_customGroupExtends) . "') AND
     // in dashboard mode for report
     //@todo - this could be done in the dashboard no we have a setter
     if (empty($this-&gt;_params['fields']) &amp;&amp; !$this-&gt;_noFields) {
-      $this-&gt;setParams($this-&gt;_formValues);
+      $this-&gt;setParams($this-&gt;_submitValues);
     }


Not sure what is the difference between formvalues and submitvalues even though params are considered from submit values for processing.

HTH

Pradeep