Re: Printing problem with CUPS && LPD
At 12:16 PM +0100 11/12/05, Frank Staals wrote: Hey, I have a HP LaserJet 1010 and I was trying to get it working with FreeBSD, so I installed CUPS and configured it to recoginize the printer and it does, I can successfully print a testpage using the webinterface. So I was trying to print a file from commandline with lpr, but there is something weird. This is the ouput of lpstat: [EMAIL PROTECTED] lpstat -p -v -d printer HP1010 is idle. enabled since Jan 01 00:00 CUPS v1.1.23 is ready to print. device for HP1010: usb:/dev/ulpt0 system default destination: HP1010 but when I try printing a file using the command: [EMAIL PROTECTED] lpr -PHP1010 /etc/motd this shows up at my dmesg : Nov 12 12:05:16 Print lpd[1905]: /dev/lp: No such file or directory LPD is trying to print to /dev/lp instead of /dev/ulpt0, but ... Does CUPS install its own version of `lpr'? I suspect it does. See if you have a /usr/local/bin/lpr in addition to /usr/bin/lpr. If you do, then see if that version of lpr works. What you probably need to do is remove /usr/bin/lpr, or make it into a symlink to /usr/local/bin/lpr. You would also want to add to /etc/make.conf a line something like: NO_LPR=yes -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Printing problem with CUPS && LPD
Hey, I have a HP LaserJet 1010 and I was trying to get it working with FreeBSD, so I installed CUPS and configured it to recoginize the printer and it does, I can successfully print a testpage using the webinterface. So I was trying to print a file from commandline with lpr, but there is something weird. This is the ouput of lpstat: [EMAIL PROTECTED] lpstat -p -v -d printer HP1010 is idle. enabled since Jan 01 00:00 CUPS v1.1.23 is ready to print. device for HP1010: usb:/dev/ulpt0 system default destination: HP1010 but when I try printing a file using the command: [EMAIL PROTECTED] lpr -PHP1010 /etc/motd this shows up at my dmesg : Nov 12 12:05:16 Print lpd[1905]: /dev/lp: No such file or directory LPD is trying to print to /dev/lp instead of /dev/ulpt0, but I don't know how to fix it. I tried symlinking /dev/lp to /dev/ulpt0 but that wouldn't do the trick. I hope someone has an idea of what I'm doing wrong? Here some additional information: [EMAIL PROTECTED] uname -a FreeBSD Print.FStaals.LAN 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 [EMAIL PROTECTED] cat /etc/printcap # This file was automatically generated by cupsd(8) from the # /usr/local/etc/cups/printers.conf file. All changes to this file # will be lost. HP1010|HP1010:rm=Print.FStaals.LAN:rp=HP1010: [EMAIL PROTECTED] ps -aux | grep cups root 1941 1.0 0.5 1436 584 p0 DL+ 12:15PM 0:00.01 grep cups root586 0.0 1.0 4704 1208 ?? Ss 11:11AM 0:00.98 cupsd [EMAIL PROTECTED] ps -aux | grep lpd root566 0.0 0.6 1260 716 ?? Is 11:09AM 0:00.04 lpd root 1943 0.0 0.0 128 8 p0 R+ 12:15PM 0:00.00 grep lpd (bash) - Thanks in advance -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with cups
On Sun, Sep 28, 2003 at 01:29:54AM +0800, Khairil Yusof wrote: > On Sun, 2003-09-28 at 01:01, Todd Stephens wrote: > > > When you say foomatic-rip from ports, is this the foomatic-db port? > > I cannot find a port for foomatic-rip (which I thought was just a > > Perl script anyway). I eventually gave up on foomatic with my Epson > > C82 and used the "straight" Epson C82 driver from the gimp-print > > collection. > > Whoops.. my bad. > > This was actually installed with patches to hpijs from this PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/54156 I sent that PR in, a long time ago. > I wonder why it wasn't committed since July. Please send an e-mail to Doug Barton <[EMAIL PROTECTED]> about this. I have been trying to gently prod him to commit the patches but it has gone nowhere. > You need to install the foomatic-db port.. I do not think that is true. The OP said he had a 930c and the ppd for that is installed with the _patched_ hpijs. -- Glenn Johnson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with cups
On Saturday 27 September 2003 01:29 pm, Khairil Yusof wrote: > For Epson printers.. gimp-print already gives you the best results > and it's already configured automatically by the port install of > gimp-print if you already have cups. > > For hpijs though, it isn't. I see. I have noticed that my results without foomatic were just as good as they were with foomatic under Linux. Thank you for the clarification. -- Todd Stephens "Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws." - Plato ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with cups
On Sun, 2003-09-28 at 01:01, Todd Stephens wrote: > When you say foomatic-rip from ports, is this the foomatic-db port? I > cannot find a port for foomatic-rip (which I thought was just a Perl > script anyway). I eventually gave up on foomatic with my Epson C82 and > used the "straight" Epson C82 driver from the gimp-print collection. Whoops.. my bad. This was actually installed with patches to hpijs from this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/54156 I wonder why it wasn't committed since July. You need to install the foomatic-db port.. But you can download foomatic-rip from www.linuxprinting.org and yes it is just a perl script to configure options to control printer driver options and filters. For Epson printers.. gimp-print already gives you the best results and it's already configured automatically by the port install of gimp-print if you already have cups. For hpijs though, it isn't. -- "Optimized, readable, on time; Pick any two." FreeBSD 5.1-CURRENT i386 1:18AM up 1 day, 4:45, 3 users, load averages: 0.66, 0.80, 0.67 signature.asc Description: This is a digitally signed message part
Re: Problem with cups
On Saturday 27 September 2003 12:38 pm, Khairil Yusof wrote: > > The steps I did to get cups working well with my HP PSC 2110 are: > > 1. install cups, foomatic-rip, hpijs from ports When you say foomatic-rip from ports, is this the foomatic-db port? I cannot find a port for foomatic-rip (which I thought was just a Perl script anyway). I eventually gave up on foomatic with my Epson C82 and used the "straight" Epson C82 driver from the gimp-print collection. -- Todd Stephens "A witty saying proves nothing." -Voltaire ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with cups
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
Problem with cups
Hi, I'm trying to install a HP deskjet 930c printer. I'm running FreeBSD 4.8, with cups 1.1.19 and hpijs 1.4.1. 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 I've edit /etc/printcap, so i can print black/white. How can I use cups without errors? -- Greetz, Pieter http://pieter.hustinx.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"