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/11/22 17:22] kohofer
Line 1: Line 1:
-===== Setup Printers =====+<note important>TO REDO</note> 
 + 
 + 
 +====== 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 35:
   {{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 119:
  
  
 +==== 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
 +
 +^ Add Printer      ^ Select Backend ^
 +| {{:auth:01-add-printer.png?direct&500|}} | {{:auth:02-choose-backend.png?direct&500|}} |
 +
 +
 +^ Enter Connection String SMB URI, enter Domain unibz, YOUR username and password! ^ Name, Description and Location Names^
 +| {{:auth:03-enter-connection-string.png?direct500|}} | {{:auth:04-name-printer.png?direct500|}} |
 +
 +
 +^ Select Make Generic ^ Select Printer Driver Generic Postscript ^
 +| {{:auth:05-choose-make.png?direct500|}} | {{:auth:06-choose-driver.png?direct500|}} |
 +
 +
 +^ Modify Options ^
 +| {{:auth:07-set-options.png?direct500|}} |
 +
 +
 +<note important>Check that the cups printer config file printers contains the string:</note>
 +
 +  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 ==== ==== 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 257:
  
  
 +===== 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 163: Line 273:
 and in the "queue" the path according to this table: and in the "queue" the path according to this table:
 ^model^location^alias^queue| ^model^location^alias^queue|
-|HP4050|1st floor left|admin|/printers/HP_LaserJet_4050+|DSM730|1st floor left|CASE-multifunction|/printers/DSM730
-|HP4350|2st floor left|krdb|/printers/HP_LaserJet_4100_2fl_left+|HP5550|1st floor left|CASE-color|/printers/5550_P103
-|HP4100|2st floor right|dis|/printers/HP_LaserJet_4100+|MP3352|2nd floor right|DIS-multifunction|/printers/Aficio_MP3352
-|HP3700|1st floor right|case|/printers/HP_LaserJet_3700+|HP5550|2nd floor right|DIS-color|/printers/HP_Color_LaserJet_5550
-|HP5550|1st floor left|admin-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" 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