Configuring Linux Printing

Method 1 - using a GUI

  1. Open the Printing management page Menu -> System -> Printing and click on the Add button

     

  2. In the Enter device URI box type smb://print1/staffqueuenorth or smb://print2/staffqueuesouth and click Forward



  3. Select the Ricoh driver from the list and click Forward



  4. Select the Ricoh Aficio MP 4500 PXL driver and click Forward



  5. Click Forward and then Apply and your printer setup is complete.

Notes

  • When authenticating a print job it may be necessary to prefix your username with livad e.g LIVAD\jjones if your samba config file is not setup.
  • When printing from the command line you will need to open the print queue (Printing -> Right click on printer -> View print queue) and right click on the job and select authenticate.


Method 2 for advanced users

  • Open a terminal with root privileges
  • Insert the printers.conf text below into your /etc/cups/printers.conf
  • Download the ppd files for the printers and copy them to /etc/cups/ppd
wget –O /etc/cups/ppd/StaffQueueNorth.ppd http://build1.liv.ac.uk/printers/StaffQueueNorth.ppd
wget –O /etc/cups/ppd/StaffQueueSouth.ppd http://build1.liv.ac.uk/printers/StaffQueueSouth.ppd
  • Restart cups:  sudo service cups restart

Printers.conf file: /etc/cups/printers.conf

<DefaultPrinter StaffQueueNorth>
UUID urn:uuid:6ff1e290-44eb-341e-6afa-c7be67a86fa2
AuthInfoRequired username,password
Info StaffQueueNorth
MakeModel Ricoh Aficio MP 4500 PXL
DeviceURI smb://print1/staffqueuenorth
State Idle
StateTime 1370961931
Type 8388612
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer StaffQueueSouth>
UUID urn:uuid:6ff1e290-44eb-341e-6afa-c7be67a86fa2
AuthInfoRequired username,password
Info StaffQueueSouth
MakeModel Ricoh Aficio MP 4500 PXL
DeviceURI smb://print2/staffqueuesouth
State Idle
StateTime 1370947496
Type 8388612
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>


Samba config file (/etc/samba/smb.conf)

 [global]

   workgroup = LIVAD
   realm = LIVAD.LIV.AC.UK
   preferred master = no
   server string = %h
   security = ADS
   encrypt passwords = true
   log level = 1
   socket options = TCP_NODELAY
   log file = /var/log/samba/%m
   max log size = 50
   aio read size = 1
   aio write size = 1
   Lanman Auth = No
   kerberos method = system keytab
   name resolve order = host