This is an old revision of the document!
Table of Contents
Setup Printers
Guest
ubz02prn and gutenberg.inf.unibz.it are now open form the guest wlan. Guests created by the Faculty Administration are added automatically to the Guest_Print_CS group and this group has access only to the printer in the POS building.
Windows
Computer joined to UNIBZ domain
Computer not joined to UNIBZ domain
If your PC has not joined the domain, you will need to connect to ubz02prn and double click on one of the printers in the list in order to install it.
You will of course need a valid account to connect to the printserver!
To connect to ubz02prn, open Explorer and type \\ubz02prn.unibz.it:
Linux
Add Printer using Browser (localhost) Printer Server
Open browser and go to: http://localhost:631 Click on TAB Administration 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/3352_SERK000
For other printers open a new tab in browser http://gutenberg.inf.unibz.it:631/printers
right click on printer name under Queue Name and select Copy Link Location
Go back to tab localhost:631 and paste in Connection field.
Press Continue
Fill out all 3 fields! Press Continue
Choose Printer Make! Press Continue
Choose Printer Model! Press Continue
Finally select newly added printer; Click on Administration
and select: Set Default Options
Done!
KDE Cups Print Server
Step 1
Open a konsole and type the following command:
kcmshell printmgr
The KDE Print Manager Window opens. Now Select Add
from the right menu and choose Add Printer/Class …
Step 2
Select the settings in the next 6 Windows
Step 3
Configure the Printer, see next 6 Windows
Add Printer using CUPS via Samba
Chip Card Printer
IMPORTANT!
smb://<domain>\<username>:<password>@ubz02cps/CPSPrn01 e.g. smb://unibz\freddy:TzB12-Ah@ubz02cps/CPSPrn01
PROCEDURE
* Open your preferred browser and type this address:
localhost:631
- Follow this guides as shown on the next screen shots
Enter Connection String SMB URI, enter Domain unibz, YOUR username and password! | Name, Description and Location Names |
---|---|
smb://domain\username:password@ubz02cps/CPSPrn01
In a terminal type:
sudo cat /etc/cups/printers.conf | grep smb:
Restart cups daemon:
sudo /etc/init.d/cups restart
How to connect to a Samba Print Server
First get the name(s) of the printer(s).
To get the printer names use a Samba share browser like LinNeighborhood or use smbclient with the following options:
smbclient -L \\<windowsprintserver> -U <windowsuser> -W <domain> > printer_list.txt
Using Kerberos (aka kinit)
smbclient -L \\<windowsprintserver> -k > printer_list.txt
- Install:
sudo aptitude install linneighborhood
- Start:
LinNeighborhood
- Press Add:
- Fill in Samba Print Server, Domain and Print Server IP-Address and press Query to verify entries, if query status: query host … done, press OK
- Select the Samba Print Server and choose scan as user
- Fill in domain, username and password and press OK.
Now you should have a list with all printers attached to the Samba Printer Server.
Next you need to create/add to /etc/cups/printers.conf file
Example
<Printer **A103**> Info **HP LaserJet 4050 Series** Location **Library** DeviceURI smb://**username**:**password**@UNIBZ/UBZ02PRN/**printername** State Idle StateTime 1178615467 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job </Printer>
You have to modify the following parameters:
<Printer A103>: name of the printer Info HP LaserJet 4050 Series: Info about the printer, type etc. Location Library: Where is the printer located DeviceURI smb://username:password@UNIBZ/UBZ02PRN/printername: username, password and Printer Name.
Example:
<Printer A103> Info HP LaserJet 4050 Series Location Library DeviceURI smb://bgates:forgotten@UNIBZ/UBZ02PRN/4250_A103
Last restart the cupsys daemon:
sudo /etc/init.d/cupsys restart
Mac OSX
Mac OSX via IPP
Open the preference panel and select “Print & Fax” and press the “+” button
Choose “IP Printer” and then “Internet Printing Protocol” In the address field put “gutenberg.inf.unibz.it:631”
and in the “queue” the path according to this table:
model | location | alias | queue |
---|---|---|---|
DSM730 | 1st floor left | CASE-multifunction | /printers/DSM730 |
HP5550 | 1st floor left | CASE-color | /printers/5550_P103 |
MP3352 | 2nd floor right | DIS-multifunction | /printers/Aficio_MP3352 |
HP5550 | 2nd floor right | DIS-color | /printers/HP_Color_LaserJet_5550 |
RA2027 | 2nd floor left | KRDB-multifunction | /printers/Aficio_2027 |
HP4515 | 2nd floor left | KRDB-bw | /printers/P4515_P2L |
HP4350 | 3rd floor left | KRDB-bw | /printers/HP_LJ4350 |
and then choose the printer model accordingly, then press “Add”
Mac OSX via Samba
Mac OS X v10.5 or later
1. Choose System Preferences from the Apple menu. 2. Choose Print & Fax from the View menu. 3. Click the + button to add a printer.
4. Press the Control key while clicking the "Default" icon (or any other icon on the toolbar), then choose Customize Toolbar from the contextual menu that appears. 5. Drag the Advanced (gear) icon to the toolbar. 6. Click Done. 7. Click the Advanced icon that was added to the toolbar. 8. Choose Windows from the Type pop-up menu.
9. In the URL field, type the printer's address in the following format:
smb://UNIBZ\mylogin:mypassword@ubz02prn.unibz.it/Printqueuename
10. In the Name field, type the name you would like to use for this printer in Mac OS X. 11. Choose the appropriate PPD or printer driver from the "Printer Model" pop-up menu. 12. Click Add.
To get a list of Print queue names on ubz02prn you can use the terminal and type the following command:
smbutil view //mylogin@ubz02prn.unibz.it