Use http://localhost:631/printers/ to see the list of printers available. The page shows both printer model and its IP/name under the Printers tab.
To enable the cups page, run cupsctl WebInterface=yes in terminal.
If it does not directly show an IP address, click on the printer, where usually there is a connection entry like in this example:
There is a tool Bonjour Browser which will show you the connected devices on the current network. The connection types are sorted, and you can usually find the printers in Print Spooler (_printer._tcp.) or Internet Printing Protocol (_ipp._tcp.) sections. Each device will list its IP address, among other information.
In the terminal...
sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
...will unload cups. This stops the service.
sudo launchctl remove /System/Library/LaunchDaemons/org.cups.cupsd.plist
...will ensure that cups does not come back after a reboot.
I don't know how OS X will react if you try to leave cups unloaded in ...
There is a simpler solution in 4 steps and a small shell script:
make your own spool directory:
/usr/bin/sudo mkdir /var/spool/my_printer
write the following shell script within your usual local bin directory
let's say /local/bin
copy the following inside my_spooler:
# go into the spool directory
If you look in your console, you'll probably see a message about sandboxd preventing gs from running. Just add this line to the end of /etc/cups/cups-files.conf:
sudo launchctl stop org.cups.cupsd
From the CUPS website:
CUPS is the standards-based, open source printing system developed by Apple Inc. for OS X and other UNIX®-like operating systems.
On OS X it provides local printer services as well as shared printer services for other Macs to access your printer via the service if the printer doesn't have its own sharing capabilities. CUPS has ...
Open the Terminal application in Applications/Utilities
You should see a list of all your installed printers. The number after lpd:// is the IP address
Unless you are using a print server, in which case you’ll see the print server’s fully qualified domain name there.
While this doesn't answer the question, I stumbled across this - http://www.papercut.com/kb/Main/MacOS1010YosemiteKnownIssues - when trying to get Tea4CUPS working in OS X 10.10 (I was not able to achieve this):
To get PaperCut working with Mac OS 10.10 in the interim, you’ll need to disable sandboxing. Edit the file /etc/cups/cups-files.conf to include ...
All modern networkable printers (which have a display) have an option to set and display the IP address. Often times you hold the "go button" down for 15 seconds, or while powering up the printer. Sometimes you need a utility that goes with the printer to set and/or view it. Check your manual or find one online.
After a long debugging session, I have finally solved this problem. In case other people run into the same difficulties, here is what I learned about CUPS backends under Mac OS X Yosemite:
Backends are executable files (in my case, a shell script) in the /usr/libexec/cups/backend/ directory. Information about the print job is passed into these programs ...
I have solved this problem by allowing a selected group of the guests to be on the same LAN as the printers; however blocking them significantly with firewalls so that only the printers and a few other machines needed, can be reached from that specific wi-fi network.
If you see that I have provided this answer to my own question; I'd still love to hear how ...
Normally you don't need to enter a root username and password to use CUPS. The error is likely to be in /etc/cups/printers.conf You could check the authorization entries in your printers.conf
Even simpler though is that CUPS.org recommends just using your normal admin username and password when asked for authorization:
Use the username and password for ...
The correct command, especially with macOS Catalina, to permanently disable cups is:
sudo launchctl unload -w /System/Library/LaunchDaemons/org.cups.cupsd.plist
(The currently accepted answer states launchctl remove /System/Library/LaunchDaemons/org.cups.cupsd.plist but in fact that doesn't do anything other than fail silently with an error return code)
There is a much easier way.
Create a Print Preset, with the settings as you want them. Select it.
Press the Print button while holding down Alt (Option).
That will force your current settings to be the default for the printer.
Actually CUPS (the Common Unix Printing System) was an open source project that Apple bought. Contrary to what is listed at CUPS.org, CUPS existed long before Apple bought it.
I understand that CUPS remains Open Source and that (some?) code contributed by Apple works it's way back into the Open Source version available to and used by other O/S'
Note that ...
Printing in OS X is handled by CUPS, the Common Unix Printing System. Older versions of OS X had older versions of CUPS. A new It's not a bug, It's a "feature" was added in CUPS 1.6, which corresponds to Mac OS X 10.8 Mountain Lion, in order to prevent stuck jobs.
The MaxJobTime option, which defaults to 10800 seconds (3 Hours), will cancel the active print ...
What you see is a symlink to /usr/sbin/cupsfilter.
cupsfilter is documented in its respective man page.
Its purpose is to allow you to manually run the same filtering chain CUPS would run on behalf of a given print queue would run when consuming a given input document. This way you could inspect + debug the results before/without sending the job to the ...
After carefully looking at the DNSCache and Network:
More details on dns-sd.org however in short, for everything to work correctly, following four DNS Records for each printer are needed on client side in case of airprint/secure airprint:
PTR record of type _universal._sub._ipp/ipps._tcp (lets call it universal): needed only if printer is airprint ...
I had kind of the same issue with an epson printer, and I tried several times to make it work by downloading driver from different websites with non results. The solution is downloading even an "old" drive from the apple support website https://support.apple.com/downloads/drivers and It really does work. I wasn't really sure at first because it didn't said ...
Instead of modifying the cupsd.conf I found another route that works by adding every user to the _lpoperator group to allow everyone to pause/resume the print queue:
sudo dseditgroup -o edit -t group -a everyone _lpoperator
Thanks to all
Hidden web server
The web server running on your server is the one used by cupsd to manage your printers queue.
nmap localhost -p 80
will show you that it is actually closed, unless you activated the sharing of a printer.
You can stop cupsd either through the GUI of System Preferences… or with launchctl:
/usr/bin/sudo launchctl unload /System/...
Here are the commands I ran to solve this issue:
sudo launchctl stop org.cups.cupsd
sudo mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.backup
sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
sudo mv /etc/cups/printers.conf /etc/cups/printers.conf.backup
sudo launchctl start org.cups.cupsd
Then I've reset the Printing System as suggested here:
I had to enable the cups webinterface first:
Open a terminal and type:
sudo cupsctl WebInterface=yes
Confirm with <enter> and enter your password.
Then authentication as described worked fine (on the final Mojave, though, not the beta)
You need to study and research an internet standard (described in RFC-6763) called "DNS Service Discovery", short: DNS-SD.
All further info you need for that is hosted on DNS-SD.org and on ZeroConf.org.
There, have a look at "How to set up Wide-Area AirPrint". Draw your conclusions about how to achieve the same with AirPlay. (Hint: the DNS service records ...