Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2003 00:38:58 +0800
From:      Khairil Yusof <kaeru@pd.jaring.my>
To:        Pieter Hustinx <pieter.h@gmx.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Problem with cups
Message-ID:  <1064680737.64899.96.camel@wolverine.home.net>
In-Reply-To: <20030927153317.35a99876.pieter.h@gmx.net>
References:  <20030927153317.35a99876.pieter.h@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1064680737.64899.96.camel>