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/10/25 09:06] – [Computer not joined to UNIBZ domain] kohofer | auth:setup_printers [2017/02/17 13:09] – [Windows 7 and Mac OSX] kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ===== 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. | ||
+ | ===== 1. PRINTING via SAMBA (using a Windows Print Server) ===== | ||
+ | <note important> | ||
+ | First get the name(s) of the printer(s) you want to use: | ||
+ | To get the printer names use smbclient. If the program is not installed do: | ||
- | ===== Windows ===== | + | * apt-get update; apt-get install smbclient |
- | ==== Computer joined | + | Now execute this line to get a list of the printer names: |
+ | * smbclient -L \\< | ||
- | *Step 1 | + | e.g. |
- | {{printers1.jpg|: | + | |
- | *Step 2 | + | * smbclient -L \\print.unibz.it -U bgates -W unibz |
- | {{printers2.jpg|: | + | |
- | *Step 3 | + | Printer naming scheme: |
- | | + | < |
+ | UBZ 066 POS 300 | ||
+ | | | ||
- | | + | | | |->POS Building |
- | {{printers4.jpg|: | + | |
- | *Step 5 | + | | |
- | {{printers5.jpg|: | + | |
- | *Step 6 | + | |->UBZ University Site Bolzano |
- | {{printers6.jpg|: | + | </ |
- | *Step 7 | + | A list of old and new printer names you can find here: http:// |
- | {{printers7.jpg|:printers7.jpg}} | + | |
- | ==== Computer not joined to UNIBZ domain ==== | + | Now that you know the name of the printer, you can starting adding a printer. |
- | 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!** | + | SMB URI |
+ | < | ||
+ | smb:// | ||
+ | </ | ||
- | To connect to ubz02prn, open Explorer and type \\ubz02prn.unibz.it: | ||
- | {{ :auth: | + | Open your preferred browser and type this address: |
- | <note important> | + | |
- | </ | + | |
- | ===== Linux ===== | + | Follow this guides as shown on the next screen shots |
- | ==== KDE Cups Print Server ==== | + | ^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 1 | ||
- | Open a konsole | + | 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 | ||
- | | + | Enter your unibz username and password! |
- | The KDE Print Manager Window opens. Now Select '' | + | {{:auth:Print-Authentication.png? |
- | {{kde_printmanager.jpg|: | + | ---- |
- | Step 2 | ||
- | Select the settings in the next 6 Windows | ||
- | {{add_printer_wizard.jpg|: | + | ===== 2. PRINTING via KERBEROS (using a Windows Print Server) ===== |
- | {{add_printer_wizard3.jpg|: | + | Follow the steps as described in the link below |
- | {{add_printer_wizard5.jpg|:add_printer_wizard5.jpg}}{{add_printer_wizard6.jpg|: | + | https://www.inf.unibz.it/ |
- | Step 3 | + | ==== Cups printer setup and URI format ==== |
- | Configure the Printer, see next 6 Windows | + | Now add a printer using cups (localhost: |
- | {{configure_printer.jpg|: | + | In cups select '' |
- | {{configure_printer3.jpg|:configure_printer3.jpg}}{{configure_printer4.jpg|: | + | krbsmb:// |
- | {{configure_printer5.jpg|: | + | e.g. |
- | ==== Add Printer using CUPS via Samba ==== | + | krbsmb:// |
- | === Chip Card Printer | + | Continue by selecting |
+ | <note important> | ||
- | **IMPORTANT!** | + | [[https:// |
- | <note important> | + | ---- |
- | <note important> | ||
- | smb://< | + | ===== 3. PRINTING VIA CUPS (using a Linux Print Server) ====== |
- | <note warning> | + | First get the name(s) of the available printer(s): |
- | because it is necessary to store the password in clear!</ | + | |
- | **PROCEDURE** | + | < |
+ | http:// | ||
+ | </ | ||
- | * Open your preferred browser and type this address: | ||
- | localhost:631 | + | Open your preferred browser and type this address: |
- | * Follow this guides as shown on the next screen shots | + | * localhost: |
- | ^ Select Add Printer | + | Follow this guides as shown on the next screen shots |
- | | {{: | + | |
- | ^ Select Windows Printer via Samba ^ Device URI, replace with your username and password ^ | ||
- | | {{: | ||
+ | ^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 Manufacture Generic ^ Select Printer Driver Generic Postscript ^ | + | Last select newly added printer; Click on **Administration**\\ |
- | | {{:auth: | + | and select: **Set Default Options** |
- | ^ A window will appear asking for username and password ener yours ^ Set Printer Options ^ | ||
- | | {{: | ||
- | * Restart cupsys daemon: | + | ---- |
- | 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 | + | ^Select Add Printer from Administration Menu ^Enter local username |
+ | |{{: | ||
- | {{auth:add-machine.png}} | + | ^Select Windows Printer via SAMBA ^Enter Connection smb URI^ |
+ | |{{:auth:03_Add-Printer_cps.png? | ||
- | * Select | + | ^Name, Description and Location Names ^Select |
- | + | |{{:auth:05_Name-Description-Location_cps.png? | |
- | {{auth:linneighborhood.png}} | + | |
- | + | ||
- | * Fill in domain, username and password and press OK. | + | |
- | + | ||
- | {{auth:scan-as-user.png}} | + | |
- | + | ||
- | Now you should have a list with all printers attached to the Samba Printer Server. | + | |
- | + | ||
- | {{auth:printer-list.png}} | + | |
- | + | ||
- | Next you need to create/add to / | + | |
- | + | ||
- | Example | + | |
- | + | ||
- | < | + | |
- | <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: | + | |
- | + | ||
- | < | + | |
- | <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: | + | |
- | + | ||
- | < | + | |
- | <Printer A103> | + | |
- | Info HP LaserJet 4050 Series | + | |
- | Location Library | + | |
- | DeviceURI smb:// | + | |
- | </ | + | |
- | Last restart the cupsys daemon: | + | ^Select Printer Driver Generic Postscript ^Set Default Printer Options^ |
+ | |{{:auth: | ||
- | sudo / | ||
- | ===== Mac OSX ===== | + | ---- |
- | ==== Mac OSX via IPP ==== | ||
- | Open the preference panel and select "Print & Fax" and press the " | + | ==== Printing of private |
- | {{auth:osx_printer1.png|}} | + | https://www.inf.unibz.it/ |
- | Choose "IP Printer" | ||
- | In the address field put " | ||
+ | ===== Windows and Mac OS X ===== | ||
- | {{auth:osx_printer2.png|}} | + | Windows: |
- | and in the " | + | https://knowledge.scientificnet.org/workspace/# |
- | ^model^location^alias^queue| | + | |
- | |HP4050|1st floor left|admin|/printers/HP_LaserJet_4050| | + | |
- | |HP4350|2st floor left|krdb|/printers/HP_LJ4350| | + | |
- | |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 OS X: |
- | ==== Mac OSX via Samba ==== | + | https:// |
- | Mac OS X v10.5 or later | ||
- | 1. Choose System Preferences from the Apple menu. | + | List of old and new printer |
- | 2. Choose Print & Fax from the View menu. | + | |
- | 3. Click the + button to add a printer. | + | |
- | {{auth: | ||
- | 4. Press the Control key while clicking the " | ||
- | 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:// | + | ===== Troubleshooting ===== |
- | 10. In the Name field, type the name you would like to use for this printer in Mac OS X. | + | Mac OSX 10.11 El Capitan Ricoh Aficio |
- | 11. Choose the appropriate PPD or printer | + | |
- | 12. Click Add. | + | |
- | To get a list of Print queue names on ubz02prn you can use the terminal and type the following command: | + | http:// |
- | smbutil view // | + | Update from Mavericks to El Capitan |
+ | https:// |
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer