Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!eos!amelia!eagle!news From: mckim@falcon.lerc.nasa.gov (Jim McKim) Newsgroups: comp.unix.i386 Subject: Re: Terminfo entry for an Epson FX-85 printer? Message-ID: <1990Mar12.144645.24710@eagle.lerc.nasa.gov> Date: 12 Mar 90 14:46:45 GMT References: <52961@bbn.COM> <1990Mar5.152444.27387@eagle.lerc.nasa.gov> <352@comcon.UUCP> Reply-To: mckim@falcon.UUCP (Jim McKim) Distribution: na Organization: NASA/Lewis Research Center, Cleveland Lines: 39 In article <352@comcon.UUCP> tim@comcon.UUCP (Tim Brown) writes: >How does one go about configuring the spooler to use terminfo's? I >haven't had much luck, I would appreciate any direction here. Thanks. Sorry about putting the reply here - sendmail is broken. It's been a while since I did this but I think these were the pertinent commands: Choose a name for your printer - I used "mehitabel". lpadmin -p mehitabel -v /dev/lp # where your printer is attached # verify a good connection (i.e. # echo test >/dev/lp) first lpadmin -p mehitabel -m standard # the interface program to use - # this is a humongous shell script # at /usr/spool/lp/mode/standard # it seems to work pretty well lpadmin -p mehitabel -T p341sl # the terminfo name you used # when making a terminfo entry # for your printer lpadmin -d mehitabel # make this the default printer lpadmin -p mehitabel -S 'cs0=draft cs1=elite cs2=courier' # optional # use to set character set names # to something mnemonic lpadmin -p mehitabel -o nobanner # supress banners, save paper - opt. lpadmin -p mehitabel -D 'located at ...' # description - optional enable mehitabel accept mehitabel lpshut lpsched # restart daemon with new printer - Jim -- ---------------- Jim McKim / Internet: mckim@falcon.lerc.nasa.gov be Phone: +1 216 891 2982 / Packet: kb8dcr@kb8dcr.ampr.org seeing ---------------- you - 6