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/07 18:24] – kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Setup Printers | + | ====== SETUP PRINTER UNDER LINUX ====== |
- | ===== Windows ===== | ||
- | ==== Computer joined to UNIBZ domain ==== | ||
- | *Step 1 | + | ===== 1. PRINTING via SAMBA (using a Windows Print Server) ===== |
- | {{printers1.jpg|: | + | |
- | *Step 2 | + | <note important> |
- | {{printers2.jpg|: | + | |
- | *Step 3 | + | First get the name(s) of the printer(s) you want to use: |
- | {{printers3.jpg|:printers3.jpg}} | + | |
- | *Step 4 | + | To get the printer names use smbclient. If the program is not installed do: |
- | {{printers4.jpg|:printers4.jpg}} | + | |
- | *Step 5 | + | * apt-get update; apt-get install smbclient |
- | {{printers5.jpg|: | + | |
- | *Step 6 | + | Now execute this line to get a list of the printer names: |
- | {{printers6.jpg|:printers6.jpg}} | + | |
- | *Step 7 | + | * smbclient -L \\< |
- | {{printers7.jpg|: | + | |
- | ==== Computer not joined to UNIBZ domain ===== | + | e.g. |
- | If your PC has not joined the domain, you will need to connect to ubz02prn | + | * smbclient -L \\print.unibz.it -U bgates -W unibz |
- | 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!** | + | Printer naming scheme: |
+ | < | ||
+ | UBZ 066 POS 300 | ||
+ | | | | ||
- | To connect to ubz02prn, open Explorer and type \\ubz02prn.unibz.it: | + | | | |
- | {{printers.jpg|: | + | | |
- | ====== Linux ====== | + | |->UBZ University Site Bolzano |
+ | </ | ||
- | ==== KDE Cups Print Server ==== | + | A list of old and new printer names you can find here: http:// |
- | Step 1 | + | Now that you know the name of the printer, you can starting adding a printer. |
- | Open a konsole and type the following command: | ||
- | | + | SMB URI |
+ | < | ||
+ | smb://< | ||
+ | </ | ||
- | The KDE Print Manager Window opens. Now Select '' | ||
- | {{kde_printmanager.jpg|:kde_printmanager.jpg}} | + | Open your preferred browser and type this address: |
- | Step 2 | + | * localhost: |
- | Select the settings in the next 6 Windows | + | Follow this guides as shown on the next screen shots |
- | {{add_printer_wizard.jpg|:add_printer_wizard.jpg}}{{add_printer_wizard2.jpg|:add_printer_wizard2.jpg}} | + | ^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^ | ||
+ | |{{: | ||
- | {{add_printer_wizard3.jpg|: | ||
- | {{add_printer_wizard5.jpg|: | + | ---- |
- | Step 3 | ||
- | Configure the Printer, see next 6 Windows | ||
- | {{configure_printer.jpg|: | + | ===== 2. PRINTING via KERBEROS (using a Windows Print Server) ===== |
- | {{configure_printer3.jpg|: | + | Follow the steps as described in the link below |
- | {{configure_printer5.jpg|:configure_printer5.jpg}}{{configure_printer6.jpg|: | + | https://www.inf.unibz.it/ |
- | ==== Add Printer using CUPS via Samba ==== | + | ==== Cups printer setup and URI format |
- | Prerequisite: | + | Now add a printer using cups (localhost:631) |
- | - member of the admin group | + | In cups select '' |
- | Caution: | + | krbsmb:// |
- | This procedure is only recommended for users with their own Notebook/ | + | e.g. |
- | because it is necessary to store the password in clear! | + | |
- | 1. Open your preferred browser and type this address: | + | krbsmb:// |
- | + | ||
- | localhost: | + | |
- | + | ||
- | 2. Follow this guides as shown on the next screen shots | + | |
- | + | ||
- | ^ Select Add Printer | + | |
- | | {{: | + | |
- | + | ||
- | ^ Select Windows Printer via Samba ^ Device URI, replace with your username and password ^ | + | |
- | | {{: | + | |
- | + | ||
- | ^ Select Manufacture Generic ^ Select Printer Driver Generic Postscript ^ | + | |
- | | {{: | + | |
- | + | ||
- | ^ A window will appear asking for username and password ener yours ^ Set Printer Options ^ | + | |
- | | {{: | + | |
+ | Continue by selecting Printer Make, Printer Driver and set the Default Options | ||
---- | ---- | ||
- | ==== How to connect to a Samba Print Server ==== | ||
- | First get the name(s) of the printer(s). | + | ===== 3. PRINTING VIA CUPS (using a Linux Print Server) ====== |
- | To get the printer names use a Samba share browser like LinNeighborhood or use | + | First get the name(s) of the available printer(s): |
- | smbclient with the following options: | + | |
- | smbclient -L \\<windowsprintserver> -U <windowsuser> -W < | + | <code> |
+ | http:// | ||
+ | </code> | ||
- | Using Kerberos (aka kinit) | ||
- | smbclient -L \\< | + | Open your preferred browser and type this address: |
+ | * localhost: | ||
- | * Install: | + | Follow this guides as shown on the next screen shots |
- | + | ||
- | sudo aptitude install linneighborhood | + | |
- | * Start: | ||
- | LinNeighborhood | + | ^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^ | ||
+ | |{{: | ||
- | - Press Add: | + | Last select newly added printer; Click on **Administration**\\ |
+ | and select: **Set Default Options** | ||
- | * 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}} | + | ---- |
- | * Select the Samba Print Server and choose scan as user | ||
- | {{auth: | ||
- | * Fill in domain, username and password and press OK. | ||
- | {{auth: | ||
- | Now you should have a list with all printers attached to the Samba Printer | + | ===== 4. CHIPCARD PRINTER (using |
- | {{auth: | + | <note important> |
- | Next you need to create/add to /etc/cups/printers.conf | + | SMB URI |
+ | < | ||
+ | smb://domain\username: | ||
+ | </file> | ||
- | Example | ||
- | < | + | Open your preferred browser and type this address: |
- | <Printer **A103**> | + | |
- | 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 the following parameters: | + | * localhost:631 |
- | < | + | Follow this guides as shown on the next screen shots |
- | <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:// | + | |
- | </ | + | |
- | Example: | + | ^Select Add Printer from Administration Menu ^Chose how to connect to Printer^ |
+ | |{{:auth: | ||
+ | ^Enter Connection smb URI, Domain, YOUR username and password! ^ Name, Description and Location Names^ | ||
+ | |{{: | ||
+ | ^Select Make Generic ^Select Printer Driver Generic Postscript^ | ||
+ | |{{: | ||
+ | ^Modify Options^ | ||
+ | |{{: | ||
- | < | ||
- | <Printer A103> | ||
- | Info HP LaserJet 4050 Series | ||
- | Location Library | ||
- | DeviceURI smb:// | ||
- | </ | ||
- | Last restart | + | <note important> |
- | | + | |
+ | In a terminal type: | ||
- | ==== MacOsX ==== | + | sudo cat / |
+ | Restart cups daemon: | ||
- | Open the preference panel and select "Print & Fax" and press the " | + | sudo / |
- | {{auth: | + | === Remove clear password from / |
- | Choose "IP Printer" | + | <note important> |
- | In the address field put " | + | |
+ | Open the config file and make the following modifications: | ||
- | {{auth: | + | * sudo vi / |
- | and in the " | + | Place this line in: |
- | ^model^location^alias^queue| | + | < |
- | |HP4050|1st floor left|admin|/ | + | AuthInfoRequired username, |
- | |HP4350|2st floor left|krdb|/ | + | </code> |
- | |HP4100|2st floor right|dis|/printers/HP_LaserJet_4100| | + | Next search for the the DeviceURI line and substitute it |
- | |HP3700|1st floor right|case|/printers/ | + | with this line. |
- | |HP5550|1st floor left|admin-color|/ | + | < |
+ | DeviceURI smb://ubz02cps.unibz.it/CPSPrn01 | ||
+ | </code> | ||
- | and then choose the printer model accordingly, | + | ---- |
+ | ==== Printing of private and confidential Documents ==== | ||
- | ==== MacOsX via Samba ==== | + | https:// |
- | Open the preference panel and select "Print & Fax" and press the " | ||
- | {{auth: | + | ===== Windows 7 and Mac OSX ===== |
- | 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 < | + | [[http://www.unibz.it/en/ict/ |
+ | Home>To Computer & Internet> | ||
- | {{auth:osx_printer_samba2.png|}} | + | List of old and new printer names:\\ |
+ | http:// | ||
- | |||
- | 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