[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default printer in XPrint/FireFox?



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="hplaser19@littlecat: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) roland.mainz@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)



Reply to: