Red Hat Bugzilla – Bug 217395
system-config-printer should update /etc/cups/lpoptions
Last modified: 2007-11-30 17:11:50 EST
Description of problem:
/etc/cups/lpoptions is not updated when system-config-printer is used to select
a new default printer.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add a printer using system-config-printer, make it the default printer.
2. Add a secont printer, make it the default printer.
3. Run lpq, lpoptions, etc. Observe that the first printer is still the default.
4. Examine /etc/cups/printers.conf. Notice that the second printer is listed as
the default printer.
5. Poke at system-config-printer by switching printer1 to default then printer2
back to default. Observe that this did no good.
6. Manually edit /etc/cups/lpoptions. Notice that printer1 is listed as default
despite what system-config-printer and /etc/cups/printers.conf think. Manually
switch to printer2 as default.
7. Run lpq, lpoptions, etc. Observe that printer2 is now the default.
8. Tear our hair, curse at the ceiling. Throw things if necessary.
lp*, acroread, etc. choose the wrong default printer
The default specified in system-config-printer should be the default printer in
all applications and with all commands.
Looks like /etc/cups/printers.conf is being updated, but /etc/cups/loptions
isn't being updated.
Ah, I bet this was an update from a previous release of Fedora..
Will need code to fetch /admin/conf/lpoptions and replace 'Default' with 'Dest'
if that printer is not the new default. Also needs to handle cups.HTTPError 404.
Please try 0.7.41-1.fc6 from updates-testing, like this:
yum --enablerepo=updates-testing update 'system-config-printer*'
Have you had a chance to try the test update package yet?
Fixed in update: system-config-printer-0.7.45-1.fc6