From owner-freebsd-questions@FreeBSD.ORG Sat Sep 27 09:39:07 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 67EA816A4B3 for ; Sat, 27 Sep 2003 09:39:07 -0700 (PDT) Received: from smtp018.mail.yahoo.com (smtp018.mail.yahoo.com [216.136.174.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 08C2A43FDD for ; Sat, 27 Sep 2003 09:39:06 -0700 (PDT) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?219.95.56.253?) (khairil?yusof@219.95.56.253 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 27 Sep 2003 16:39:05 -0000 From: Khairil Yusof To: Pieter Hustinx In-Reply-To: <20030927153317.35a99876.pieter.h@gmx.net> References: <20030927153317.35a99876.pieter.h@gmx.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fcks7gBonnFXIGtsWNHK" Message-Id: <1064680737.64899.96.camel@wolverine.home.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 28 Sep 2003 00:38:58 +0800 cc: "freebsd-questions@freebsd.org" Subject: Re: Problem 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: Sat, 27 Sep 2003 16:39:07 -0000 --=-fcks7gBonnFXIGtsWNHK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2003-09-27 at 21:33, Pieter Hustinx wrote: > With cups, i have added my printer, and printed a test page. > When i print wit lpr, it don't work. > # lpstat -p > printer dj930 is idle. > When i looked in /var/log/lpd-errs, I see there are errors: > lpd[364]: /dev/lp: No such file or directory This is an issue with base lp tools conflicting with cups lp tools. Meaning that cups has it's own lpr, but since /usr/bin is ahead of /usr/local/bin.. the system lpr will be run (which doesn't call the cups scheduler). You should not need to edit the /etc/printcap file either, you should edit your printer settings from the cups web admin. The steps I did to get cups working well with my HP PSC 2110 are: 1. install cups, foomatic-rip, hpijs from ports 2. download foomatic ppd for your printer from www.linuxprinting.org 3. put this in /usr/local/share/cups/model 4. make symbolic link for foomatic-rip to /usr/local/libexec/cups/filter #ln -s /usr/local/bin/foomatic-rip \ /usr/local/libexec/cups/filter/foomatic-rip 5. cd /usr/bin and mv lp utils lpr, lpq etc. as lpr.bak or whatever you like. 6. restart cupsd 7. setup your printer with cups (eg black and white, quality etc.) 8. Ok set to go (hopefully) :) There is a PR patch around I think which automates this for hpijs port, but it wasn't committed and doesn't apply cleanly anymore. -- "Optimized, readable, on time; Pick any two."=20 FreeBSD 5.1-CURRENT i386=20 11:10PM up 1 day, 2:37, 1 user, load averages: 0.30, 0.31, 0.25 --=-fcks7gBonnFXIGtsWNHK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/db0gDAqnLW/+/X8RArH8AKCCMh3y95ZQIFp65ZpeWX0EwE54NgCg19Oq 3KYarEduSoPnazWx1jI53Jo= =cI0S -----END PGP SIGNATURE----- --=-fcks7gBonnFXIGtsWNHK--