This is an old revision of the document!
Table of Contents
SETUP PRINTER
LINUX
PRINTING VIA CUPS (using a Linux Print Server)
First get the name(s) of the available printer(s):
http://gutenberg.inf.unibz.it:631/printers
Open your preferred browser and type this address:
- localhost:631
Follow this guides as shown on the next screen shots
Select Add Printer | Enter local username (must be in admin/sudo group) and local password |
---|---|
Enter Connection string e.g. http://gutenberg.inf.unibz.it:631/printers/<printername> | Name, Description and Location Names |
Select Make | Select Driver |
Last select newly added printer; Click on Administration
and select: Set Default Options
PRINTING VIA SAMBA (using a Windows Print Server)
First get the name(s) of the printer(s) you want to use:
To get the printer names use smbclient. If the program is not installed do:
- apt-get update; apt-get install smbclient
Now execute this line to get a list of the printer names:
- smbclient -L \\<windowsprintserver> -U <unibz-login> -W <domain>
e.g.
- smbclient -L \\print.unibz.it -U bgates -W unibz
Printer naming scheme:
UBZ 066 POS 300 | | | |-> Room number | | |->POS Building | |->IP-Adress |->UBZ University Site Bolzano
A list of old and new printer names you can find here: http://www.unibz.it/en/ict/Documents/PrinterList.pdf
Now that you know the name of the printer, you can starting adding a printer.
SMB URI
smb://domain\username:password@print.unibz.it/<printername>
Open your preferred browser and type this address:
- localhost:631
Follow this guides as shown on the next screen shots
Check that the cups printer config file printers contains the string:
smb://domain\username:password@print.unibz.it/<printername>
In a terminal type:
- sudo cat /etc/cups/printers.conf | grep smb:
Restart cups daemon:
- sudo /etc/init.d/cups restart
Remove clear password from /etc/cups/printers.conf config file
Open the config file and make the following modifications:
- sudo vi /etc/cups/printers.conf
Place this line in:
AuthInfoRequired username,password
Next search for the the DeviceURI line and substitute it with this line. Please remember to leave the printername unchanged!
DeviceURI smb://print.unibz.it/<printername>
CHIPCARD PRINTER (using a Windows Print Server)
SMB URI
smb://domain\username:password@ubz02cps.unibz.it/CPSPrn01
Open your preferred browser and type this address:
- localhost:631
Follow this guides as shown on the next screen shots
smb://domain\username:password@ubz02cps.unibz.it/CPSPrn01
In a terminal type:
sudo cat /etc/cups/printers.conf | grep smb:
Restart cups daemon:
sudo /etc/init.d/cups restart
Remove clear password from /etc/cups/printers.conf config file
Open the config file and make the following modifications:
- sudo vi /etc/cups/printers.conf
Place this line in:
AuthInfoRequired username,password
Next search for the the DeviceURI line and substitute it with this line.
DeviceURI smb://ubz02cps.unibz.it/CPSPrn01
Printing of private and confidential Documents
Windows 7 and Mac OSX
Home>To Computer & Internet>Computer - Network>Printers
List of old and new printer names:
http://www.unibz.it/en/ict/Documents/PrinterList.pdf