Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jonas@beor.informatik.rwth-aachen.de (Josef Nelissen)
Subject: printcap entry for network HP LJ 4 and 5000/240
Date: 19 Jan 94 08:07:26 GMT	[thread overview]
Message-ID: <jonas.758966846@beor> (raw)

Hi netters,

yesterday I ran into some trouble connecting a network HP Laserjet 4M
to a DecStation 5000/240, ultrix 4.3.

Please note first that this isn't my regular work, but I tried to do a
favour to my wife's company where all employees have even less
knowledge of Unix and computers than me (though I don't even imagined
this would be possible :-).

The printer is equipped with a Pacific Net Card, and connecting it to
the Ethernet along the lines given by the manual of the card was no
problem at all. I assigned an IP adress to the printer as hp4 and
pinging and the like worked well.

But now the manual left me: There were only hints as to setting up the
printer on SUNs, HPs or IBM AIXs - no DEC instructions at all.  I used
the lprsetup tool to set up the printcap entry as good as possible,
using the SUN sample. Note that I had only the printcap(5) manual
entry at hand, as the "Guide to System Environment Setup" or the like,
which is referenced there wasn't available (thus RTFM is not the
advice I'm looking for).

I tried many different entries with regard to the ct, lp, rm, and rp
entry, but the best I could accomplish was that postscript files were
printed correctly, but ascii files got messed up; line feeds weren't
transformed to line feeds + carriage return, resulting in a output
like

This is a
          linebreak
	            test

moreover I had to apply form feed manually for files shorter than one
page. The printcap entry used was 

hp4|HP LaserJet IV M|:\
	:af=/usr/adm/hp4acct:\
	:ct=remote:\
	:if=/usr/lib/lpdfilters/ln03rof:\
	:lf=/usr/adm/hp4err:\
	:lp=:\
	:mx#0:\
	:of=/usr/lib/lpdfilters/ln03rof:\
	:pl#72:\
	:pw#80:\
	:rm=hp4:\
	:rp=lp:\
	:sd=/usr/spool/hp4:\
	:sh:
	:uv=4.0:\
	:xc#0177777:\
	:xf=/usr/lib/lpdfilters/xf:\
	:Xf=xlator_call

Note that I used "lpr -Php4 <ascii file>" to print the ascii files.
Using "lpr -Php4 -Dascii <ascii file>" didn't print anything at all,
though the green flash indicated that actually something reached the
printer (though I didn't test this on my own, but I was told by a
person I trust in :-).

It seems to me that the output filter isn't applied to ascii file, but
I have no idea how to fix this.

Can please anybody enlighten me how to change the printcap entry to
accomplish a proper behaviour?!?

On a related note: The laserjet printer is installed via pathworks as
well, printing from windows works (thanks to postscript :-), but using
netprint results in a "device not redirected" error message (that's
second hand information as well).

Any clue on this one?

Any help would be appreciated, answers by e-mail preferred.

Thanx in advance

Josef

-- 
Josef Nelissen, Lehrstuhl fuer Angewandte Mathematik, insbesondere Informatik,
RWTH-Aachen, Ahornstr. 55, D-52074 Aachen, Germany, Tel. +49 241/80-21060,
FAX +49 241/80-21079, e-mail jonas@beor.informatik.rwth-aachen.de
*************Experience is what you have got after you needed it.************* 


             reply	other threads:[~1994-01-19  8:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-19  8:07 Josef Nelissen [this message]
1994-01-19 16:59 ` printcap entry for network HP LJ 4 and 5000/240 AJ Casamento
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox