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 [2010/12/06 16:56] – kohofer | auth:setup_printers [2012/12/07 18:24] – kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ===== Windows ===== | ||
- | ==== Computer joined to UNIBZ domain | + | ===== 1. PRINTING via SAMBA (using a Windows Print Server) ===== |
+ | <note important> | ||
- | *Step 1 | + | First get the name(s) of the printer(s) you want to use: |
- | {{printers1.jpg|:printers1.jpg}} | + | |
- | *Step 2 | + | To get the printer names use smbclient. If the program is not installed do: |
- | {{printers2.jpg|:printers2.jpg}} | + | |
- | *Step 3 | + | * apt-get update; apt-get install smbclient |
- | {{printers3.jpg|: | + | |
- | *Step 4 | + | Now execute this line to get a list of the printer names: |
- | {{printers4.jpg|:printers4.jpg}} | + | |
- | *Step 5 | + | * smbclient -L \\< |
- | {{printers5.jpg|: | + | |
- | *Step 6 | + | e.g. |
- | {{printers6.jpg|: | + | |
- | *Step 7 | + | * smbclient -L \\print.unibz.it -U bgates -W unibz |
- | {{printers7.jpg|: | + | |
- | ==== Computer not joined to UNIBZ domain ==== | + | Printer naming scheme: |
+ | < | ||
+ | UBZ 066 POS 300 | ||
+ | | | | ||
- | 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: | + | |->UBZ University Site Bolzano |
+ | </ | ||
- | {{printers.jpg|:printers.jpg}} | + | A list of old and new printer names you can find here: http:// |
- | <note important> | + | Now that you know the name of the printer, you can starting adding a printer. |
- | </ | + | |
- | ===== Linux ===== | ||
- | ==== KDE Cups Print Server ==== | + | SMB URI |
+ | < | ||
+ | smb://< | ||
+ | </ | ||
- | 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|:kde_printmanager.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^ | ||
+ | |{{: | ||
- | Step 2 | ||
- | Select the settings in the next 6 Windows | + | ---- |
- | {{add_printer_wizard.jpg|: | ||
- | {{add_printer_wizard3.jpg|: | ||
- | {{add_printer_wizard5.jpg|: | + | ===== 2. PRINTING via KERBEROS (using a Windows Print Server) ===== |
- | Step 3 | + | Follow the steps as described in the link below |
- | Configure the Printer, see next 6 Windows | + | https:// |
- | {{configure_printer.jpg|: | + | ==== Cups printer setup and URI format ==== |
- | {{configure_printer3.jpg|:configure_printer3.jpg}}{{configure_printer4.jpg|: | + | Now add a printer using cups (localhost:631) |
- | {{configure_printer5.jpg|: | + | In cups select '' |
- | ==== Add Printer using CUPS via Samba ==== | + | krbsmb:// |
- | Prerequisite: | + | e.g. |
- | - member of the admin group | + | krbsmb:// |
- | Caution: | + | Continue by selecting Printer Make, Printer Driver and set the Default Options |
- | This procedure is only recommended for users with their own Notebook/ | + | ---- |
- | because it is necessary to store the password in clear! | + | |
- | 1. Open your preferred browser and type this address: | ||
- | localhost: | + | ===== 3. PRINTING VIA CUPS (using a Linux Print Server) ====== |
- | 2. Follow this guides as shown on the next screen shots | + | First get the name(s) of the available printer(s): |
- | ^ Select Add Printer | + | < |
- | | {{:auth:cps0.png|Add Printer}} | {{: | + | http://gutenberg.inf.unibz.it: |
+ | </ | ||
- | ^ Select Windows Printer via Samba ^ Device URI, replace with your username and password ^ | ||
- | | {{: | ||
- | ^ Select Manufacture Generic ^ Select Printer Driver Generic Postscript ^ | + | Open your preferred browser and type this address: |
- | | {{:auth: | + | |
- | ^ A window will appear asking for username and password ener yours ^ Set Printer Options ^ | + | * localhost:631 |
- | | {{:auth: | + | |
- | 3. Restart cupsys daemon: | + | Follow this guides as shown on the next screen shots |
+ | |||
+ | |||
+ | ^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^ | ||
+ | |{{: | ||
+ | |||
+ | Last select newly added printer; Click on **Administration**\\ | ||
+ | and select: **Set Default Options** | ||
- | sudo / | ||
---- | ---- | ||
- | ==== 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 \\< | ||
- | Using Kerberos | + | ===== 4. CHIPCARD PRINTER |
- | smbclient -L \\<windowsprintserver> -k > printer_list.txt | + | <note important>Your user must be a member of the admin/sudo group</ |
+ | SMB URI | ||
+ | < | ||
+ | smb:// | ||
+ | </ | ||
- | * Install: | ||
- | | ||
- | sudo aptitude install linneighborhood | ||
- | * Start: | + | Open your preferred browser and type this address: |
- | | + | |
- | - Press Add: | + | Follow this guides as shown on the next screen shots |
- | * Fill in Samba Print Server, Domain and Print Server IP-Address | + | ^Select Add Printer from Administration Menu ^Chose how to connect to Printer^ |
+ | |{{: | ||
+ | ^Enter Connection smb URI, Domain, YOUR username | ||
+ | |{{:auth:03-enter-connection-string.png? | ||
+ | ^Select Make Generic ^Select Printer Driver Generic Postscript^ | ||
+ | |{{:auth: | ||
+ | ^Modify Options^ | ||
+ | |{{: | ||
- | {{auth: | ||
- | * Select | + | <note important> |
- | {{auth:linneighborhood.png}} | + | smb:// |
- | * Fill in domain, username and password and press OK. | + | In a terminal type: |
- | {{auth: | + | sudo cat / |
- | Now you should have a list with all printers attached to the Samba Printer Server. | + | Restart cups daemon: |
- | {{auth: | + | sudo /etc/init.d/cups restart |
- | Next you need to create/add to / | + | === Remove clear password from / |
- | Example | + | <note important> |
- | < | + | Open the config file and make the following modifications: |
- | <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: | + | * sudo vi / |
+ | Place this line in: | ||
< | < | ||
- | <Printer A103>: name of the printer | + | AuthInfoRequired |
- | Info HP LaserJet 4050 Series: Info about the printer, type etc. | + | |
- | Location Library: Where is the printer located | + | |
- | DeviceURI smb:// | + | |
</ | </ | ||
- | + | Next search for the the DeviceURI line and substitute it | |
- | Example: | + | with this line. |
< | < | ||
- | <Printer A103> | + | DeviceURI smb://ubz02cps.unibz.it/CPSPrn01 |
- | Info HP LaserJet 4050 Series | + | |
- | Location Library | + | |
- | DeviceURI smb://bgates: | + | |
</ | </ | ||
- | Last restart the cupsys daemon: | + | ---- |
- | + | ||
- | sudo / | + | |
- | + | ||
- | + | ||
- | ===== Mac OSX ===== | + | |
- | + | ||
- | ==== Mac OSX via IPP ==== | + | |
- | + | ||
- | Open the preference panel and select "Print & Fax" and press the " | + | |
- | + | ||
- | {{auth: | + | |
- | + | ||
- | Choose "IP Printer" | + | |
- | In the address field put " | + | |
- | + | ||
- | + | ||
- | {{auth: | + | |
- | + | ||
- | 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, | + | |
- | + | ||
- | ==== 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. | ||
- | {{auth: | + | ==== Printing |
- | 4. Press the Control key while clicking the " | + | https://www.inf.unibz.it/wiki/auth/ |
- | 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: | + | |
- | + | ||
- | 9. In the URL field, type the printer' | + | |
- | smb:// | ||
- | 10. In the Name field, type the name you would like to use for this printer in Mac OS X. | + | ===== Windows 7 and Mac OSX ===== |
- | 11. Choose the appropriate PPD or printer driver from the " | + | |
- | 12. Click Add. | + | |
- | To get a list of Print queue names on ubz02prn you can use the terminal and type the following command: | + | [[http:// |
+ | Home>To Computer & Internet> | ||
- | smbutil view //mylogin@ubz02prn.unibz.it | + | List of old and new printer names:\\ |
+ | http://www.unibz.it/ | ||
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer