71.14 Printer Shared on the Network


First, check the current status of the CUPS system configuration on the server where the printer is connected and known to be functioning:

$ cupsctl

Notice that _share_printers=0. To enable printer sharing on the server use the command cupsctl.

$ cupsctl --share-printers

$ cupsctl | grep share_printers

When sharing, CUPS will allow printing from other hosts on the same local subnet. On another computer check that the connected printer is now available:

$ lpinfo -v
network dnssd://HL3040CN%20%40%20theano._ipp._tcp.local/cups?uuid=a67769fe-3acb-327c-7ffa-67eeb2bd318b

The printer is identified as HL3040CN_theano, for example, where theano is the name of the host server. The printer may now automatically appear as an option on any print dialogue.

Printers are shared by default from the server but if it is not then share the printer using:

$ lpadmin -p HL3040CN -o printer-is-shared=true

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