From owner-freebsd-questions@FreeBSD.ORG Sun Oct 19 08:47:57 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 9A6A816A4B3 for ; Sun, 19 Oct 2003 08:47:57 -0700 (PDT) Received: from smtp.netcabo.pt (smtp.netcabo.pt [212.113.174.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47DFD43FAF for ; Sun, 19 Oct 2003 08:47:56 -0700 (PDT) (envelope-from geek@netcabo.pt) Received: from smtp.netcabo.pt ([192.168.16.51]) by smtp.netcabo.pt with Microsoft SMTPSVC(5.0.2195.5329); Sun, 19 Oct 2003 16:44:44 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sun, 19 Oct 2003 16:44:43 +0100 Message-ID: <2305CFC39C15AA4896E06E5C91C509EF0374386E@VS2.hdi.tvcabo> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Printer configuration with CUPs thread-index: AcOWV+qNNUmD7EnBQMOwna/J4Rt2oQ== From: "geek" To: X-OriginalArrivalTime: 19 Oct 2003 15:44:44.0046 (UTC) FILETIME=[EAB382E0:01C39657] Subject: Printer configuration with CUPs 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: Sun, 19 Oct 2003 15:47:57 -0000 Is this process correct to install cups in a FreeBSD 4.9 = server/workstation to install my printer (HP 5150): # USB Stuff device usb device uhci device ulpt change this in the kernel (both workstation and server) .... usbd_enable=3D"YES" in /etc/rc.conf (server only) .... install: /usr/ports/print/ghostscript-gnu-nox11 (on server) and /usr/ports/print/ghostscript-gnu (on workstation) ...... install CUPS from ports in both, server and workstation .... rm /usr/bin/lpr (on both, server and workstation) .... cp /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh (on = both, server and workstation) ... Uncomment application/octet-stream in /usr/local/etc/cups/mime.types and = /usr/local/etc/cups/mime.convs (both workstation and server) .... Uncomment BrowseAddress @LOCAL in /usr/local/etc/cups/cupsd.conf = (workstation and server) is this all correct?! but when i try to print: lpr file lpr:error - scheduler not responding! or=20 lp file exec: /usr/bin/lpr: not found # ps -wax | grep cupsd 100 ?? Ss 0:00:09 /usr/local/sbin/cupsd ... so i chek www.freebsddiary.org/cups.html and i have to configure my printer in http://localhost:631/admin, but when i try to links http://localhost:631/admin from my server, the = answer is: "unauthorized" "this server could not verify that you're = authorized to access the resource" so .. what i have to do to have it working ? thank u very much!