Cool, missed that one entirely. Thanks! Any ideas of the best place to put it?
For now it went into /etc/X11/Xsession.d/93xprint-default since I want it to be set whenever X is started. It seems to work :-) /M On Tue, Jun 08, 2004 at 05:54:00AM +0200, Roland Mainz wrote: >Magnus Therning wrote: >> I have two network printers configured in CUPS: >> >> bern (CUPS default) >> escher >> >> FireFox finds both (through XPrint I guess), but it disregards the CUPS >> setting for what printer should be the default one. Can I somehow get >> XPrint or FireFox to use bern as its default? > >>From the Xprint FAQ (http://xprint.mozdev.org/docs/Xprint_FAQ.html): >-- snip -- >How do I configure Xprint on the client side ? >A: There are two env vars which control Xprint on the client side: >[snip] >2. The env variable ${XPRINTER} defines the default printer used by > print applications. The syntax is either <printername> or > <printername>@<display> > >Examples: >a. > % export XPRINTER=ps003 > tells an application to look for the first printer named > "ps003" on all Xprt servers. >b. > % export XPRINTER="[EMAIL PROTECTED]:80" > tells an application to look for the printer "hplaser19" on > the Xprt display "littlecat:80". >Note: > If ${XPRINTER} is not set the applications will examine the values of > the ${PDPRINTER}, ${LPDEST}, and ${PRINTER} env vars (in that order). >-- snip -- > >You either set the ${XPRINTER} env var if you only want to affect Xprint >clients or use the Unix standard var ${LPDEST} ... > >---- > >Bye, >Roland > >-- > __ . . __ > (o.\ \/ /.o) [EMAIL PROTECTED] > \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer > /O /==\ O\ TEL +49 641 7950090 > (;O/ \/ \O;) > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ X-Windows: ...Japan's secret weapon.
signature.asc
Description: Digital signature