Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 16:04:26 +0200
From:      Nikola Lecic <nlecic@EUnet.yu>
To:        William Bulley <web@umich.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: odd HP 1320 printer behaviour...
Message-ID:  <200707101404.l6AE4VVo023496@eunet.yu>
In-Reply-To: <20070710134134.GD61945@dell1>
References:  <20070710134134.GD61945@dell1>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 10 Jul 2007 09:41:34 -0400
William Bulley <web@umich.edu> wrote:

> According to Nikola Lecic <nlecic@EUnet.yu>:
> >=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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200707101404.l6AE4VVo023496>