Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 14:48:49 -0700 (MST)
From:      Warren Block <>
To:        Bahman Kahinpour <>
Subject:   Re: Printing from inside the applications in FreeBSD 8.1 with CUPS
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, 27 Jan 2011, Bahman Kahinpour wrote:

> After a lot of work, I managed to get my printer work with CUPS with
> appropriate filters. Now, I can print the test page using
> http://localhost:631 and also I can print any postscript file from
> command-line.
> cat ~/ | /usr/local/bin/lp


% /usr/local/bin/lp ~/

> Note that I can not print using simple "lp" command as there a "lp" in
> /bin/lp. How can I print from inside the applications? Take Firefox or
> gedit for instance. How can I print from those apps using File>Print
> menu? I need to add stuff to those dialogs which open from File>Menu.

CUPS chose to use identical names for their printing commands. 
Sometimes people delete the system lpr (/usr/bin/lpr) so that only the 
CUPS version is found, or link one to the other.  The system lpr will 
come back if you rebuild the system, unless you take other actions. 
The CUPS article talks about this near the end:

There may also be options in your "desktop environment" preferences to 
select which printing system will be used.

Want to link to this message? Use this URL: <>