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 11:29] – [Mac OSX via IPP] kohofer | auth:setup_printers [2017/02/17 13:09] – [Windows 7 and Mac OSX] 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/ |
- | | {{: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: | + | ===== 3. PRINTING VIA CUPS (using a Linux Print Server) ====== |
- | sudo / | + | First get the name(s) of the available printer(s): |
- | ---- | + | < |
+ | http:// | ||
+ | </ | ||
- | ==== How to connect to a Samba Print Server ==== | ||
- | First get the name(s) of the printer(s). | + | Open your preferred browser and type this address: |
- | To get the printer names use a Samba share browser like LinNeighborhood or use | + | * localhost:631 |
- | smbclient with the following options: | + | |
- | smbclient -L \\< | + | Follow this guides as shown on the next screen shots |
- | Using Kerberos (aka kinit) | ||
- | smbclient | + | ^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** | ||
- | * Install: | ||
- | | ||
- | sudo aptitude install linneighborhood | ||
- | * Start: | + | ---- |
- | LinNeighborhood | ||
- | - Press Add: | ||
- | * 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: | ||
- | * Select the Samba Print Server | + | ===== 4. CHIPCARD PRINTER (using a Windows |
- | {{auth: | + | <note important> |
- | * Fill in domain, username and password and press OK. | + | SMB URI |
+ | < | ||
+ | smb:// | ||
+ | </ | ||
- | {{auth: | ||
- | Now you should have a list with all printers attached to the Samba Printer Server. | + | Open your preferred browser and type this address: |
- | {{auth:printer-list.png}} | + | * localhost:631 |
- | Next you need to create/add to / | + | Follow this guides as shown on the next screen shots |
- | Example | + | ^Select Add Printer from Administration Menu ^Enter local username and password^ |
+ | |{{: | ||
- | < | + | ^Select Windows |
- | <Printer | + | |{{:auth:03_Add-Printer_cps.png? |
- | 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 | + | |
- | </Printer> | + | |
- | </ | + | |
- | You have to modify the following parameters: | + | ^Name, Description and Location Names ^Select Make Generic^ |
+ | |{{:auth: | ||
- | < | + | ^Select Printer Driver Generic Postscript ^Set Default |
- | <Printer | + | |{{:auth: |
- | 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: | + | ---- |
- | + | ||
- | 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