Date: Thu, 27 Jan 2011 21:21:48 +0330 From: Bahman Kahinpour <bahman.linux@gmail.com> To: freebsd-questions@freebsd.org Subject: Printing from inside the applications in FreeBSD 8.1 with CUPS Message-ID: <AANLkTi=nxzivgx4fz-XBLkAFCH7A1GqOAXJxO32ZVzb1@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=nxzivgx4fz-XBLkAFCH7A1GqOAXJxO32ZVzb1>