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

Re: Default printer in XPrint/FireFox?

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 :-)


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:
>2. The env variable ${XPRINTER} defines the default printer used by
>   print applications. The syntax is either <printername> or
>   <printername>@<display>
>  % export XPRINTER=ps003
>            tells an application to look for the first printer named
>            "ps003" on all Xprt servers.
>  % export XPRINTER="hplaser19@littlecat:80"
>            tells an application to look for the printer "hplaser19" on
>            the Xprt display "littlecat:80".           
>   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} ...
>  __ .  . __
> (o.\ \/ /.o) roland.mainz@nrubsig.org
>  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
>  /O /==\ O\  TEL +49 641 7950090
> (;O/ \/ \O;)
>To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Magnus Therning                    (OpenPGP: 0xAB4DFBA4)

X-Windows: ...Japan's secret weapon. 

Attachment: signature.asc
Description: Digital signature

Reply to: