Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 17:05:13 -0600 (CST)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        bahman.linux@gmail.com, freebsd-questions@freebsd.org
Subject:   Re: Printing from inside the applications in FreeBSD 8.1 with CUPS
Message-ID:  <201101272305.p0RN5DZg084469@mail.r-bonomi.com>
In-Reply-To: <AANLkTi=nxzivgx4fz-XBLkAFCH7A1GqOAXJxO32ZVzb1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <bahman.linux@gmail.com>
> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101272305.p0RN5DZg084469>