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 [2011/04/12 10:33] – [Mac OSX via IPP] kohofer | auth:setup_printers [2015/01/16 09:00] – [1. PRINTING via SAMBA (using a Windows Print Server)] kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ===== Windows ===== | ||
- | ==== Computer joined to UNIBZ domain ==== | ||
+ | ===== 1. PRINTING via SAMBA (using a Windows Print Server) ===== | ||
- | *Step 1 | + | <note important> |
- | {{printers1.jpg|: | + | |
- | *Step 2 | + | First get the name(s) of the printer(s) you want to use: |
- | {{printers2.jpg|:printers2.jpg}} | + | |
- | *Step 3 | + | To get the printer names use smbclient. If the program is not installed do: |
- | {{printers3.jpg|:printers3.jpg}} | + | |
- | *Step 4 | + | * apt-get update; apt-get install smbclient |
- | {{printers4.jpg|: | + | |
- | *Step 5 | + | Now execute this line to get a list of the printer names: |
- | {{printers5.jpg|:printers5.jpg}} | + | |
- | *Step 6 | + | * smbclient -L \\< |
- | {{printers6.jpg|: | + | |
- | *Step 7 | + | e.g. |
- | {{printers7.jpg|: | + | |
- | ==== Computer not joined to UNIBZ domain ==== | + | * smbclient -L \\print.unibz.it -U bgates -W unibz |
- | If your PC has not joined the domain, you will need to connect to ubz02prn | + | Printer naming scheme: |
- | and double click on one of the printers in the list in order to install it. | + | < |
+ | UBZ 066 POS 300 | ||
+ | | | | ||
- | **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|: | + | |->UBZ University Site Bolzano |
+ | </ | ||
- | <note important> | + | A list of old and new printer names you can find here: http:// |
- | </note> | + | |
- | ===== Linux ===== | + | Now that you know the name of the printer, you can starting adding a printer. |
- | ==== KDE Cups Print Server ==== | ||
- | Step 1 | + | SMB URI |
+ | < | ||
+ | smb:// | ||
+ | </ | ||
- | Open a konsole and type the following command: | ||
- | | + | Open your preferred browser and type this address: |
- | The KDE Print Manager Window opens. Now Select '' | + | * localhost: |
- | {{kde_printmanager.jpg|: | + | Follow this guides as shown on the next screen shots |
- | Step 2 | + | ^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^ | ||
+ | |{{: | ||
- | Select the settings in the next 6 Windows | ||
- | {{add_printer_wizard.jpg|: | + | When printing from an Application an Authentication Window will/should pop up. If no Window pops up, you should |
+ | check the taskbar for a Printer Icon, select it and release the print job by typing your login & password. | ||
- | {{add_printer_wizard3.jpg|: | + | Enter your unibz username and password! |
- | {{add_printer_wizard5.jpg|:add_printer_wizard5.jpg}}{{add_printer_wizard6.jpg|: | + | {{:auth: |
- | Step 3 | + | ---- |
- | Configure the Printer, see next 6 Windows | ||
- | {{configure_printer.jpg|: | ||
- | {{configure_printer3.jpg|: | + | ===== 2. PRINTING via KERBEROS (using a Windows Print Server) ===== |
- | {{configure_printer5.jpg|: | + | Follow the steps as described in the link below |
- | ==== Add Printer using CUPS via Samba ==== | + | https:// |
- | === Chip Card Printer | + | ==== Cups printer setup and URI format ==== |
- | Prerequisite: | + | Now add a printer using cups (localhost:631) |
- | <note important> | + | In cups select '' |
- | <note warning> | + | krbsmb://DOMAIN/ |
- | because it is necessary to store the password in clear!</note> | + | |
- | 1. Open your preferred browser and type this address: | + | e.g. |
- | | + | |
- | 2. Follow this guides as shown on the next screen shots | + | Continue by selecting Printer Make, Printer Driver and set the Default Options |
- | ^ Select Add Printer | + | <note important> |
- | | {{: | + | |
- | ^ Select Windows Printer via Samba ^ Device URI, replace with your username and password ^ | + | [[https://www.inf.unibz.it/wiki/tech/documentation/ |
- | | {{:auth:cps2.png|Select Windows Printer via Samba}} | {{: | + | |
- | + | ||
- | ^ Select Manufacture Generic ^ Select Printer Driver Generic Postscript ^ | + | |
- | | {{: | + | |
- | + | ||
- | ^ A window will appear asking for username and password ener yours ^ Set Printer Options ^ | + | |
- | | {{: | + | |
- | + | ||
- | 3. Restart cupsys daemon: | + | |
- | + | ||
- | sudo /etc/init.d/cupsys restart | + | |
---- | ---- | ||
- | ==== 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/ | + | SMB URI |
+ | < | ||
+ | smb://unibz/ubz02cps.unibz.it/ | ||
+ | </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 ^Enter local username and password^ |
+ | |{{:auth: | ||
- | < | + | ^Select Windows |
- | <Printer | + | |{{:auth:03_Add-Printer_cps.png? |
- | Info HP LaserJet 4050 Series | + | |
- | Location Library | + | |
- | DeviceURI | + | |
- | </ | + | |
- | Last restart the cupsys daemon: | + | ^Name, Description and Location Names ^Select Make Generic^ |
+ | |{{:auth: | ||
- | sudo /etc/init.d/cupsys restart | + | ^Select Printer Driver Generic Postscript ^Set Default Printer Options^ |
+ | |{{: | ||
- | ===== 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|/ | + | |
- | |HP4350|3rd floor left|krdb-2|/ | + | |
- | + | ||
- | 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