Hiding A Network Printer

Home » CentOS » Hiding A Network Printer
CentOS 6 Comments

I want to hide a printer that’s connected to a CentOS 6 printer server to prevent it showing up on some of the other computers on the local network.

Using system-config-printer, putting the IP address of the computer that I want to hide the printer from into the Access Control window for that printer doesn’t work since it apparently wants a user name, not an IP address.

How can I specify that the printer can be seen only by certain IP addresses but not others?

6 thoughts on - Hiding A Network Printer

  • you can choose to share it or not, but that’s probabaly all or nuttin.

    If you’re smarter than I am (not to say, more ambitious) you could probably add some firewall rules to do the trick.

  • Whatever the “sharing – enabled” checkbox gives me. The printer is connected to the print server with a USB cable so there’s nothing special on that end.

  • not having ever used anything on linux thats enabled with a checkbox, its hard to say. are the printer clients MS Windows or Unix/Linux ?
    If they are Linux do they connect with CUPS or LPR or what?

  • Type “system-config-printer” at a root prompt.

    Then right-click on the printer that you want to look at, click on “Properties” – “Policies”

    State: Enabled Accepting jobs Shared

    The Shared checkbox is what allows the other machines on the network to see that printer.

    Both client and server run CentOS 6.

    The CentOS default printer setup is cups.

    All of the shared printers that are connected to the print server machine just show up by magic when I run the system-config-printer command on the client machines.

    My objective is to make one of those printers disappear on some of the client machines, without making it disappear on the other client machines.