From owner-freebsd-questions@FreeBSD.ORG Sat Aug 21 04:29:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3346D10656A6 for ; Sat, 21 Aug 2010 04:29:03 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1A51E8FC0A for ; Sat, 21 Aug 2010 04:29:02 +0000 (UTC) Received: from omta14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by qmta05.emeryville.ca.mail.comcast.net with comcast id wsTZ1e0011HpZEsA5sV2x8; Sat, 21 Aug 2010 04:29:02 +0000 Received: from remegius.comcast.net ([67.180.204.190]) by omta14.emeryville.ca.mail.comcast.net with comcast id wsV01e00846zqiB8asV1DA; Sat, 21 Aug 2010 04:29:02 +0000 Message-ID: <4C6F560C.9080700@comcast.net> Date: Fri, 20 Aug 2010 21:29:00 -0700 From: Rem P Roberti User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100819 Thunderbird/3.1.2 MIME-Version: 1.0 To: Polytropon References: <4C6F2AA2.6060005@comcast.net> <20100821054843.ae15204d.freebsd@edvax.de> In-Reply-To: <20100821054843.ae15204d.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: Printing from Thunderbird X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2010 04:29:03 -0000 > On Fri, 20 Aug 2010 18:23:46 -0700, Rem P Roberti 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?