New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 591026 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 26905
Owner: ----
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Feature



Sign in to add a comment

Provide functionality to set destination printer with JavaScript or extension

Reported by n...@brightfunction.co.uk, Mar 1 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Steps to reproduce the problem:
1. Print a page
2. The destination printer is loaded with a default. It would be great if there was some way to set this with a script.

What is the expected behavior?

What went wrong?
Nothing. There just does not appear to be a way to code this.

Did this work before? N/A 

Chrome version: 48.0.2564.116  Channel: stable
OS Version: 7
Flash Version: Shockwave Flash 20.0 r0

I have a web application that needs to print using a different printer automatically. I don't want the user to have to select the correct printer each time but want them to still see a preview and have the option to override the printer selected. 

There does not appear to be a way to set the printer with JavaScript and/or an extension?

Firefox has the add-on JS Print Setup which allows the printer to be set using JavaScript so I was hoping something similar might be possible in Chrome:
https://www.google.com/url?q=https%3A%2F%2Faddons.mozilla.org%2Fen-US%2Ffirefox%2Faddon%2Fjs-print-setup%2F&sa=D&sntz=1&usg=AFQjCNFw8LK_-_7UrK3ECMVsn3wQ1vcKmA
 
Cc: ashej...@chromium.org
Components: Internals>Printing
Status: Untriaged (was: Unconfirmed)
Marking the above issue as Untriaged as this is a feature request.

Dev team will take a call on the above issue.

Thank you!
Mergedinto: 26905
Status: Duplicate (was: Untriaged)

Sign in to add a comment