From owner-freebsd-questions@FreeBSD.ORG Thu Jul 28 19:22:03 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 571661065673 for ; Thu, 28 Jul 2011 19:22:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id DC9D08FC1B for ; Thu, 28 Jul 2011 19:22:02 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p6SJM1Zj034325; Thu, 28 Jul 2011 13:22:01 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p6SJM1IT034322; Thu, 28 Jul 2011 13:22:01 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 28 Jul 2011 13:22:01 -0600 (MDT) From: Warren Block To: Antonio Olivares In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-883430824-1311880921=:34300" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 28 Jul 2011 13:22:01 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: printing to a HP Deskjet 812C printer 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, 28 Jul 2011 19:22:03 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-883430824-1311880921=:34300 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 27 Jul 2011, Antonio Olivares wrote: > On Wed, Jul 27, 2011 at 8:05 PM, Antonio Olivares > wrote: >> @ all, >> >> I restarted machine and I can print from command line :) >> >> [olivares@quadcore ~/Documents]$ cat Document1.txt |  lpr -P Deskjet >> [olivares@quadcore ~/Documents]$ lpq -a >> Deskjet: >> Deskjet is ready and printing >> Rank   Owner      Job  Files                                 Total Size >> active olivares   2    (standard input)                      10405 bytes >> >> [olivares@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. ---902635197-883430824-1311880921=:34300--