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." FreeBSD 5.1-CURRENT i386 11:10PM up 1 day, 2:37, 1 user, load averages: 0.30, 0.31, 0.25
signature.asc
Description: This is a digitally signed message part