How to print doc/pdf files from a cakephp 3.5 controller method?


#1

Hello everyone,

I developed an cakephp 3.5 app, wich creates and save some documents. So, I need to print this document (WORD or PDF formats) from the controller metod and once the doc is saved, at client side, using the local default printer if any. happens that I have not any idea how to do this. I’ve beeb lookink for on the web some examples, but I’ve been not lucky. can anybody help me please?