title: WKHTMLTOPDF - Multiple parameters not allowed?
body: <p>Im calling wkhtmltopdf from PHP like this:</p>
  
  <pre><code>`$commandString = '
  
  "../wkhtmltopdf/wkhtmltopdf-amd64" 
  
  --header-html '. $_SESSION['ER_HlavniLink'] .'/export_pdf/header31.php?IDstavba='.$IDstavba.' 
  
  --header-spacing 0 
  
  --footer-line 
  
  --footer-spacing 5 
  
  --footer-left "Vygenerováno pomocí webové aplikace www.estiroad.cz" 
  
  --footer-center "[page] / [toPage]" 
  
  --orientation Landscape 
  
  --user-style-sheet "../css/export.css" 
  
  --print-media-type 
  
  --page-size A4 
  
  --encoding utf-8
  
  --margin-top 50mm
  
  --margin-bottom 15mm
  
  --margin-left 10mm 
  
  --margin-right 10mm 
  
  '.$_SESSION['ER_HlavniLink'].'/'.$export.' '.$nazev_sestavy;`
  </code></pre>
  
  <p>If I want to add a parameter in the header file call, browser shows me error: Loading of PDF document failed... Can I somehow solve this?</p>