Date: Thu, 22 Apr 2010 19:07:02 +0200 From: =?ISO-8859-15?Q?Frank_Wi=DFmann?= <frank.wissmann41@web.de> To: freebsd-questions@FreeBSD.org Subject: Problems with printing Message-ID: <4BD08236.8060706@web.de>
next in thread | raw e-mail | index | archive | help
Hello, list! I'm facing serious problems with my new bought HP ColorLaserjet 2025dn. I plugged it in the right interface and it got detected. I did set up /etc/printcap as following: p|local line printer|HPColorLaserjet:\ :lp=/dev/ulpt0:\ :sh:\ :mx#0:\ :sd=/var/spool/lpd/HPColorLaserjet:\ # :if=/usr/local/libexec/ps2pcl:\ :if=/usr/local/libexec/psif:\ :lf=/var/log/lpd-errs: where the filter "psif" is like this: #!/bin/sh IFS="" read -r first_line first_two_chars=`expr "$first_line" : `\(..\)'' case "$first_two_chars" in %!|\033%%) # %! or ESC% : PostScript job, print it. echo "$first_line" && cat && printf "\004" && exit 0 exit 2 ;; *) # otherwise, format with enscript ( echo "$first_line"; cat ) \ | /usr/local/bin/enscript -o - && printf "\004" && exit 0 exit 2 ;; esac When I now start printing from Firefox the printer does no job except of printing out the following message: Unknown device: HPColorLaserjet Unrecoverable error: undefined in .uninstalledpaged rand stack:\ defaultdevice Later on I got this mail by the system: Mail version 8.1 6/6/93. Type ? for help. "/var/mail/frank": 1 message 1 new >N 1 daemon@grissom.einun Thu Apr 22 18:11 20/889 "lp printer job "<unknown>"" & 1 Message 1: From daemon@grissom.einundvierzig.org Thu Apr 22 18:11:44 2010 Date: Thu, 22 Apr 2010 18:11:44 +0200 (CEST) From: Owner of many system processes <daemon@grissom.einundvierzig.org> To: frank@grissom.einundvierzig.org Subject: lp printer job "<unknown>" Your printer job could not be printed /var/log/lpd-errs contains the following: Apr 22 18:11:34 grissom lpd[7465]: lp: job could not be printed (cfA009grissom.einundvierzig.org) Apr 22 18:11:44 grissom lpd[7465]: mail sent to user frank about job <unknown> on printer lp (FATALERR) and "dmesg" says: ugen1.3: <Hewlett-Packard> at usbus1 ulpt0: <Printer> on usbus1 ulpt0: using bi-directional mode ulpt0: offline What can I do now? Has anybody any clue for me where to look? Greetings Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD08236.8060706>