From owner-freebsd-questions@FreeBSD.ORG Sun Mar 21 01:43:13 2004 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 9DEAF16A4CE for ; Sun, 21 Mar 2004 01:43:13 -0800 (PST) Received: from hotmail.com (bay16-f26.bay16.hotmail.com [65.54.186.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A42E43D1D for ; Sun, 21 Mar 2004 01:43:13 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 21 Mar 2004 01:43:13 -0800 Received: from 218.85.103.211 by by16fd.bay16.hotmail.msn.com with HTTP; Sun, 21 Mar 2004 09:43:13 GMT X-Originating-IP: [218.85.103.211] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: questions@freebsd.org Date: Sun, 21 Mar 2004 17:43:13 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 21 Mar 2004 09:43:13.0587 (UTC) FILETIME=[EDCBA030:01C40F28] Subject: Re: configure CUPS without web interface problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 09:43:13 -0000 Zhang Weiwu wrote: > So i send a text file to the print: > > dino# lpr -PS100 .cshrc > lpr: Unable to connect to /var/run/printer: No such file or directory > lpr: Check to see if the master 'lpd' process is running. > jobs queued, but cannot start daemon. > > It seems I still need to run smothing called lpd? Why? The manual didn't ask me to do so. I luckily found this article from freebsdbsddiary http://www.freebsddiary.org/cups.php Nice article. I realized I should call /usr/local/bin/lpr rather than /usr/bin/lpr. Now the printer is working. And it seems I cannot go to 631 port because of "permission denied". I think I can fix it soon. _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn