title: Automatically Print webpage with PHP
body: <p>I have a php script that takes an invoice number and generates a PDF invoice with all relevant information, when the script has finished the PDF is then displayed on the screen in the users browser. I am curious to know how I can then automatically print the PDF? I realize that there probably isn't a way with php or javascript because of security/spam issues. </p>
  
  <p>Unfortunately manually printing the page is not really an option because the users currently have two printers, in the current Access based system one invoice is sent to the colour and two invoices are sent to the black and white printer. This is all done automatically, but now due to certain circumstances I would like to use PHP as a large part of the system is PHP based already.</p>
  
  <p>I have thought about using a Linux based machine and trying to use a python webserver to get the PDF and print it, but I have no idea what this would require or how to do it. Any feedback would be great!</p>