google / cloud-print-connector

Google Cloud Print Connector
BSD 3-Clause "New" or "Revised" License
764 stars 184 forks source link

GCP Print Jobs Ignoring Default User Code #427

Open zwheeler-hbs opened 6 years ago

zwheeler-hbs commented 6 years ago

We have the GCP Connector configured and running on a Server 2008 R2 box with print server features. The printer is a Ricoh MP C4504ex with four-digit authentication code for various print queues. We have two logical printers - one that we map out to Windows devices and one that we map to Google Chromebooks using the GCP Connector.

We configured Printing Defaults for the Chromebook logical printer with an auth code for the 'Chromebook' print queue on the Ricoh. Any jobs printed to the 'Chromebook' logical printer from a Windows device print and are logged in the 'Chromebook' print queue on the Ricoh - indicating that it is using the default auth code. However, any jobs printed from a Chromebook via GCP Connector fail to print and are logged as 'Access Restricted' - indicating that it is not including any auth code.

I have been finding details from other folks that configure custom PPD options for Linux servers but nothing in the way of Windows servers. I have also tried with and without the "all" option for vendor PPD options. Does the GCP Connector ignore the auth code option in the Printing Defaults or what is our configuration JSON missing?

Thanks!

sicklittlemonkey commented 5 years ago

The defaults are stored in the user registry hive. Try running the GCP Connector service under a user account which has the printer defaults set.

sicklittlemonkey commented 5 years ago

Or you could try setting the printer defaults for the SYSTEM account. See here.