I am generating a pdf file using mpdf and then emailing the PDF attachment using PHPMAILER.
I want to also print a copy of the PDF to a specified printer - silently without the print dialog box opening.
I would prefer to do this from PHP, but also dont mind if there is a better solution from javascript.
Please advise best way to do this.