The redhat-switch-printer tool does indeed work, however if you've forgotten to install it or can't find it, you can do it manually. These commands are simply taken from the nicely written /usr/share/redhat-switch-printer/functions.py python script file:
Convert to LPRng (Most useful ;-) : /bin/rm /etc/printcap /usr/bin/alternatives --set print /usr/bin/lpr.LPRng /sbin/service cups stop /usr/sbin/printconf-backend --force-rebuild /sbin/service lpd start Convert to CUPS (for testing purposes, of course ;-) : /usr/bin/alternatives --set print /usr/bin/lpr.cups /sbin/service lpd stop /usr/sbin/printconf-backend /sbin/service cups start Maybe this will save somebody somewhere a bit of time. Especially useful to know what happens if either of the other scripts doesn't work! Cheers, sam On Mon, 2003-10-20 at 22:49, Tim Waugh wrote: > On Mon, Oct 20, 2003 at 12:47:32PM -0700, Patrick Powell wrote: > > > Here is a quick script that switches the print spooler on RedHat: > > ...or use redhat-switch-printer, which actually comes from the CDs. > > :-/ > > Tim. > */ -- CERN, Geneva E-mail: samuel.lown (at) cern.ch ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
