User Tools

Site Tools


auth:setup_printers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
auth:setup_printers [2008/01/31 10:21] – created kohoferauth:setup_printers [2012/05/18 14:24] – [Add Printer using Browser (localhost) Printer Server] kohofer
Line 1: Line 1:
-===== Setup Printers =====+====== 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 ===== ===== Windows =====
 +
 ==== Computer joined to UNIBZ domain ==== ==== Computer joined to UNIBZ domain ====
 +
  
   *Step 1   *Step 1
Line 25: Line 32:
   {{printers7.jpg|:printers7.jpg}}   {{printers7.jpg|:printers7.jpg}}
  
-==== Computer not 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.+ 
 +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: To connect to ubz02prn, open Explorer and type \\ubz02prn.unibz.it:
  
-{{printers.jpg|:printers.jpg}}+{{ :auth:ubz02prn.png?600 |Windows Print Server ubz02prn}} 
 + 
 +<note important>For guest users make sure they are in the **guest_print_cs** group! 
 +</note> 
 + 
 +===== Linux ===== 
 + 
 +==== Add Printer using Browser (localhost) Printer Server ==== 
 + 
 +Open browser and go tohttp://localhost:631 Click on TAB **Administration** Select **Add Printer** 
 + 
 +{{:auth:0_add-new-printer_w-browser.png?direct&600|}} 
 + 
 +Enter local **username** (must be in admin/sudo group) and local **password** 
 + 
 +{{:auth:1_add-new-printer_w-browser.png?direct&600|}} 
 + 
 +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** 
 + 
 +{{:auth:2_add-new-printer_w-browser.png?direct&600|}} 
 + 
 +Fill out all 3 fields! Press **Continue** 
 + 
 +{{:auth:3_add-new-printer_w-browser.png?direct&600|}} 
 + 
 +Choose Printer Make! Press **Continue** 
 + 
 +{{:auth:4_add-new-printer_w-browser.png?direct&600|}} 
 + 
 +Choose Printer Model! Press **Continue** 
 + 
 +{{:auth:5_add-new-printer_w-browser.png?direct&600|}} 
 + 
 +Finally select newly added printer; Click on **Administration**\\ 
 +and select: **Set Default Options**
  
-====== Linux ======+Done!
  
 ==== KDE Cups Print Server ==== ==== KDE Cups Print Server ====
Line 67: Line 116:
  
  
 +==== Add Printer using CUPS via Samba ====
 +
 +=== Chip Card Printer ===
 +
 +
 +**IMPORTANT!**
 +
 +<note important>member of the admin group</note>
 +
 +<note important>Alternative Device URI, in case URI below does NOT work!</note>
 +
 +  smb://<domain>\<username>:<password>@ubz02cps/CPSPrn01
 +  
 +  e.g. smb://unibz\freddy:TzB12-Ah@ubz02cps/CPSPrn01
 +
 +<note warning>This procedure is only recommended for users with their own Notebook/Desktop,
 +because it is necessary to store the password in clear!</note>
 +
 +**PROCEDURE**
 +
 + * Open your preferred browser and type this address: 
 +
 +  localhost:631
 +
 +  * Follow this guides as shown on the next screen shots
 +
 +^ Select Add Printer      ^ Fillout the 3 fields with your own values^
 +| {{:auth:cps0.png|Add Printer}} | {{:auth:cps1.png|Fillout the 3 fields}} |
 +
 +^ Select Windows Printer via Samba ^ Device URI, replace with your username and password ^
 +| {{:auth:cps2.png|Select Windows Printer via Samba}} | {{:auth:cps3.png|Device URI, replace with your username and password}} |
 +
 +
 +^ Select Manufacture Generic ^ Select Printer Driver Generic Postscript ^
 +| {{:auth:cps4.png|Select Manufacture Generic}} | {{:auth:cps5.png|Select Printer Driver Generic Postscript}} |
 +
 +^ A window will appear asking for username and password ener yours ^ Set Printer Options ^
 +| {{:auth:cps6.png|Enter login and password}} | {{:auth:cps7.png|Set Printer Options}} |
 +
 +  * Restart cupsys daemon:
 +
 +  sudo /etc/init.d/cupsys restart
 ==== How to connect to a Samba Print Server ==== ==== How to connect to a Samba Print Server ====
  
 First get the name(s) of the printer(s). First get the name(s) of the printer(s).
  
-To get the printer names use a Samba share browser like LinNeighborhood.+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:   * Install:
Line 144: Line 243:
  
  
 +===== Mac OSX =====
  
- +==== Mac OSX via IPP ====
- +
- +
-==== MacOsX ==== +
  
 Open the preference panel and select "Print & Fax" and press the "+" button Open the preference panel and select "Print & Fax" and press the "+" button
Line 164: Line 260:
 ^model^location^alias^queue| ^model^location^alias^queue|
 |HP4050|1st floor left|admin|/printers/HP_LaserJet_4050| |HP4050|1st floor left|admin|/printers/HP_LaserJet_4050|
-|HP4350|2st floor left|krdb|/printers/HP_LaserJet_4100_2fl_left|+|HP4350|2st floor left|krdb|/printers/HP_LJ4350|
 |HP4100|2st floor right|dis|/printers/HP_LaserJet_4100| |HP4100|2st floor right|dis|/printers/HP_LaserJet_4100|
 |HP3700|1st floor right|case|/printers/HP_LaserJet_3700| |HP3700|1st floor right|case|/printers/HP_LaserJet_3700|
 |HP5550|1st floor left|admin-color|/printers/HP_Color_LaserJet_5550| |HP5550|1st floor left|admin-color|/printers/HP_Color_LaserJet_5550|
 +|HP4350|3rd floor left|krdb-2|/printers/HP_LJ4350|
  
 and then choose the printer model accordingly, then press "Add" and then choose the printer model accordingly, then press "Add"
  
 +==== Mac OSX via Samba ====
  
 +Mac OS X v10.5 or later
  
-==== MacOsX via Samba ====+   1. Choose System Preferences from the Apple menu. 
 +   2. Choose Print & Fax from the View menu. 
 +   3. Click the + button to add a printer.
  
-Open the preference panel and select "Print & Fax" and press the "+" button+{{auth:osx_printer1.png|Printing Preferences}}
  
-{{auth:osx_printer1.png|}}+   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. 
 +    
 +{{auth:osx_printer_samba2.png|Advanced Setup}} 
 +    
 +   9. In the URL field, type the printer's address in the following format:
  
-While holding the option (alt) key press **More Printers** and chose **Advanced** from the topmost dropdown menu. Then choose as Device **Windows Printer via SAMBA**, insert a device name and as DeviceURI <code>smb://UNIBZ\mylogin:mypassowrd@ubz02prn.unibz.it/Printqueuename</code>. Finally choose your printer model.+    smb://UNIBZ\mylogin:mypassword@ubz02prn.unibz.it/Printqueuename
  
-{{auth:osx_printer_samba2.png|}}+   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:
  
-To get a list of Printqueuenames on ubz02prn you can use the terminal and type the following command:+  smbutil view //mylogin@ubz02prn.unibz.it 
  
-<code> 
- smbutil view //mylogin@ubz02prn.unibz.it  
-</code> 
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer