Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!execu!sequoia!balkan!wrangler!ssbn!bill From: bill@ssbn.WLK.COM (Bill Kennedy) Newsgroups: comp.sys.ncr Subject: Re: Need help with Tower to LaserJet+ configuration Message-ID: <1994@ssbn.WLK.COM> Date: 19 Jan 91 16:27:45 GMT References: <1991Jan16.140524.37767@eagle.wesleyan.edu> <1991Jan17.151956.4249@seachg.uucp> Reply-To: bill@ssbn.WLK.COM (Bill Kennedy) Distribution: na Organization: W.L. Kennedy Jr. and Associates, Pipe Creek, TX Lines: 60 jalsop@seachg.UUCP (John Alsop) writes: : :erosser@eagle.wesleyan.edu (Evan Rosser) writes: :> :>[ needs to hook up a Laser Jet Plus to a 32/600 ] : :I can't speak directly about the HP printer, but we have a NEC laser :printer hanging off a serial port on our Tower. I can't speak directly about the LJ+ but I have a series II hanging off a serial port on wrangler (32/400 3.00.01). There is actually a serial to parallel converter hooked to it for hardware flow control and some buffering (very useful for troff output). :Our approach was not to use gettydefs to set the port parameters, but :instead to set the necessary stty stuff in the lp spooler interface script. Same here, in fact I avoided the printer setup in va altogether, just ran lpadmin by hand to get everything set up. : [ first few lines of seachg interface script ... ] Here are the first few lines of the one that I use. Note that the filter program worries about tab stops, checking for nroff italics, bold, etc. I'll be glad to send anyone the shell archive for it. It's not very pretty but it works. # # laser.script # # This is an lp interface script for a Hewlett Packard # LaserJet Series II printer equipped with the JetWare # 4 in 1 and Microsoft Z font cartridges. It invokes # a filter program, /usr/lbin/laserjet that has been # set up to recognize nroff italic and bold sequences # (sent as underscore and overstrike, respectively). # filter=/usr/lbin/laserjet if [ ! -x $filter ] then disable -r "Can't execute $filter " $printer exit 1 fi stty 19200 cs8 cread clocal -parenb ixon ixany 0<&1 print_mode=filtered # Make cr=cr, lf=crlf, ff=crff echo "\033&k2G\c" # IBM PC character set symbol_set=10U # Disable auto perf skip #echo "\033&l0L\c" # # Default nroff filter disabled # nroff=0 legal=0 margin=6 -- Bill Kennedy usenet {att,cs.utexas.edu,pyramid!daver}!ssbn.wlk.com!bill internet bill@ssbn.WLK.COM or attmail!ssbn!bill