From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 22:56:31 2011 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 05CB31065694 for ; Thu, 27 Jan 2011 22:56:31 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id CACC28FC0C for ; Thu, 27 Jan 2011 22:56:30 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0RN5DZg084469; Thu, 27 Jan 2011 17:05:13 -0600 (CST) Date: Thu, 27 Jan 2011 17:05:13 -0600 (CST) From: Robert Bonomi Message-Id: <201101272305.p0RN5DZg084469@mail.r-bonomi.com> To: bahman.linux@gmail.com, freebsd-questions@freebsd.org In-Reply-To: Cc: Subject: Re: Printing from inside the applications in FreeBSD 8.1 with CUPS 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: Thu, 27 Jan 2011 22:56:31 -0000 > From owner-freebsd-questions@freebsd.org Thu Jan 27 12:01:23 2011 > Date: Thu, 27 Jan 2011 21:21:48 +0330 > From: Bahman Kahinpour > To: freebsd-questions@freebsd.org > Subject: Printing from inside the applications in FreeBSD 8.1 with CUPS > > Hello FreeBSD fans, > > 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 ~/MyPostscriptFile.ps | /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. > > There are only two choices "Printer to File" and "Print to LPR". Printing > to LPR does not work at all as I think it references /bin/lpr instead of > /usr/local/bin/lpr. (Snapshot attached) How can I add more options in > this dialog? > > Right now, in order to print I choose Print to File "as PostScript" and > use command line cat PostScriptFile | /usr/local/bin/lp to print. > > Thanks for Help Bahman Kahinpour > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >