title: PHP Server Side Printing Ubuntu Server
body: <p>I have been all over stack looking at what is required to do this and have wound up being slightly confused.</p>
  
  <p>Lets get one thing straight this is a local based intra-net and I do understand that PHP is server side.</p>
  
  <p>I am running a company management solution on a web based PHP,JAVA,Jquery Idea. and we would like to print reports directly from the "LINUX" server and receipts etc. </p>
  
  <p>I have installed cups on the server and the server is printing fine and I am now just stuck on whether or not it is actually possible to get the server to print our pdf files we are generating directly from the PHP code.</p>
  
  <p>I would be happy even if we had a bash script to run and check a directory print the pdf and then delete it, even though I would see this as a work around for the time being.</p>
  
  <p>Like I said I do understand that if this was done on the WWW then there would be certain exploits that could be used. If I were to run this system on the www I would have a totally different site that did not allow printing and this function would not be necessary.</p>
  
  <p>Thank You in advance</p>
  
  <p>Alex</p>