Path: utzoo!attcan!seachg!jalsop From: jalsop@seachg.uucp (John Alsop) Newsgroups: comp.sys.ncr Subject: Re: Need help with Tower to LaserJet+ configuration Message-ID: <1991Jan17.151956.4249@seachg.uucp> Date: 17 Jan 91 15:19:56 GMT References: <1991Jan16.140524.37767@eagle.wesleyan.edu> Reply-To: jalsop@seachg.UUCP (John Alsop) Organization: Sea Change Corporation, Mississauga, Ontario, Canada Lines: 45 In article <1991Jan16.140524.37767@eagle.wesleyan.edu> erosser@eagle.wesleyan.edu (Evan Rosser) writes: > >I'm looking for help in connecting an HP LaserJet+ to a Tower 32/600. When >adding the printer in va, it chooses the rawR gettydef for the printer, but the >HP is expecting 8 bits, no parity, 1 stop bit, with XON flow control. I've >tried working up my own gettydefs, but none have seemed to work: ... I can't speak directly about the HP printer, but we have a NEC laser printer hanging off a serial port on our Tower. 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. Here's the first few lines from our interface program: > #---------------------------------------------------------------------------- > # lp interface for NEC LC890 PostScript printer > # > # If the print file is already a PostScript file, it is copied directly to > # the printer. Otherwise it is run through a text-to-ps filter installed in > # /usr/lib/text_to_ps. > # > # Does not support banner pages or other fancy stuff > #---------------------------------------------------------------------------- > > stty 9600 ixon ixoff 0<&1 > > # get list of files > > shift; shift; shift; shift; shift > files="$*" > > etc. Hope this helps. Send mail or give a call if you need more info. -- John Alsop Sea Change Corporation 6695 Millcreek Drive, Unit 8 Mississauga, Ontario, Canada L5N 5R8 Tel: 416-542-9484 Fax: 416-542-9479 UUCP: ...!uunet!attcan!seachg!jalsop