printing to a HP Deskjet 812C printer

Warren Block wblock at
Thu Jul 28 19:22:03 UTC 2011

On Wed, 27 Jul 2011, Antonio Olivares wrote:

> On Wed, Jul 27, 2011 at 8:05 PM, Antonio Olivares
> <olivares14031 at> wrote:
>> @ all,
>> I restarted machine and I can print from command line :)
>> [olivares at quadcore ~/Documents]$ cat Document1.txt |  lpr -P Deskjet
>> [olivares at quadcore ~/Documents]$ lpq -a
>> Deskjet:
>> Deskjet is ready and printing
>> Rank   Owner      Job  Files                                 Total Size
>> active olivares   2    (standard input)                      10405 bytes
>> [olivares at quadcore ~/Documents]$
>> Now how do I configure apps like Firefox, evince, LibreOffice to print?
> Ok I have figured it out :)
> I need to change `lpr` to `lpr -P Deskjet` and it will print.

lpr uses the "lp" queue by default.  If that queue is capable of 
accepting PostScript (with a filter, in this case), all that's needed is 
for the application to use lpr.

More information about the freebsd-questions mailing list