From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 18:21:59 2008 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 ED567106564A for ; Mon, 21 Apr 2008 18:21:59 +0000 (UTC) (envelope-from davidrjr@comcast.net) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id A15AE8FC19 for ; Mon, 21 Apr 2008 18:21:59 +0000 (UTC) (envelope-from davidrjr@comcast.net) Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA01.westchester.pa.mail.comcast.net with comcast id GD1V1Z00C0SCNGk510jD00; Mon, 21 Apr 2008 18:05:58 +0000 Received: from [192.168.1.100] ([67.184.16.41]) by OMTA09.westchester.pa.mail.comcast.net with comcast id GJ5x1Z0050t9eDP3V00000; Mon, 21 Apr 2008 18:05:58 +0000 X-Authority-Analysis: v=1.0 c=1 a=1IHjUKyG6MsA:10 a=fyjL7jo9T34A:10 a=lf6w6jjFtJ3sispf1JMA:9 a=dmNFij03e849Y24tvyoA:7 a=JThJ1MTpVcLecvXly0Od7xhMGx4A:4 a=0GAXQCegJh8A:10 From: David Reedy Jr To: FreeBSD-questions@freebsd.org Date: Mon, 21 Apr 2008 13:05:56 -0500 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804211305.56895.davidrjr@comcast.net> Cc: Subject: Unable to open device file "/dev/lpt0": Permission denied 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, 21 Apr 2008 18:22:00 -0000 Small home network. Trying to get cups working on my server. FreeBSD 7.0-RELEASE #4: Tue Apr 15 11:01:37 CDT 2008 root@omega.myhome.net:/usr/obj/usr/src/sys/OMEGA ... ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] ppbus0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: PRINTER HP ENHANCED PCL5,PJL lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] ... As you can see, I have a LaserJet attached to the parallel port. Here is my printers.conf. # Printer configuration file for CUPS v1.3.7 # Written by cupsd on 2008-04-21 12:16 Info HP LaserJet 6L Location Top DeviceURI parallel:/dev/lpt0 State Stopped StateMessage Unable to open device file "/dev/lpt0": Permission denied StateTime 1208798191 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 AllowUser root AllowUser davidrjr OpPolicy default ErrorPolicy stop-printer Trying to print a test page from the cups web interface on a client machine, I get the error message. Doing chmod 777 /dev/lpt0 does not change anything. Can somebody tell me what I've done wrong or point me in the direction I should be looking? Dave