Comment 2 for bug 198134

Revision history for this message
Michael Blinn (mblinn-gmail) wrote :

.lpoptions are not respected in Gutsy either - though I've only tried i386 arch.

[root@mail log]# cat /etc/cups/lpoptions
Default UpstairsMain scp-fc5=true
[root@mail log]# cat ~user1/.cups/lpoptions
Default DownstairsMain
[root@mail log]# cat ~user2/.cups/lpoptions
Default UpstairsDahl
[root@mail log]# cat ~user3/.cups/lpoptions
Default Keith_Color_Printer

each of the ~user/.cups/lpoptions are set at login with the following script in /etc/profile.d/set_printer.sh - I'm using LTSP and thin clients, with printer based on hostname, not user.

#!/bin/sh
ws=$(echo $LTSP_CLIENT|cut -d. -f1)
case $ws in
   ws0-007 ) lpoptions -d UpstairsDahl ;;
   ws0-010 ) lpoptions -d DownstairsDahl ;;
   ws0-016 ) lpoptions -d UpstairsDahl ;;
   ws0-017 ) lpoptions -d Keith_Color_Printer ;;
esac

This may be an upstream GTK bug: https://bugs.launchpad.net/fedora/+source/libgnomeprint/+bug/34112