Thanks to:
Janne <janne_at_appelsiini.net>
Baranyai Pal <bp_at_vma.bme.hu>
Fabio Bossi <fabio.bossi_at_jrc.it>
Pirie Hart <pirie_at_u.washington.edu>
Phil L. <philip_at_uvo.dec.com>
Marco Luchini <m.luchini_at_ic.ac.uk>
Tim W. Janes <janes_at_signal.dra.hmg.gb>
Shiu Tin <shiu_at_rsphy1.anu.edu.au>
Steve Hagan <hagan_at_gidday.ENET.dec.com>
Hellebo Knut <Knut.Hellebo_at_nho.hydro.com>
Zhenya Gurvich <gurvich_at_alphacc.tau.ac.il>
Marcel Bernards <bernards_at_ecn.nl>
P.de Cuzey <phid_at_nea.fr>
Tom Foley <TFoley_at_eng.uab.edu>
...and to everybody whose reply is still on the net...
Dear OSF-managers,
the most definite point is that DU (at least for v3.2d and earlier) does not
support bi-directional printing on the parallel port, therefore you should
not have a ":rw" field in /etc/printcap.
Moreover, I had an obvious mistake in the ":lp=" field, which was
":lp=/dev:\" instead of ":lp=/dev/lp0\".
As soon as I changed these points, the system started working properly.
Thanks to all of you,
Rosella Favino
SysAdm University of Padua - Italy
-------8<--------
I am trying to connect a HP LaserJet III to an Alpha 255 running DU v.4.0
(but the same misbehaviour was present in 3.2D as well) through the computer
parallel port. The printer is set up to work with its parallel port.
I used system utilities, e.g. lprsetup or the 4.0 graphic tool, and got the
following /etc/printcap:
lp|lp0|0|hpIII:\
:af=/usr/adm/lpacct:\
:if=/usr/lbin/hplaserof:\
:lf=/usr/adm/lperr:\
:lp=/dev:\
:mx#0:\
:of=/usr/lbin/hplaserof:\
:pl#66:\
:pw#80:\
:rw:\
:sd=/usr/spool/lpd:\
:xf=/usr/lbin/xf:
and the following special file:
file /dev/lp0
/dev/lp0: character special (34/0)
I can't print using utilities as interface to lpd (e.g. lpr), as the printer
is seen as follows:
>lpr prova6.log
> lpstat -t
System default destination: lp
Scheduler is running
Output for printer lp is sent to /dev
lp:
printer is on device '/dev' speed -1
queuing is enabled
printing is enabled
1 entry in spool area
Tue Sep 10 15:51:03 1996: waiting for lp to become ready (offline ?)
Requests on lp:
Tue Sep 10 15:51:03 1996: waiting for lp to become ready (offline ?)
Rank Pri Owner Job Files Total Size
1st 0 giamp 1 prova6.log 379 bytes
But writing directly to the special file I get something printed
>cat - >> /dev/lp0
What's wrong with that machine?
------------->8-----------------------
Received on Wed Sep 11 1996 - 15:34:10 NZST