auth:setup_printers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
auth:setup_printers [2009/10/21 11:12] – kohofer | auth:setup_printers [2012/12/06 16:50] – [PRINTING via KERBEROS (using a Windows Print Server)] kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Setup Printers | + | ====== SETUP PRINTER ====== |
- | ===== Windows | + | ===== LINUX ===== |
- | ==== Computer joined to UNIBZ domain | + | |
- | *Step 1 | ||
- | {{printers1.jpg|: | ||
- | *Step 2 | + | ===== PRINTING via KERBEROS (using a Windows Print Server) ===== |
- | {{printers2.jpg|: | + | |
- | *Step 3 | + | Follow the Guide lines as described in the link below |
- | {{printers3.jpg|: | + | |
- | *Step 4 | + | https:// |
- | {{printers4.jpg|:printers4.jpg}} | + | |
- | *Step 5 | ||
- | {{printers5.jpg|: | ||
- | *Step 6 | + | Before you can print YOU MUST get a Kerberos ticket |
- | {{printers6.jpg|: | + | |
- | *Step 7 | + | * kinit < |
- | {{printers7.jpg|: | + | |
- | ==== Computer not joined to UNIBZ domain ===== | + | Check if you got a correct ticket |
- | If your PC has not joined the domain, you will need to connect to ubz02prn | + | * klist < |
- | 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: | ||
- | {{printers.jpg|: | + | ===== PRINTING VIA CUPS (using a Linux Print Server) ====== |
- | ====== Linux ====== | + | First get the name(s) of the available printer(s): |
- | ==== KDE Cups Print Server ==== | + | < |
+ | http:// | ||
+ | </ | ||
- | Step 1 | ||
- | Open a konsole | + | Open your preferred browser |
- | | + | * localhost: |
- | The KDE Print Manager Window opens. Now Select '' | + | Follow this guides as shown on the next screen shots |
- | {{kde_printmanager.jpg|: | ||
- | Step 2 | + | ^Select Add Printer ^Enter local username (must be in admin/sudo group) and local password^ |
+ | |{{: | ||
+ | ^Enter Connection string e.g. http:// | ||
+ | |{{: | ||
+ | ^Select Make ^Select Driver^ | ||
+ | |{{: | ||
- | Select the settings in the next 6 Windows | + | Last select newly added printer; Click on **Administration**\\ |
+ | and select: **Set Default Options** | ||
- | {{add_printer_wizard.jpg|: | ||
- | {{add_printer_wizard3.jpg|: | + | ---- |
- | {{add_printer_wizard5.jpg|: | ||
- | Step 3 | ||
- | Configure the Printer, see next 6 Windows | + | ===== PRINTING VIA SAMBA (using a Windows |
- | {{configure_printer.jpg|: | + | <note important> |
- | {{configure_printer3.jpg|:configure_printer3.jpg}}{{configure_printer4.jpg|: | + | First get the name(s) of the printer(s) you want to use: |
- | {{configure_printer5.jpg|:configure_printer5.jpg}}{{configure_printer6.jpg|: | + | To get the printer names use smbclient. If the program is not installed do: |
- | ==== Add Printer using CUPS via Samba ==== | + | * apt-get update; apt-get install smbclient |
- | Prerequisite: | + | Now execute this line to get a list of the printer names: |
- | - member of the admin group | + | * smbclient |
- | Caution: | + | e.g. |
- | This procedure is only recommended for users with their own Notebook/ | + | * smbclient -L \\print.unibz.it -U bgates -W unibz |
- | because | + | |
- | 1. Open your preferred browser and type this address: | + | Printer naming scheme: |
+ | < | ||
+ | UBZ 066 POS 300 | ||
+ | | | | ||
- | | + | | | |
- | 2. Follow this guides as shown on the next screen shots | + | | |-> |
- | ^ Select Add Printer | + | |->UBZ University Site Bolzano |
- | | {{: | + | </ |
- | ^ Select Windows Printer via Samba ^ Device URI, replace with your username | + | A list of old and new printer names you can find here: http://www.unibz.it/ |
- | | {{:auth:cps2.png|Select Windows Printer via Samba}} | {{: | + | |
- | ^ Select Manufacture Generic ^ Select Printer Driver Generic Postscript ^ | + | Now that you know the name of the printer, you can starting adding a printer. |
- | | {{: | + | |
- | ^ A window will appear asking for username and password ener yours ^ Set Printer Options ^ | ||
- | | {{: | ||
+ | SMB URI | ||
+ | < | ||
+ | smb:// | ||
+ | </ | ||
- | ---- | ||
- | ==== How to connect to a Samba Print Server ==== | + | Open your preferred browser and type this address: |
- | First get the name(s) of the printer(s). | + | * localhost: |
- | To get the printer names use a Samba share browser like LinNeighborhood or use | + | Follow this guides as shown on the next screen shots |
- | smbclient with the following options: | + | |
- | smbclient | + | ^Select Add Printer from Administration Menu ^Chose how to connect to Printer^ |
+ | |{{: | ||
+ | ^Chose how to connect to Printer ^Enter Connection String SMB URI, enter Domain unibz, YOUR username and password!^ | ||
+ | |{{: | ||
+ | ^Enter Name, Description and Location ^Select Make of Printer^ | ||
+ | |{{: | ||
+ | ^Select Driver ^Set initial default Options^ | ||
+ | |{{: | ||
+ | ^Set Default Options^ | ||
+ | |{{: | ||
- | Using Kerberos (aka kinit) | ||
- | smbclient -L \\< | + | Check that the cups printer config file printers contains the string: |
+ | < | ||
+ | smb:// | ||
+ | </ | ||
- | * Install: | + | In a terminal type: |
- | | + | |
- | | + | |
- | * Start: | + | Restart cups daemon: |
+ | * sudo / | ||
- | LinNeighborhood | + | === Remove clear password from / |
- | - Press Add: | + | <note important> |
- | * 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 | ||
- | {{auth:add-machine.png}} | + | Open the config file and make the following modifications: |
- | * Select the Samba Print Server and choose scan as user | + | * sudo vi / |
- | {{auth:linneighborhood.png}} | + | Place this line in: |
+ | < | ||
+ | AuthInfoRequired username, | ||
+ | </ | ||
+ | Next search for the the DeviceURI line and substitute it | ||
+ | with this line. Please remember to leave the printername unchanged! | ||
+ | < | ||
+ | DeviceURI smb:// | ||
+ | </ | ||
- | * Fill in domain, username and password and press OK. | + | ---- |
- | {{auth: | + | ===== CHIPCARD PRINTER (using a Windows Print Server) ===== |
- | Now you should have a list with all printers attached to the Samba Printer Server. | + | <note important> |
- | {{auth:printer-list.png}} | + | SMB URI |
+ | < | ||
+ | smb:// | ||
+ | </ | ||
- | Next you need to create/add to / | ||
- | Example | + | Open your preferred browser and type this address: |
- | < | + | |
- | < | + | |
- | Info **HP LaserJet 4050 Series** | + | |
- | Location **Library** | + | |
- | DeviceURI smb:// | + | |
- | State Idle | + | |
- | StateTime 1178615467 | + | |
- | Accepting Yes | + | |
- | Shared Yes | + | |
- | JobSheets none none | + | |
- | QuotaPeriod 0 | + | |
- | PageLimit 0 | + | |
- | KLimit 0 | + | |
- | OpPolicy default | + | |
- | ErrorPolicy retry-job | + | |
- | </ | + | |
- | </ | + | |
- | You have to modify | + | Follow this guides as shown on the next screen shots |
- | < | + | ^Select Add Printer |
- | <Printer | + | |{{:auth:01-add-printer.png? |
- | Info HP LaserJet 4050 Series: Info about the printer, type etc. | + | ^Enter Connection |
- | Location Library: Where is the printer located | + | |{{:auth: |
- | DeviceURI | + | ^Select Make Generic ^Select |
- | </ | + | |{{: |
+ | ^Modify Options^ | ||
+ | |{{: | ||
- | Example: | ||
- | <code> | + | <note important>Check that the cups printer config file printers contains the string:</note> |
- | <Printer A103> | + | |
- | Info HP LaserJet 4050 Series | + | |
- | Location Library | + | |
- | DeviceURI smb:// | + | |
- | </code> | + | |
- | Last restart the cupsys daemon: | + | smb:// |
- | sudo / | + | In a terminal type: |
+ | sudo cat / | ||
- | ==== MacOsX ==== | + | Restart cups daemon: |
+ | sudo / | ||
- | Open the preference panel and select "Print & Fax" and press the " | + | === Remove clear password from / |
- | {{auth:osx_printer1.png|}} | + | <note important> |
- | Choose "IP Printer" | + | Open the config file and make the following modifications: |
- | In the address field put " | + | |
+ | * sudo vi / | ||
- | {{auth:osx_printer2.png|}} | + | Place this line in: |
+ | < | ||
+ | AuthInfoRequired username, | ||
+ | </ | ||
+ | Next search for the the DeviceURI line and substitute it | ||
+ | with this line. | ||
+ | < | ||
+ | DeviceURI smb:// | ||
+ | </ | ||
- | and in the " | + | ---- |
- | ^model^location^alias^queue| | + | |
- | |HP4050|1st floor left|admin|/ | + | |
- | |HP4350|2st floor left|krdb|/ | + | |
- | |HP4100|2st floor right|dis|/ | + | |
- | |HP3700|1st floor right|case|/ | + | |
- | |HP5550|1st floor left|admin-color|/ | + | |
- | and then choose the printer model accordingly, | ||
+ | ==== Printing of private and confidential Documents ==== | ||
+ | https:// | ||
- | ==== MacOsX via Samba ==== | ||
- | Open the preference panel and select "Print & Fax" and press the " | + | ===== Windows 7 and Mac OSX ===== |
- | {{auth:osx_printer1.png|}} | + | [[http://www.unibz.it/ |
+ | Home>To Computer & Internet> | ||
- | While holding the option (alt) key press **More Printers** | + | List of old and new printer names:\\ |
+ | http://www.unibz.it/en/ict/ | ||
- | {{auth: | ||
- | |||
- | |||
- | To get a list of Printqueuenames on ubz02prn you can use the terminal and type the following command: | ||
- | |||
- | < | ||
- | | ||
- | </ |
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer