Howto: Configuring a Mac Laptop to access a CSD printer (Over Wireless)

(Via: Windows/SMB printing)


 

Background: This howto is aimed at people using Mac OS-X. This explains how to configure your mac so you can acces our print server using SMB/Windows printing.

Please NOTE: there are three different methods. Method 1 is for Yosemite (MacOS 10.10.x). Method 2 is for Snow Leopard (10.6). Method 3 is for Lion(10.7). Apple removed SMB from OS-X with the 10.7 release, and this has affected the printing process. (Method 2+3 are several years old but are kept here for your information.)

Method 1 has been tested on OS-X 10.10 using the uwo wireless network "uwosecure-v2" (Sep2016). Method 2+3 were also tested on the uwo wireless network "uwosecure-v2" (2012).

Driver: Note that you may need to download and install drivers onto your mac if they are not already there. We mostly use Lexmark printers in the Computer Science Dept.

  1. Go to http://support.apple.com/downloads
  2. Search for "Lexmark Printer Drivers". The site will automatically list all available Lexmark Printer Drivers.
  3. Select the latest Lexmark Printer Drivers to start the download.
  4. After drivers download; the driver package will be automatically mounted and installed on the system After completing driver installation, printer queue can now be added.

 


 

Method 1 - for OS-X 10.10 Yosemite

PLEASE NOTE: In this example I am printing to the GAUL (undergrad) domain. This should also work for the RNDR (Research) domain. Just replace the print server with "winfree.rndr.csd.uwo.ca" and use RNDR in place of GAUL.

Open the System Preferences window, and select the "Print \& Scan" option

Select the Plus sign (+) on the lower left under the "Printers" section, in order to add a new printer to your system:

In the Add Printer dialog, you need to first enable the "Advanced" button, if you have not previously done so.

Move your mouse pointer to a blank area in the title bar and right-click to bring up a menu, and select "Customize Toolbar...". Then drag the "Advanced" icon from the pop-up window and place it on the title bar of the "Add Printer" window.

Now select the "Advanced" button, and fill in the window as in this example. Set the Type to "Windows printer via spoolss". Set the "URL:" to smb://panda.gaul.csd.uwo.ca/queue where "queue" is replaced with the name of the print queue that you want to use. (eg: mc230, mc235, etc) Fill in the "Name" field with an appropriate printer name, and in "Use" drop-down, choose the "Select Software" option and then choose the appropriate printer model for the printer. (probably Lexmark T640)

You should end up with something looking like this:

Now when you print you can specify this printer. YOU WILL NEED TO AUTHENTICATE WITH YOUR GAUL WINDOWS PASSWORD IN ORDER TO PRINT. (Illustrated below.) In particular you need to remember to put "gaul\" in front of your userid, to specify that this is for the gaul domain.

 


 

Method 2 - for OS-X 10.6 Snow-Leopard

Executive Summary :

  1. In the Add Printer dialog, right-click in the title and enable the "Advanced" button
  2. Use the "advanced" button to manually set up Windows printing using the URL: smb://rent/username:passwd@wints.csd.uwo.ca/queue
  3. Replace "username:passwd" with YOUR windows username and password in the RENT domain.
  4. Replace "queue" with the name of the printer (ie: duplex, personal) that you want to print using.

 


 

Example:

Open the System Preferences window, and select the "Print \& Fax" option :

Select the Plus sign (+) on the lower left under the "Printers" section, in order to add a new printer to your system:

In the Add Printer dialog, you need to first enable the "Advanced" button, if you have not previously done so.

Move your mouse pointer to a blank area in the title bar and right-click to bring up a menu, and select "Customize Toolbar...". Then drag the "Advanced" icon from the pop-up window and place it on the title bar of the "Add Printer" window.

Now select the "Advanced" button, and fill in the window as in this example. Set the "Type:" to Windows. Set the "URL:" to smb://rent/username:password@wints.csd.uwo.ca/queue where "username:password" is replaced with YOUR windows username and password in the RENT domain, and where "queue" is replaced with the name of the print queue that you want to use. (eg: Duplex, Personal Colour)

This is NOT an ideal solution. Please be sure to keep your password hidden from other people, as it is NOT hidden on the screen. Unfortunateley, using the "Windows" tab in the Add Printer window, and just browsing/navigating to the desired printer does not appear to work at this time. Hopefully this will be addressed in a future patch to OS-X

Depending on the printer model selected, you will then be prompted with a "Printer Options" dialog window, such as this one. Again, you need to manually specify any options, this is unfortunately not automatically supplied.

 


 

Method 3 - for OS-X 10.7 Lion

Apple chose to remove SMB (Samba) from OS-X with the release of Lion. They have substituted their own system. Unfortunately that does not work perfectly with our mixed mac/windows environment, especially in regards to authenticated printing like we use.

I hope that with future system updates that they will address this as these instructions are pretty raw. I have purposefully kept these fairly barebones, as I hope that Apple will fix up their software so that we can go back to using the nicer tools to set up printers easier.

  1. Open the "Keychain Access" program, and look for all mention of our Windows Print Server: Wints.csd.uwo.ca. Delete ALL of those credentials.
  2. Creating a printer using the "Print & Scan" option under System Preferences does NOT work. We need to directly access the CUPS printer system on your Mac.
  3. Open a Browser window and point it at: http://localhost:631. Then Select the option "Adding Printers and Classes"

  4. Then select the "Add Printer" option

  5. Then enter the URL for the desired printer following the format smb://wints.csd.uwo.ca/queue where "queue" is the desired queue on Wints (such as Colour, Duplex, Personal, mc240, etc)

  6. Choose the printer make and select "Continue"
  7. Choose the printer Model and select "Add Printer"

That is all you need to do. You can now close that browser window. The printer should appear in your list of printers when printing. You can use the "Print and Scan" system preference to choose the default printer, or look at the print queue.

NOTE: that the first time you print, you will be prompted for a username and password. Enter your Windows RENT username and password. (NOT your unix username/password and NOT your GAUL password.) Be sure and tick the box to have this remembered in your keychain or you will be prompted TWICE for your username/password every time you print a job!

 


End of Instructions.
Sep/2016 - Method 1
10/Mar/2010 (Method 2) -- Art Mulder -- Howto docs
12/Jan/2012 (Method 3) -- Art Mulder -- Howto docs