From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 14:04:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5535116A4FA for ; Tue, 10 Jul 2007 14:04:40 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from eunet.yu (smtpclu-4.eunet.yu [194.247.192.229]) by mx1.freebsd.org (Postfix) with ESMTP id D8E9713C448 for ; Tue, 10 Jul 2007 14:04:39 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-235-248.eunet.yu [213.198.235.248]) by eunet.yu (8.13.6/8.13.6) with ESMTP id l6AE4VVo023496; Tue, 10 Jul 2007 16:04:32 +0200 Message-Id: <200707101404.l6AE4VVo023496@eunet.yu> Date: Tue, 10 Jul 2007 16:04:26 +0200 From: Nikola Lecic To: William Bulley In-Reply-To: <20070710134134.GD61945@dell1> References: <20070710134134.GD61945@dell1> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.13; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: freebsd-questions@freebsd.org Subject: Re: odd HP 1320 printer behaviour... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 14:04:40 -0000 On Tue, 10 Jul 2007 09:41:34 -0400 William Bulley wrote: > According to Nikola Lecic : > >=20 > > Do you have any ulpt0 configuration in /etc/rc.local? If the printer > > port is interrupt-driven, try polled standard mode, i.e. add > >=20 > > lptcontrol -p -d /dev/[printer-port] > >=20 > > to your /etc/rc.local. The kind of behaviour you described can > > occur in the interrupt mode (including cutting pages, printing them > > in chunks, etc.). > >=20 > > Also try to switch the printer to the parallel port; if both can > > serve the printer, I'd always use the parallel one. > >=20 > > If this doesn't help, please post here the content of > > your /etc/printcap and 'dmesg | grep ulpt0'. >=20 > I have no /etc/rc.local file on this machine. >=20 > Correct me if I am wrong, but doesn't lptcontrol(8) deal > with the parallel port printer? I have USB connected. > Parallel port connection is unfeasible in my situation. Yes, of course, sorry; I badly mixed paragraphs of my reply, my answer was intented to be a recommendation to switch to parallel port and then to try polled mode. > > "content of your /etc/printcap": >=20 > lp|default|hp|HP|ps|PS|Hewlett Packard LaserJet 1320 PostScript > Printer:\ :sh:\ > :lp=3D/dev/ulpt0:\ > :sd=3D/var/spool/lpd/hp:\ > :lf=3D/var/log/lpd-errs:\ > :mx#0: (Unrelated, do you have any special reason you don't have 'if' configured?) > > 'dmesg | grep ulpt0': >=20 > ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr > 5, iclass 7/1 ulpt0: using bi-directional mode > ulpt0: at uhub0 port 2 (addr 5) disconnected > ulpt0: detached > ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr > 5, iclass 7/1 ulpt0: using bi-directional mode > ulpt0: at uhub0 port 2 (addr 5) disconnected > ulpt0: detached > ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr > 5, iclass 7/1 ulpt0: using bi-directional mode > ulpt0: offline > ulpt0: at uhub0 port 2 (addr 5) disconnected > ulpt0: detached > ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr > 5, iclass 7/1 ulpt0: using bi-directional mode Well, try parallel port if you can; that is the simple way I resolved many painful printing problems in the past. I'd also try using print/apsfilter to configure printcap. Then you should surely know if it's a usb port issue. Nikola Le=C4=8Di=C4=87