Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 21:21:48 +0330
From:      Bahman Kahinpour <>
Subject:   Printing from inside the applications in FreeBSD 8.1 with CUPS
Message-ID:  <>

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

cat ~/ | /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: <>