[FreeNX-kNX] Specifying Printers

kurt pfeifle k1pfeifle at gmx.net
Wed Jun 6 14:59:15 UTC 2007


-------- Original-Nachricht --------
  Datum: Tue, 05 Jun 2007 17:59:42 -0500
    Von: Brent Davidson <brent at texascountrytitle.com>
     An: freenx-knx at kde.org
Betreff: [FreeNX-kNX] Specifying Printers

[...]
> Is there any way I 
> can specify a default CUPS printer on a per-user basis?

CUPS finds per-user default printers by looking at

  ~/.lpoptions       # CUPS 1.1.x
  ~/.cups/loptions   # CUPS 1.2.x

A user can set his/her personal default printer by running the command

  lpoptions -d my_printer_name

Afterwards, the respective {.,}lpoptions file has the string "Default "  prefixed to the respective line for the printer (if there was no {.,}lpoptions file before, it will now have been created with minimal content).

You can check if and which default printer is assigned to you by running

  lpstat -d

Of course, you can (as root) just create/modifiy the respective {.,}lpoptions files for each user...

Cheers,
Kurt



More information about the FreeNX-kNX mailing list