🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.laser-printers
Article #507

Problems printing from Sun386i to HPLJ III

#507
From: Larry Wagner
Date: Tue, 09 Apr 1991 20:04
66 lines
2794 bytes
I was informed that this may be a better group to ask this question, so here it is.

I have recently recieved an HP Laserjet III printer which has
replaced an HP Laserjet II.  The LJ III was just substituted in place of the
LJ II.  No problems were evident with the LJ II, but the LJ III will not
complete print jobs (except small ones under a couple of pages) - leaving
the formfeed indicator on instead of finishing the print job.  This occurs
regardless of whether the files have been sent via lpr or through PC-NFS
using WP5.1 on PCs.  The following error message occurs on the console
every time the problem occurs:


<<< Tue Apr  9 09:09:07 1991 >>>
cat: write error: No such device or address



The following is the /etc/ypprintcap entry pertinent to this printer.  It
is essentially identical to the default one supplied for a LJ II on Sun 386i
machines.

/etc/ypprintcap
---------------
# NOTICE: This file is automatically maintained. If
# you edit it manually, make sure you use the correct format.

generic_hp:pw#80:pl#60:sh:ms=-parity,-cstopb,-clocal,-cread,crtscts,ixon,-opost:of=/usr/lib/hplaserjet:

lp1|chepil-tty02:lp=/dev/tty02:br#19200:rm=chepil:rp=lp1:sd=/var/spool/lp1:tc=generic_hp:


Here is the hplaserjet filter script:

/usr/lib/hplaserjet
-------------------

#!/bin/csh -f
#
# @(#)hplaserjet 1.1 88/10/27 Sun Microsystems Inc 1988
#
#
# This is the output filter form use with HP laserjets I and II.
# It is called via the of entry in the generic_hp printcap entry
# All it does is send the escape sequence to the printer, so that:
#	CR is mapped to CR
#	LF is mapped to CR LF
#	FF is mapped to CR FF
/usr/bin/echo -n 'E&k2G'
/usr/bin/cat
if ($status == 0) then
	exit 0
else
	exit 1
endif


Thanks in advance for any help.

--
--------------------------------------------------------------------------------
Larry E. Wagner                     | wagner@chepil.weru.ksu.edu
USDA-ARS Wind Erosion Research Unit | wagner@matt.ksu.ksu.edu
105B East Waters Hall, KSU          | ...!{rutgers,texbell}!ksuvax1!weru!wagner
Manhattan, KS 66506                 |phone (913)532-6807
--------------------------------------------------------------------------------
Technical Details
Message-ID: <9104111904.AA07579@crayola.cs.UMD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uwm.edu!bionet!agate!ucbvax!CHEPIL.WERU.KSU.EDU!wagner

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uwm.edu!bionet!agate!ucbvax!CHEPIL.WERU.KSU.EDU!wagner
From: wagner@CHEPIL.WERU.KSU.EDU (Larry Wagner)
Newsgroups: comp.laser-printers
Subject: Problems printing from Sun386i to HPLJ III
Message-ID: <9104111904.AA07579@crayola.cs.UMD.EDU>
Date: 9 Apr 91 20:04:48 GMT
Article-I.D.: crayola.9104111904.AA07579
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: Kansas State University
Lines: 66
Approved: laser-lovers@brillig.umd.edu