From owner-freebsd-questions@FreeBSD.ORG Mon Apr 20 15:47:09 2009 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 5C4861065670 for ; Mon, 20 Apr 2009 15:47:09 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id C08E78FC18 for ; Mon, 20 Apr 2009 15:47:08 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-4471176.home.otenet.gr [94.71.121.120]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n3KFl6rZ012164; Mon, 20 Apr 2009 18:47:06 +0300 Message-ID: <49EC98FA.8010404@otenet.gr> Date: Mon, 20 Apr 2009 18:47:06 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: weif@weif.net References: <20090420145839.5D396A3DC7@maxine.cjones.org> In-Reply-To: <20090420145839.5D396A3DC7@maxine.cjones.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Can you ACTUALLY print from FreeBSD? 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: Mon, 20 Apr 2009 15:47:09 -0000 Keith Seyffarth wrote: > I'm trying to print from my FreeBSD machine. I've been through a > number of online tutorials and instructions on printing from Unix or > FreeBSD in particular, but they all seem to start with the assumption > that printing from the machine is possible. I'm trying to get to that > starting point. > > I have installed: > > cups-base-1.3.9_3 Common UNIX Printing System > cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files > cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers > gutenprint-cups-5.1.7_3 GutenPrint Printer Driver > libgnomecups-0.2.3_1,1 Support library for gnome cups admistration > hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device > > The printer I'm working with is a HP Officejet 4110. > > Follow the instructions here: http://desktopbsd.net/wiki/doku.php?id=doc:printing (prefer to build from ports rather than adding the packages as the instructions suggest) Note there are two files with permissions, devfs.conf and devfs.rules - you must make entries in both. One is for devices found during startup, the other for devices that are hot-plugged afterwards. cupsd_enable="YES" should do the trick in rc.conf - nothing else needed to start cups as a service. Also note that cups has an lpr compatible interface, but should you wish to print from the command line using cups, you will have to usr /usr/local/bin/lpr to make sure you are running the cups' executable of lpr. Generally you should not need to touch any other cups related files to make it work. Just visit the web interface at http://localhost:631 and make any settings there.