Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Set up authenticated printing via IPP Printers
Say you want to use some printers via IPP, but these require authentication with a user account. You could use this hint which was published a few days ago, and install the printer directly using an address like this:
ipp://account:password@server/printer
You could also do this in Tiger by holding the Option key while pressing Add. However, there are two fundamental problems with this approach. First, these printers can be used by every user on the machine, so adding printers like this only makes sense on single-user machines. Second, the account data is written to /etc/cups/printers.conf, i.e. this file contains your password in clear text (this file is only readable by administrators, though).

Fortunately, OS X 10.5 actually supports IPP printing with authentication, but Apple somehow managed to obfuscate this feature. Read on to see how to use it.

Here's how to use IPP printing with authentication:
  1. In case you don't already know, there is a bug in Leopard such that you absolutely have to log in with an administrative account to add printers (identification with the lock button is not enough if you work with a non-administrative account). So login as an admin first.
  2. Click the plus sign in the Print & Fax System Preferences panel to show the Add Printer dialog. When it appears, choose IP in the toolbar, and then select Internet Printing Protocol - IPP as the protocol. Enter the server address of your CUPS server (don't try to add any account information here), the name of the printer queue, and then add the printer.
  3. Now send a print job to the printer, and you will see that, well, it doesn't work, since you didn't have to specify any account information so far.
  4. Go back to the Print & Fax pane in System Preferences. Double-click on the printer you just send the print job to. You see now that the printer is inactive and the print job was halted -- due to missing identification.
  5. Continue the print job, and suddenly, an identification dialog will pop up. Why didn't it pop up earlier? Why do we have to explicitly continue the print job? Only Apple knows. But finally, you can enter your account information and also save it in your keychain.
You should also take a look into /etc/cups/printers.conf -- there is no password there, but notice the line which reads:
AuthTypeRequired username,password
Evidently this line does the trick. Therefore, if you're comfortable with editing configuration files directly, adding new printers is a simple copy and paste job. By the way, the same should work with SMB printing.
    •    
  • Currently 2.22 / 5
  You rated: 1 / 5 (9 votes cast)
 
[44,071 views]  

10.5: Set up authenticated printing via IPP | 4 comments | Create New Account
Click here to return to the '10.5: Set up authenticated printing via IPP' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Set up authenticated printing via IPP
Authored by: chabig on Nov 14, '07 03:42:07PM

I can add printers from my user account with no problem. What is this Leopard bug of which you speak?



[ Reply to This | # ]
10.5: Set up authenticated printing via IPP
Authored by: benhollister on Nov 29, '07 05:58:00PM
The address I'm given for our campus printers is an https address, which obviously won't work. It always has some further information after declaring the specific port. The print location they give us is:
https://netprint.msu.edu:30443/printers/netprint
I've tried everything to try and coax this address into working, and the only way I can get OS X to say it's a valid address is if I strip the https:// and the /printers/netprint from address. Ideas?

[ Reply to This | # ]
10.5: Set up authenticated printing via IPP
Authored by: Chiefton on Jan 16, '08 07:25:13AM
My co-worker just found the answer for IPP via http. They are using it with smb in the screenshot, but replacing it with http worked for us. This is for Leopard IPP over http to a Windows 2003 Server.

http://www.kassblog.com/?itemid=487

[ Reply to This | # ]
10.5: Set up authenticated printing via IPP
Authored by: kassissieh on Feb 19, '10 10:19:09AM

The updated URL for the above post is http://www.kassblog.com/2007/12/add-samba-printers-in-leopard/



[ Reply to This | # ]