From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 17:06:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13797106577B for ; Thu, 22 Apr 2010 17:06:24 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9D96C8FC1D for ; Thu, 22 Apr 2010 17:06:23 +0000 (UTC) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 3CC2015E6B3D9 for ; Thu, 22 Apr 2010 19:06:22 +0200 (CEST) Received: from [77.176.203.45] (helo=grissom.einundvierzig.org) by smtp06.web.de with asmtp (WEB.DE 4.110 #4) id 1O4zr4-0007Jk-00 for freebsd-questions@FreeBSD.org; Thu, 22 Apr 2010 19:06:22 +0200 Message-ID: <4BD08236.8060706@web.de> Date: Thu, 22 Apr 2010 19:07:02 +0200 From: =?ISO-8859-15?Q?Frank_Wi=DFmann?= User-Agent: Thunderbird 2.0.0.23 (X11/20091214) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: frank.wissmann41@web.de X-Sender: frank.wissmann41@web.de X-Provags-ID: V01U2FsdGVkX18s6We7fzhEKAhpaukXq3tcVxd599b+vfVEyx8y sD8FIwh/JYLZzhv4ddvtINJ+Ru+UmrEQ2NaLl+1FO0h5CP0dSj azzd9oaEsge+9Az10spA== Cc: Subject: Problems with printing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank.wissmann41@web.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 17:06:24 -0000 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 """ & 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 To: frank@grissom.einundvierzig.org Subject: lp printer job "" 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 on printer lp (FATALERR) and "dmesg" says: ugen1.3: at usbus1 ulpt0: 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)