Print shares from CUPS admin?

ToddAndMargo

New Member
Joined
Nov 17, 2020
Messages
15
Reaction score
11
Credits
161
Hi All,

I know how to enable and disable individual print shares from the command line:

# lpadmin -p printer -o printer-is-shared=true
# lpadmin -p printer -o printer-is-shared=false

But it is escaping me as to how to do it from http://127.0.0.1:631. Note: this is not a question as to how to enable print sharing globally. That I found. This is about changing individual printers.

What am I missing?

Many thanks,
-T
 


Hi All,

I figured it out. I am posting my notes on the subject. I am including how to do it from the command line as well.

-T

CUPS: sharing/unsharing printers:

Reference: https://www.cups.org/doc/sharing.html

Command Line:
First, enable sharing of printers:
# cupsctl --share-printers

To allow printing from any subnet:
#cupsctl --share-printers --remote-any


To disable print sharing:
# cupsctl --no-share-printers



Tag the printers you want to share:
# lpadmin -p printer -o printer-is-shared=true


To un-share a printer:
# lpadmin -p printer -o printer-is-shared=false


To require authentication for shared printing:
# lpadmin -p printer -o printer-op-policy=authenticated

To remove authentication:
# lpadmin -p printer -o printer-op-policy=default



http://127.0.0.1:631 CUPS Admin

To globally enable print sharing:

--> http://127.0.0.1
--> Administration
--> Check / uncheck the following under "Server"
Share printers connected to this system
Allow printing from the Internet


To enable / disable a particular printer:

--> http://127.0.0.1
--> printers
--> Select printer
--> Administration
--> modify printer (log in as root)
--> Continue
--> under "Description", "Location","Connection":
Sharing: select/unselect "Share This Printer"
--> contine with "Continue" and accept all current settings
 
I saw this Thread yesterday and as I seldom use CUPS, I had nothing to contribute but was hoping you would get some help.

It's great that you figured it out, and thanks for sharing :)

Wizard
 

Members online


Top