Satya wrote:
> 
> On Feb 25, 2000 at 15:40, Kiran Jonnalagadda wrote:
> 
> > Make sure that your kernel has parallel printer support compiled in.
> 
> How do I do that?

Under make menuconfig, enable parallel port and PC style parallel port
in the General Options section. Nextenable parallel port printer support
in the Character Devices section. The modules will be built but /dev/lp0
won't work unless you enable the second one too.

/me found this the hard way.

> Aargh! printtool is an X tool!

You don't need printtool to restart lpd. Just type /etc/rc.d/init.d/lpd
restart


Here's my /etc/printcap for one local and one network printer:

---------------------------------------------------------------------------
#
# Please don't edit this file directly unless you know what you are
doing!
# Be warned that the control-panel printtool requires a very strict
format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.


##PRINTTOOL3## REMOTE POSTSCRIPT 600x600 a4 {} PostScript Default 1
xerox:\
        :sd=/var/spool/lpd/lp:\
        :mx#0:\
        :sh:\
        :rm=198.9.200.134:\
        :rp=:\
        :if=/var/spool/lpd/lp/filter:
##PRINTTOOL3## LOCAL ljet4 600x600 a4 {} LaserJet4 Default 1
hp|lp:\
        :sd=/var/spool/lpd/lp0:\
        :mx#0:\
        :sh:\
        :lp=/dev/lp0:\
        :if=/var/spool/lpd/lp0/filter:
---------------------------------------------------------------------------

Note that the second printer has two names: "hp" and "lp". The latter is
just to make it the default when no printer is specified.
-- 

Kiran Jonnalagadda
http://lunateks.com

baby.sh: while true; do echo "^G^G^G^G^G"; sed -e 's/food/poop/'; sync;
sync; sleep 15; done

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to