XClose

Information Services Division

Home
Menu

Connecting to Print@UCL using Linux

This guide will explain how to enable your standalone Linux computer to print to a Print@UCL device.

Please note: You will need to repeat this process every time you change your UCL password.

Print @ UCL logo…Linux logo…

This guide is aimed at...

  • Staff
  • Students
  • IT Administrators
  • SLMS staff
  • Researchers

Before you start...

  • You will need a computer running a Linux operating system and connected to the internet. Please note, Ubuntu is the only fully supported Linux OS.  All other versions will be supported on a best efforts basis.
  • You will need to have the smbclient package installed before connecting to the printer.  You will be able to install this using your normal Linux distributions package management system such as apt-get or yum.
Example:
sudo apt-get install smbclient

  • In addition to the smbclient package Ubuntu 18.04 LTS requires the python3-smbc package installed before connecting to the printer.  You will be able to install this using your normal Linux distributions package management system such as Apt-get.

Ubuntu 18.04 LTS:

sudo apt-get install smbclient
sudo apt-get install python3-smbc

  • A UCL card and user ID.

Instructions

These steps were created on Ubuntu 18.04 and have been tested to work in Debian, Ubuntu, Mint, Redhat and Centos. You may need to enter your root password a number of times during this process.

1. Open Settings and click on Devices > Printers.

Ubuntu Settings, printers dialogue box

Fig 1. Ubuntu Settings, Printers screen

2. On the right hand slide click Additional Printer Settings

3. Click Add on the box that appears

Ubuntu printers dialogue box

Fig 2. Add new printer screen

3. In the left hand pane click Network Printer and wait a moment whilst the configuration loads. Once fully loaded click Windows Printer via SAMBA and enter the following details:

  • SMB Printer: print.ucl.ac.uk/print-ucl
  • Authentication: Prompt user if authentication required

Please DO NOT enter any username/password here. Just click Forward.

New Printer

Fig 3. New printer, select device screen

4. Download the Xerox driver linux-print-driver.ppd and save to your home directory.

5. At the printer driver selection screen, choose “Provide PPD file” and select the linux-print-driver.ppd you downloaded in step 4. Click Forward.

Ubuntu Select Driver

Fig 4. Choose driver screen

6. On the installable options screen select the options below and Click Forward

  • Paper Tray Options - 5 Paper Trays Installed
  • Finisher /Output Tray - Advanced Office Finisher
  • Hole Punch Unit - Not Installed
  • Job Storage - Disabled

Fig 5. Installable options screen

7. Change the Printer Name: print-UCL and Description: print-UCL and click Apply.

Ubuntu Describe printer screen

Fig 6. Printer description screen

Please note: The above will work for most users but some may find printing very slow.  If this is the case for you please carry out the following additional steps.

A. Open Terminal as administrator

B. Type - sudo nano /etc/samba/smb.conf

C. Under the section labelled [Global] enter the following two lines:

client min protocol = SMB2

client max protocol = SMB3

Fig 6. Ubuntu Terminal Window

D. Save the file and exit Terminal.

8. Finally, when the pop up dialog box asks you Would you like to print a test page? click Print Test Page. Then click OK on job submission. 

Print test page message window

Fig 7. Print Test Page screen

9. Now from the Printers - localhost window select the printer print-UCL and from Printer menu click View Print Queue. (Keyboard shortcut Ctrl + F)
The local print queue will be shown at Document Print Status (print-ucl) window.

View print queue window

Fig 8. View Print Queue screen

10. Right click the Test page document you sent to the printer. Click on the Authenticate option.

Authenticate box

Fig 9. Select Authenticate screen

11. Enter your UCL user ID and password. Note: you need to put ad/ before your user ID.

Username: ad/<user ID> e.g. “ad/ccaaxxx”
Password: your normal UCL password (the same one you would use for email)

The document will be sent to a Print@UCL printer. Use your UCL ID card to log in to the printer and print it there.

Note:  If at step 10 you do not see an authentication dialog box then you will need to do the following:

12. Open a terminal window

13. Stop the cups server:

$ sudo service cups stop

14. Edit the printers.conf file

$ sudo nano /etc/cups/printers.conf

15. Near the top of the file edit the AuthInfoRequired line as follows:

AuthInfoRequired username,password

16. Save and exit using Ctrl + X

17. Restart the cups server

$ sudo service cups start

 

Feedback

We are continually improving our site, so please provide us any feedback on this web page using the form below. It would also be really useful if we could discuss your feedback with you, so if you are happy to be contacted please include your UCL email address in 'Email' field below.

Please note: We can only respond to UCL email addresses

Help us improve this page