Is there a way to have the printout function print to a different printer than the default. All of the computers in our company have a PDF printer. When working in a Microsoft document, when they print, the user can choose to print to the PDF printer which will convert the file into a PDF file.
I’ve written a JavaScript function attached to a button that prints an html file directly without user input by using the Word.Application object, but right now, it can only print to the default printer that is set on that computer. One option when users print from Word is a PDF printer. I’d like to add a 2nd button that will allow the user to save the HTML file as a PDF using the PDF “printer” which is included on all of our computers. Is it possible to change the printer to use from within the JavaScript Word.Application PrintOut function? If so, how can I change it without setting it as the default printer?
Chris