[Xprint] Setting printer list and default printers.

Thomas Dodd ted at cypress.com
Fri Sep 17 11:53:25 EDT 2004


Phil Carinhas wrote:
>  How can the printer list be modified if at all?
>  How can I set the system-wide default printer?
>   Didn't see it in the faq or man page., Thanks,

The printers are defined in
<XRoot>/lib/X11/xserver/C/print/Xprinters
There is also a mechanism to automatically add all LP/CUPS printers.

Uncomment this line and Xprint won't do that.
#Augment_Printer_List %none%

No you have to define all the printers you want Xprint to manage, using 
the Printer directive.

I'm not sure what controls the order of the printers in the print 
dialogs like Mozilla.

There is an environment variable to control the defaulty printer,
XPRINTER, which you can set in the login scripts, either per user or 
system wide./etc/profile.d/xprinter.* would be a good place for the 
system wide default.

-Thomas


More information about the Xprint mailing list