A print button on a site I am working on opens a new window and populates it with some HTML. I call window.print() which works fine, but the default printer for myself and others who have tested it is always a PDF writer if one is available on the system. Is there a way to open the print dialog box with the appropriate default printer selected so that the user does not have to select their printer every time?
A print button on a site I am working on opens a new window
Share
That is all dependent on your browser.
Nothing to do with the code at hand.