UWO Math Printing Instructions

The printer in MC103a is hosted on the stealth.uwo.ca SMB server. I figured this guide out on my own, so this could break at any time if anything changes. Note that this guide uses up your print credits, as usual.

  1. Install CUPS and Samba

    • Samba: you may need the following in your /etc/smb.conf:
      [global]
      client min protocol = SMB2
      client max protocol = SMB3
      
  2. Download the PPD for the printer: Math.ppd

    I retrieved this from the print server a while ago and have no recollection about how I did this. Note that the math printers are not listed on the supported models; they work anyways.

  3. Figure out the connection URL:

    • URL-encode your username <username>@UWO.CA, e.g. mine is bconnor4@UWO.ca resulting in bconnor4%40UWO.CA. MAKE SURE UWO.CA IS CAPITALIZED!

    • URL-encode your password, e.g. mine is (not) hunter2! resulting in hunter2%21

    • The connection url is then

      smb://<encoded user>:<encoded password>@STEALTH.UWO.CA/Math-MC103a-BW
      

      For example, mine is:

      smb://bconnor4%40UWO.CA:hunter2%21@STEALTH.UWO.CA/Math-MC103a-BW
      

      Again, make sure STEALTH.UWO.CA is capitalized.

      Note that CUPS will hide your username and password from the printer URL once you’ve finished setting it up and the file storing this (/etc/cups/printers.conf or similar) is not world-readable.

      As with the school computers you need to add a second printer for colour printing; this is done by changing Math-MC103a-BW to Math-MC103a-Colour. This guide should also work for the other printers available on that server as long as you’re able to print to them; you can get a listing via smbclient:

      smbclient -L '\\stealth.uwo.ca' -U '<username>@UWO.CA'
      
  4. Add the printer via CUPS

    • Usually https://127.0.0.1:631/admin -> “Add Printer”
    • “Windows Printer via SAMBA”
    • Paste in that connection string
    • Give it some name
    • Upload the PPD file and finish
  5. Print!