[34379] in Hotline Meeting
Re: Connecting HPLaserJetII
daemon@ATHENA.MIT.EDU (Brian W. Melanson)
Thu Aug 15 10:26:05 1996
From: Brian W. Melanson <bwmelans@MIT.EDU>
To: mikekim@MIT.EDU
Cc: op@MIT.EDU, hotline@MIT.EDU
Date: Thu, 15 Aug 1996 10:26:02 EDT
Hi Michael,
Sorry it took so long to get back to you, but here
are the details you will need to connect at printer
to a SparcClassic serial port.
Information needed: printername and the host which you intend
on spooling the print jobs to.
1) On your SparcClassic login as root do the following:
% mkserv print
When this is finished reboot the system.
2) Put this printcap entry in "/etc/printcap"
#
# HP LaserJetII
#
<printername>|HP LaserJetII:\
:lp=/dev/term/a:rp=<printername>:rm=<spool host>:\
:sd=/usr/spool/printer/<printername>:\
:lf=/usr/spool/printer/<printername>/<printername>-log:\
:af=/usr/spool/printer/<printername>/<printername>-acct:\
:br#19200:rw:mx#0:sf:sb:\
:if=/usr/athena/lib/ps/psif:\
:of=/usr/athena/lib/ps/psof:gf=/usr/athena/lib/ps/psgf:\
:nf=/usr/athena/lib/ps/psnf:tf=/usr/athena/lib/ps/pstf:\
:rf=/usr/athena/lib/ps/psrf:vf=/usr/athena/lib/ps/psvf:\
:cf=/usr/athena/lib/ps/pscf:df=/usr/athena/lib/ps/psdf:
Note: Please set the baudrate on the HP LaserJetII and makesure it matches
the printcap entry.
--> :br#19200:rw:mx#0:sf:sb:\ br means baudrate.
3) type "makespools"
4) When connecting the serial cable to the SparcClassic please make sure
you are using serial port a. If not you will have to change
the printcap entry to /dev/term/b.
Note: Please purchase the appropriate serial cable from the MCC.
5) Testing the serial connection....
% kermit
kermit> set term /dev/term/a
kermit> set speed 19200
kermit> connect
Then type "executive". If you are talking correctly you should get
a "PS>" prompt.
6) lpr -P<printername> <filename> this should work from <spool host>.
Please let me know what the spool host name is and the printername
is so I can generate a printcap entry in our db for you.
The hesiod propagation happens overnight.
I think that is all you need to setup the printer. If you have any problems
send e-mail to "op". Good luck.
Brian Melanson
Athena Server Operations