68.9 Using LPD with CUPS

{#sec:setting-up-lpd}

On the print server (where the printer itself is actually located) add the following line to /etc/inetd.conf:

  printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd

Then restart the inetd daemon:

  $ wajig stop inetd
  $ wajig start inetd

With newer versions of Debian there is no longer a /etc/init.d/inetd script for restarting the daemon. Instead:

  $ sudo service openbsd-inetd restart

From a client identify the printer as something like:

  lpd://kyral/psc2210


Your donation will support ongoing availability and give you access to the PDF version of the 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-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.