From owner-freebsd-questions@FreeBSD.ORG Sat Aug 9 05:44:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 775D16DA for ; Sat, 9 Aug 2014 05:44:13 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39CEA2088 for ; Sat, 9 Aug 2014 05:44:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-111-1.dynamic.qsc.de [92.195.111.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 335453CBE0; Sat, 9 Aug 2014 07:44:03 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s795i3cM002763; Sat, 9 Aug 2014 07:44:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Aug 2014 07:44:03 +0200 From: Polytropon To: Martin Alejandro Paredes Sanchez Subject: Re: Print using LPR/LPD from Chromium Message-Id: <20140809074403.a9658f69.freebsd@edvax.de> In-Reply-To: <20140808223746.7517dc74@morena.maps.net> References: <20140808193510.64fe7f57@morena.maps.net> <20140809052511.dd111b4b.freebsd@edvax.de> <20140808223746.7517dc74@morena.maps.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2014 05:44:13 -0000 On Fri, 8 Aug 2014 22:37:46 -0700, Martin Alejandro Paredes Sanchez wrote: > El Sat, 09 Aug 2014 05:25:11 +0200 > Polytropon escribi=F3: > > On Fri, 8 Aug 2014 19:35:10 -0700, Martin Alejandro Paredes Sanchez > > wrote: > > > I am trying to print from Chromium, but in the dialog, only appear > > > one option > > >=20 > > > Print to a file > > >=20 > > > From Claws Mail appear the option > > >=20 > > > Print to LPR > >=20 > > Do you have a printer installed? It's possible that the two > > programs mentioned require CUPS for printing and won't work > > when just the system's printing service is installed. >=20 > Yes, I have a printer installed, a HP LaserJet 1018, I can print from > CLI and from others programs Okay, in this case you've probably met some of the (luckily few) programs that do not play well with system means for printing. For example, I know that I needed to install CUPS to be able to print from the Opera web browser (even though I actually have no need for CUPS). So a possible solution would be to first examine if the programs in question rely on CUPS, and then you go ahead and install it; make sure to disable system's LPR facility or have the CUPS installation process replace the system tools (check "make config" for the CUPS port). Others than that, I could imagine (NB: not tested!) that some programs check if $PRINTER is defined, which usually isn't when you use the default printer name "lp". I have installed my Laserjet (HP LJ4000 DN) printer with the name "Laserjet" and set $PRINTER accordingly. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...