70.11 Add Printing to New Host

If you have CUPS set up already on a server, and you generally have the same environment on your desktop machines, when setting up a new host, simply install the packages listed above. Then copy over the appropriate configuration files:

  # cd /etc/cups
  # scp athens:/etc/cups/printers.conf . 
  # scp 'athens:/etc/cups/ppd/*' ppd
  # chmod o+r ppd/*.ppd

Always keep your configuration up to date on the server, perhaps using the web interface via http://athens:631/. (If you use instead the command line interface with the command lpadmin then you also need to copy lpoptions across.) A convenient way to keep the configurations consistent is with rdist, rdist (see Section ?? for an example).



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0