From owner-freebsd-questions@FreeBSD.ORG Mon Feb 19 16:42:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E56B16A400 for ; Mon, 19 Feb 2007 16:42:23 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 1379913C4B7 for ; Mon, 19 Feb 2007 16:42:22 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id l1JGgKNf010042; Mon, 19 Feb 2007 17:42:21 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 7DDF0B85C; Mon, 19 Feb 2007 17:42:20 +0100 (CET) Date: Mon, 19 Feb 2007 17:42:20 +0100 From: Roland Smith To: AN Message-ID: <20070219164220.GA43735@slackbox.xs4all.nl> Mail-Followup-To: AN , freebsd-questions@freebsd.org References: <20070218215935.I54116@neu.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20070218215935.I54116@neu.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: CUPS printing problem 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, 19 Feb 2007 16:42:23 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 18, 2007 at 10:04:45PM +0000, AN wrote: > I am having a problem printing from CUPS. I did a fresh install on 6.2= =20 > release and cups-1.2.7. I am trying to configure for an HP1022. The=20 > install was successful, and I can manage the printer from the web=20 > interface. But, when I try to print a test page, the light on the printe= r=20 > starts flashing but nothing gets printed. The printer admin page shows= =20 > the following: > Description: HP1022 > Location: office > Make and Model: HP LaserJet Series PCL 4/5 CUPS v1.2 > Printer State: idle, accepting jobs, published. > Device URI: socket://10.0.1.222:9100 > ID Name User Size Pages State Control State > HP1022-1 Test Page root 18k Unknown stopped >=20 > So, it appears that after I send the job the printer goes into "Stopped"= =20 > state. > I checked the logs, and there is something I don't understand. It says: > cupsdAuthorize: No authentication data provided > What does this mean? Where do you set authentication? Is this the cause= =20 > of the problem, or a symptom of something else? One thing you need to check is the access rights to the printer device. The device that you want to print to (e.g. /dev/lpt0) needs to belong to the "cups" group (which should exist, along with an unprivileged user named "cups"), and that group needs to have read/write access. If you are using a parallel port printer, add the following to devfs.conf(5) and reboot, or use chown/chmod to correctly set the values: # Give cups printer access own lpt0 root:cups perm lpt0 0660 If you are using for instance a USB printer, you need to add the following to your ruleset in devfs.rules(5)and reboot, or use chown/chmod to correctly set the values: add path 'ulpt*' mode 0660 group cups HTH, Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF2dNsEnfvsMMhpyURAnxeAKCEZcPGtt7v1glvgHDqK0OqsJ/9swCfZVA0 245rn9qUVeIYU0Mj/1dfkYs= =rauG -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--