I am developing a Ruby on Rails application, and I am trying to print PDF in silent mode, in words, after the user presses the print confirmation button, the application will receive a default printer and send it.
One of my options is to create a Google Chrome extension that can control the printer and paper size, etc. just one time. And all the time, when the user wants to print the PDF, the extension sends it quietly to the default printer.
So how can I do this extension? Is there a way to manage user print configuration using js?
Is there a better way to do this?
Thanks.
source
share