Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2010 21:29:00 -0700
From:      Rem P Roberti <remegius@comcast.net>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Printing from Thunderbird
Message-ID:  <4C6F560C.9080700@comcast.net>
In-Reply-To: <20100821054843.ae15204d.freebsd@edvax.de>
References:  <4C6F2AA2.6060005@comcast.net> <20100821054843.ae15204d.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Fri, 20 Aug 2010 18:23:46 -0700, Rem P Roberti<remegius@comcast.net>  wrote:
>>    I have Thunderbird installed on my new 8.1 box, and although I am able
>> to print from within the program, the only way I can do it is to type
>> the whole print command from within the print window.  In my case that
>> means typing:
>>
>>       lpr  -PPhotoshop7760
>>
>> I have tried to figure a way of configuring the printer to load
>> automatically by modifying the advanced options, but so far, no luck.
>> The printer is installed via CUPS, and seems to be functioning
>> perfectly.  If anyone has been able to modify the options configuration
>> setup to make printing easier I would love to see how you did it.
> You can set the environmental variable $PRINTER according to the
> name of the default printer. In my case, I have
>
> 	setenv PRINTER Laserjet
>
> in my /etc/csh.cshrc (for system-wide use). Now all lp* commands
> will default to that printer, and printing from within applications
> that use lpr's stdin will also work.
>
> PS: I'm not using CUPS, but apsfilter, which is the "little brother"
>      of CUPS, to translate printing data to PCL and have duplex settings
>      for my HP Laserjet 4000 duplex.
>

Ah-ha!  In my case I am using the bash shell, and I believe the syntax 
that is needed for the .bashrc is different than what is used in your 
csh.cshrc.  Any idea where I can find the appropriate syntax for 
variables stored within .bashrc?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6F560C.9080700>