mosen / puppet-cups

puppet module for the CUPS printing system
36 stars 33 forks source link

Updating the printer driver #43

Open mrrcollins opened 9 years ago

mrrcollins commented 9 years ago

We recently replaced the copiers with new versions, and put them in under the same names. Unfortunately, it doesn't appear that puppet-cups is updating the driver. I haven't had a chance to dig into it to see if it doesn't check that if the printer already exists.

mrrcollins commented 9 years ago

Current workaround, changing the description. :-)

mosen commented 9 years ago

Ah yep. I'll have to consider what to do with changes like this. It usually means the provider needs to remove and re-add the printer so that it regenerates the ppd. Will do a proof of concept in a feature branch and see if you like it.

lesinigo commented 5 years ago

isn't there a way to let CUPS update the driver?

AFAIK when you change the driver through the web admin ui, CUPS does not internally remove and re-add the printer, so I guess/hope there is some way to achieve the same effect without using the web ui?