From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 12:57:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1006716A4BF for ; Mon, 8 Sep 2003 12:57:56 -0700 (PDT) Received: from pima.hostsharing.net (www.hostsharing.net [212.42.230.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43A0B43F93 for ; Mon, 8 Sep 2003 12:57:54 -0700 (PDT) (envelope-from riesebie@lxtec.de) Received: from mail.home.lxtec.de (pD9548ED9.dip.t-dialin.net [217.84.142.217]) by pima.hostsharing.net (Postfix) with ESMTP id D50F32CE9C2 for ; Mon, 8 Sep 2003 21:57:52 +0200 (CEST) Received: from amavis by mail.home.lxtec.de with scanned-ok (Exim 3.36 1 (Debian)) id 19wS91-0005o4-00 for ; Mon, 08 Sep 2003 21:57:51 +0200 Received: from laptopriesebel.home.lxtec.de ([192.168.200.211] ident=mail) by mail.home.lxtec.de with esmtp (Exim 3.36 1 (Debian)) id 19wS8x-0005ns-00 for ; Mon, 08 Sep 2003 21:57:47 +0200 Received: from amavis by laptopriesebel.home.lxtec.de with scanned-ok (Exim 4.22 #1 (Debian) +lxtec) id 19wS8w-0000K6-6U for ; Mon, 08 Sep 2003 21:57:46 +0200 Received: from riesebie by laptopriesebel.home.lxtec.de with local (Exim 4.22 #1 (Debian) +lxtec) id 19wS8s-0000Jx-DG for ; Mon, 08 Sep 2003 21:57:42 +0200 Date: Mon, 8 Sep 2003 21:57:42 +0200 From: Elimar Riesebieter To: freebsd-questions Message-ID: <20030908195742.GA1147@laptopriesebel.home.lxtec.de> Mail-Followup-To: freebsd-questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline Organization: LXTEC X-gnupg-key-fingerprint: BE65 85E4 4867 7E9B 1F2A B2CE DC88 3C6E C54F 7FB0 User-Agent: Mutt/1.5.4i Sender: Elimar Riesebieter X-Virus-Scanned: by AMaViS 0.3.12 Subject: LPRng doesn't work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 19:57:56 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I`ve setup a 5.1RELEASE box and want to configure my printer. $ pkg_info | grep -i lprng LPRng-3.8.21 LPRngTool-1.3.2 ifhp-3.5.7 $ dmesg | grep lpt lpt0: on ppbus0 lpt0: Interrupt-driven port I get some output when I lptest > /dev/lpt0. $ grep -v '#' /etc/printcap lp :force_localhost@ :cm=3DParalell Port Printer :filter=3D/usr/local/libexec/filters/ifhp :ifhp=3Dmodel=3Dpcl_gs,status,sync,pagecount,waitend :lp=3D/dev/lpt0 :lprngtooloptions=3DFILTERTYPE=3D"IFHP" \ IFHP_OPTIONS=3D"status,sync,pagecount,waitend" PRINTERDB_ENTRY=3D"pcl_gs" :mx=3D0 :prefix_z=3D300,a4 :rw :sd=3D/var/spool/lpd/%P :sh $ lpq -a Printer 'lp@localhost' - no network support for 'lpq' operation Print jobs are stalled in /var/spool/lp. there seems to be a permission problem as well: $ checkpc -P lp Warning - lp: cannot open lp device '/dev/lpt0' - Permission denied $ ls -al /dev/lpt0 crw------- 1 root wheel 16, 0 Sep 8 21:22 /dev/lpt0 Are there any hints? Googleing the error messages didn't create any output for me :-( Thanks in advance Elimar --=20 Experience is something you don't get until=20 just after you need it! --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/XN823Ig8bsVPf7ARAjeKAJ90iAKXM3saGb/VU2oGNfmC6pwTPACgjDRP djIlaNKxgYMePgXm8e3gPxM= =w1P4 -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--