Mozilla Skin

NUSNET printing

From Linux & Open Source @ NUS

WORK IN PROGRESS

NUSNET Printing

The following HOWTO has been successfully tested in Ubuntu Feisty


Requirements

  • Samba and WinBind need to be installed
    • apt-get install samba winbind on Feisty
    • Add winbind to the passwd and group sections of /etc/nsswitch.conf
    • Test winbind using /sbin/ldconfig -v |grep winbind ... it should return libnss_winbind somewhere in there.
    • Modify smb.conf or replace it with the one below (make a backup first!)
# Start of the smb.conf file - comments look like this.
# Any lines beginning like this are comments.

[global]

workgroup = NUSSTU
idmap gid = 10000-200000
idmap uid = 10000-200000
domain logons = No
domain master = No
security = domain
winbind enum groups = Yes
winbind enum users = Yes
winbind use default domain = Yes
wins server = 137.132.1.60 137.132.4.5
password server = 137.132.4.28 137.132.4.29
encrypt passwords = yes
template shell = /home/%D/%U
template shell = /bin/bash

[homes]

comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes

# End of smb.conf
# Comment out all other lines instead of deleting them =)

  • Find out the printer's model and hostname first!


Setting up the printer

Settings for Computer Centre
Settings for Computer Centre
  1. Go to System > Administration > Printer
  2. Add new printer
  3. Select network printer, and choose Windows Printer (SMB)
  4. Enter the Hostname of the printer you wish to print to
  5. Enter printer Name
  6. Followed by your NUSNET UserID and Password
  7. Select the printer model* after clicking "Forward"
  8. Enter Description and Location of your choice
  9. Your printer should be successfully added.
  • (For this example we used HP Laserjet-8150)


Printing

  1. Do your work as per normal.
  2. Go to File -> Print.
  3. Choose the printer you set up earlier.
  4. Send the job and get it printed!
  5. Laugh evilly (optional if a lecturer is around.)
NUSNET printer details
NUSNET printer details
NUSNET printer details
NUSNET printer details
NUSNET printer details
NUSNET printer details