title: Trying to print a pdf via chromium (and google chrome) headless cli
body: <p>I have a problem with the chromium print to pdf.<br />
  I have a fillable PDF Form that I fill with PHP. After that I have a filled PDF-Form.<br />
  But the problem is, that the filled form is displayed wonderful in Chrome, but on in Firefox and Safari some checkboxes and fields are not filled.<br />
  Now I want to convert the Fillable (and filled) PDF to a &quot;printed&quot; PDF (as if you click print in your browser and print as PDF). Then there are no fields and nothing to be false.<br />
  But I am very disappointed that i have not found any library that can do that without errors.<br />
  So I tried the headless chromium:</p>
  <pre><code>chromium --headless --disable-gpu --no-sandbox --print-to-pdf=file1.pdf http://&lt;url&gt;/form.pdf
  </code></pre>
  <p>But that does only throws <code>[0205/195405.842537:WARNING:vaapi_wrapper.cc(523)] VAAPI video acceleration not available for disabled</code> and than idles forever. If I do it with a normal webpage it shows the warning but works.<br />
  <br />
  Other librarys I tried:</p>
  <pre><code>pdftk form.pdf output page.pdf --&gt; stays as form
  convert form.pdf test.pdf --&gt; Only checkboxes are taken, textfields empty
  lowriter --convert-to pdf form.pdf --&gt; Error: Please verify input parameters...
  pdftops Einsatzprotokoll_2021_02_05.pdf Einsatzprotokoll_2021_02_05.ps\
  gs -dPDFA -dBATCH -dNOPAUSE -dNOOUTERSAVE -dUseCIEColor -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sPDFACompatibilityPolicy=1 -sOutputFile=MyOutPutPDF-A.pdf Einsatzprotokoll_2021_02_05.ps --&gt; some fields stay empty
  </code></pre>
  <p>Any opinion?</p>