osx lion – osx change printer ip address without adding new printer – Super User
Posted by jpluimers on 2019/04/29
From [WayBack] osx lion – osx change printer ip address without adding new printer – Super User:
Q
Is there a way to change a printer’s IP address in OSX (Lion) without having to add a new printer? I did find Printer IP Remedy, but was curious if there was an ‘official’ method.
A
You can do this in the CUPS web interface with the following steps:
- Open Terminal.app and run
cupsctl WebInterface=yes. This enables the CUPS web interface- Open
http://127.0.0.1:631/printersin your web browser- Click on the printer you want to change. From the “Administration” drop down, select “Modify Printer”.
- Log in with your local admin account
- Select the new printer IP either from “Discovered Network Printers” or add it manually with “Other Network Printers”. Make sure that you keep the same connection protocol as it says in “Current Connection” (for me, this was LPD).
Once you’re done with this, Mac OS X will directly print to the new IP address. There is no need to reboot or so. If you want to disable the CUPS web interface again, run
cupsctl WebInterface=no.
The CUPS solution works splendid in MacOS as well, so there was no need for [Archive.is] Printer IP Remedy 1.3 free download for Mac | MacUpdate.
Without the CUPS web interface enabled, the web-interface at http://127.0.0.1:631/printers looks like this:
Web Interface is Disabled
The web interface is currently disabled. Run “cupsctl WebInterface=yes” to enable it.
After enabling it like the CUPS web interface wit cupsctl WebInterface=yes, you can see I have the same printer configured multiple times with different communication protocols and output languages:
Printers
Search in Printers:
Showing 6 of 6 printers.
Queue Name Description Location Make and Model Status OKI_MC342_36855D OKI-MC342-PSO-36855D Office MC342-AirPrint Idle OKI_MC342_36855D_PCL OKI-MC342-36855D PCL 1060NP-Office Generic PCL Laser Printer Idle OKI_MC342_IPP OKI-MC342-IPP Office Generic PostScript Printer Idle OKI_MC342_LPR OKI-MC342-LPR Office Generic PostScript Printer Idle
The first two printers were mapped by DNS, but the last two were mapped by IP address.
Changing the IP address was simple:
- Click on each link
- Select “Modify printer”
- Authenticate (only needed for the first printer change)
- For IPP: note the current address (like ipp://192.168.71.52/), then
- Choose “Internet Printing Protocol (ipp) “
- Click “Continue”
- Enter the correct ipp://…./ address (help is at http://127.0.0.1:631/help/network.html or http://127.0.0.1:631/help/network.html?PRINTABLE=YES)
- Click “Continue”
- Check the modifications (optionally change Description/Location)
- Click “Continue”
- Keep the driver
- Click “Modify printer”
- For LPD, note the current address (like lpd://192.168.71.52/), then follow the IPP steps, but choose “LPD/LPR Host or Printer” and enter a valid lpd address.
This is also the place where you can change “Default options”, like paper size (which – for all but the first – somehow defaulted to US Letter 11 inch, while it is actually filled with A4 paper).
At the end, disable the web interface: cupsctl WebInterface=no.
Related:
- [WayBack] macos – How do I get the actual ip address of a printer in OSX Yosemite – Ask Different
- [WayBack] bonjour – How can I list the IP addresses of all the AirPrint printers on a network? – Ask Different
–jeroen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <HTML> | |
| <HEAD> | |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> | |
| <TITLE>Web Interface is Disabled – CUPS v2.2.0</TITLE> | |
| <LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css"> | |
| </HEAD> | |
| <BODY> | |
| <H1>Web Interface is Disabled</H1> | |
| <P>The web interface is currently disabled. Run “cupsctl WebInterface=yes” to enable it.</P> | |
| </BODY> | |
| </HTML> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="/cups.css" type="text/css"> | |
| <link rel="shortcut icon" href="/apple-touch-icon.png" type="image/png"> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=9"> | |
| <meta name="viewport" content="width=device-width"> | |
| <style>html{display:none;}</style> | |
| <script type="text/javascript"><!– | |
| /* Only display document if we are not in a frame… */ | |
| if (self == top) { | |
| document.documentElement.style.display = 'block'; | |
| } else { | |
| top.location = self.location; | |
| } | |
| /* Show an error if cookies are disabled */ | |
| function check_cookies() { | |
| if (!navigator.cookieEnabled) { | |
| document.getElementById('body').innerHTML = 'This page uses cookies to prevent common cross-site attacks. Please enable cookies in your browser.'; | |
| } | |
| } | |
| –></SCRIPT> | |
| <title>Printers – CUPS 2.2.0</title> | |
| </head> | |
| <body onload="check_cookies();"> | |
| <div class="header"> | |
| <ul> | |
| <li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li> | |
| <li><a href="/">Home</a></li> | |
| <li><a href="/admin">Administration</a></li> | |
| <li><a href="/classes/">Classes</a></li> | |
| <li><a href="/help/">Help</a></li> | |
| <li><a href="/jobs/">Jobs</a></li> | |
| <li><a class="active" href="/printers/">Printers</a></li> | |
| </ul> | |
| </div> | |
| <div class="body"> | |
| <div class="row"> | |
| <h1>Printers</h1> | |
| <FORM ACTION="/printers/" METHOD="GET"> | |
| <P ALIGN="CENTER"><B>Search in | |
| Printers:</B> | |
| <INPUT TYPE="SEARCH" NAME="QUERY" VALUE="" SIZE="40" PLACEHOLDER="" AUTOSAVE="org.cups.printers" RESULTS="20"> <INPUT | |
| TYPE="SUBMIT" VALUE="Search"> <INPUT TYPE="SUBMIT" NAME="CLEAR" VALUE="Clear"></P> | |
| </FORM> | |
| <P ALIGN="CENTER">Showing 6 of 6 printers.</P> | |
| <TABLE CLASS="list" SUMMARY="Printer List"> | |
| <THEAD> | |
| <TR><TH>Queue Name</TH><TH>Description</TH><TH>Location</TH><TH>Make and Model</TH><TH>Status</TH></TR> | |
| </THEAD> | |
| <TBODY> | |
| <TR><TD><A HREF="/printers/OKI_MC342_36855D">OKI_MC342_36855D</A></TD><TD>OKI-MC342-PSO-36855D</TD><TD>Office</TD><TD>MC342-AirPrint</TD><TD>Idle</TD></TR> | |
| <TR><TD><A HREF="/printers/OKI_MC342_36855D_PCL">OKI_MC342_36855D_PCL</A></TD><TD>OKI-MC342-36855D PCL</TD><TD>1060NP-Office</TD><TD>Generic PCL Laser Printer</TD><TD>Idle</TD></TR> | |
| <TR><TD><A HREF="/printers/OKI_MC342_IPP">OKI_MC342_IPP</A></TD><TD>OKI-MC342-IPP</TD><TD>Office</TD><TD>Generic PostScript Printer</TD><TD>Idle</TD></TR> | |
| <TR><TD><A HREF="/printers/OKI_MC342_LPR">OKI_MC342_LPR</A></TD><TD>OKI-MC342-LPR</TD><TD>Office</TD><TD>Generic PostScript Printer</TD><TD>Idle</TD></TR> | |
| </TBODY> | |
| </TABLE></DIV> | |
| </div> | |
| </div> | |
| <div class="footer">CUPS and the CUPS logo are trademarks of <a href="http://www.apple.com">Apple Inc.</a> Copyright © 2007-2015 Apple Inc. All rights reserved.</div> | |
| </body> | |
| </html> |






Leave a comment