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 [2012/11/22 17:22] – kohofer | auth:setup_printers [2012/12/10 13:31] – [SETUP PRINTER UNDER LINUX] kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <note important> | + | ====== SETUP PRINTER UNDER LINUX ====== |
- | ====== Setup Printers ====== | ||
- | ===== Guest ===== | + | ===== 1. PRINTING via SAMBA (using a Windows Print Server) |
- | 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 | + | <note important> |
+ | First get the name(s) of the printer(s) you want to use: | ||
- | ===== Windows ===== | + | To get the printer names use smbclient. If the program is not installed do: |
- | ==== Computer joined to UNIBZ domain ==== | + | * apt-get update; apt-get install smbclient |
+ | Now execute this line to get a list of the printer names: | ||
- | *Step 1 | + | * smbclient -L \\< |
- | {{printers1.jpg|: | + | |
- | *Step 2 | + | e.g. |
- | {{printers2.jpg|: | + | |
- | *Step 3 | + | * smbclient -L \\print.unibz.it -U bgates -W unibz |
- | {{printers3.jpg|: | + | |
- | *Step 4 | + | Printer naming scheme: |
- | | + | < |
+ | UBZ 066 POS 300 | ||
+ | | | ||
- | | + | | | |->POS Building |
- | {{printers5.jpg|: | + | |
- | *Step 6 | + | | |
- | {{printers6.jpg|: | + | |
- | *Step 7 | + | |->UBZ University Site Bolzano |
- | {{printers7.jpg|: | + | </ |
- | ==== Computer not joined to UNIBZ domain ==== | + | A list of old and new printer names you can find here: http:// |
- | If your PC has not joined the domain, | + | Now that you know the name of the printer, you can starting adding a printer. |
- | 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: | + | SMB URI |
+ | < | ||
+ | smb://< | ||
+ | </ | ||
- | {{ : | ||
- | <note important> | + | Open your preferred browser and type this address: |
- | </ | + | |
- | ===== Linux ===== | + | * localhost: |
- | ==== Add Printer using Browser (localhost) Printer Server ==== | + | Follow this guides as shown on the next screen shots |
- | Open browser | + | ^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!^ | ||
+ | |{{:auth:03_Windows-Printer-via-SAMBA.png? | ||
+ | ^Enter Name, Description and Location ^Select | ||
+ | |{{: | ||
+ | ^Select Driver ^Set initial default Options^ | ||
+ | |{{: | ||
+ | ^Set Default Options^ | ||
+ | |{{: | ||
- | {{: | ||
- | Enter local **username** (must be in admin/sudo group) and local **password** | + | ---- |
- | {{: | ||
- | Enter Connection string e.g. http:// | ||
- | For other printers open a new tab in browser http:// | ||
- | right click on printer name under Queue Name and select **Copy Link Location** \\ | ||
- | Go back to tab localhost: | ||
- | Press **Continue** | ||
- | {{: | + | ===== 2. PRINTING via KERBEROS (using a Windows Print Server) ===== |
- | Fill out all 3 fields! Press **Continue** | + | Follow the steps as described in the link below |
- | {{:auth: | + | https:// |
- | Choose Printer Make! Press **Continue** | + | ==== Cups printer setup and URI format ==== |
- | {{:auth: | + | Now add a printer using cups (localhost:631) |
- | Choose | + | In cups select '' |
- | {{:auth: | + | krbsmb:// |
- | Finally select newly added printer; Click on **Administration**\\ | + | e.g. |
- | and select: **Set Default Options** | + | |
- | Done! | + | krbsmb:// |
- | ==== KDE Cups Print Server ==== | + | Continue by selecting Printer Make, Printer Driver and set the Default Options |
- | Step 1 | + | ---- |
- | Open a konsole and type the following command: | ||
- | | + | ===== 3. PRINTING VIA CUPS (using a Linux Print Server) ====== |
- | The KDE Print Manager Window opens. Now Select '' | + | First get the name(s) of the available printer(s): |
- | {{kde_printmanager.jpg|:kde_printmanager.jpg}} | + | < |
+ | http://gutenberg.inf.unibz.it: | ||
+ | </ | ||
- | Step 2 | ||
- | Select the settings in the next 6 Windows | + | Open your preferred browser and type this address: |
- | {{add_printer_wizard.jpg|:add_printer_wizard.jpg}}{{add_printer_wizard2.jpg|: | + | * localhost:631 |
- | {{add_printer_wizard3.jpg|: | + | Follow this guides as shown on the next screen shots |
- | {{add_printer_wizard5.jpg|: | ||
- | Step 3 | + | ^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^ | ||
+ | |{{: | ||
- | Configure the Printer, see next 6 Windows | + | Last select newly added printer; Click on **Administration**\\ |
+ | and select: **Set Default Options** | ||
- | {{configure_printer.jpg|: | ||
- | {{configure_printer3.jpg|: | + | ---- |
- | {{configure_printer5.jpg|: | ||
- | ==== Add Printer using CUPS via Samba ==== | ||
- | === Chip Card Printer === | ||
+ | ===== 4. CHIPCARD PRINTER (using a Windows Print Server) ===== | ||
- | **IMPORTANT!** | + | <note important> |
- | <note important>member of the admin group</note> | + | SMB URI |
+ | <file> | ||
+ | smb:// | ||
+ | </file> | ||
- | <note important> | ||
- | smb://< | + | Open your preferred browser and type this address: |
- | + | ||
- | e.g. smb:// | + | |
- | <note warning> | + | * localhost: |
- | because it is necessary to store the password in clear!</ | + | |
- | **PROCEDURE** | + | Follow this guides as shown on the next screen shots |
- | * Open your preferred browser and type this address: | + | ^Select |
- | + | |{{: | |
- | localhost: | + | ^Enter Connection |
- | + | |{{: | |
- | * Follow this guides as shown on the next screen shots | + | ^Select Make Generic ^Select Printer Driver Generic Postscript^ |
- | + | |{{: | |
- | ^ Add Printer | + | ^Modify Options^ |
- | | {{: | + | |{{: |
- | + | ||
- | + | ||
- | ^ Enter Connection | + | |
- | | {{: | + | |
- | + | ||
- | + | ||
- | ^ Select Make Generic ^ Select Printer Driver Generic Postscript ^ | + | |
- | | {{: | + | |
- | + | ||
- | + | ||
- | ^ Modify Options ^ | + | |
- | | {{: | + | |
<note important> | <note important> | ||
- | smb:// | + | smb:// |
In a terminal type: | In a terminal type: | ||
Line 172: | Line 159: | ||
sudo / | sudo / | ||
- | ==== How to connect to a Samba Print Server ==== | ||
- | First get the name(s) of the printer(s). | + | === Remove clear password from / |
- | To get the printer names use a Samba share browser like LinNeighborhood or use | + | <note important> |
- | smbclient with the following options: | + | |
- | smbclient -L \\< | + | Open the config file and make the following modifications: |
- | Using Kerberos (aka kinit) | + | |
- | + | ||
- | smbclient -L \\< | + | |
- | + | ||
- | + | ||
- | | + | |
- | + | ||
- | | + | |
- | + | ||
- | * 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 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 Server. | + | |
- | + | ||
- | {{auth: | + | |
- | + | ||
- | Next you need to create/add to / | + | |
- | + | ||
- | Example | + | |
+ | Place this line in: | ||
< | < | ||
- | <Printer **A103**> | + | AuthInfoRequired |
- | Info **HP LaserJet 4050 Series** | + | |
- | Location **Library** | + | |
- | DeviceURI smb://**username**:**password**@UNIBZ/ | + | |
- | State Idle | + | |
- | StateTime 1178615467 | + | |
- | Accepting Yes | + | |
- | Shared Yes | + | |
- | JobSheets none none | + | |
- | QuotaPeriod 0 | + | |
- | PageLimit 0 | + | |
- | KLimit 0 | + | |
- | OpPolicy default | + | |
- | ErrorPolicy retry-job | + | |
- | </ | + | |
</ | </ | ||
- | + | Next search for the the DeviceURI line and substitute it | |
- | You have to modify | + | with this line. |
< | < | ||
- | <Printer A103>: name of the printer | + | DeviceURI smb://ubz02cps.unibz.it/CPSPrn01 |
- | Info HP LaserJet 4050 Series: Info about the printer, type etc. | + | |
- | Location Library: Where is the printer located | + | |
- | DeviceURI smb://username: | + | |
</ | </ | ||
- | 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 " | + | |
- | + | ||
- | {{auth: | + | |
- | + | ||
- | Choose "IP Printer" | + | |
- | In the address field put " | + | |
- | + | ||
- | + | ||
- | {{auth: | + | |
- | + | ||
- | and in the " | + | |
- | ^model^location^alias^queue| | + | |
- | |DSM730|1st floor left|CASE-multifunction|/ | + | |
- | |HP5550|1st floor left|CASE-color|/ | + | |
- | |MP3352|2nd floor right|DIS-multifunction|/ | + | |
- | |HP5550|2nd floor right|DIS-color|/ | + | |
- | |RA2027|2nd floor left|KRDB-multifunction|/ | + | |
- | |HP4515|2nd floor left|KRDB-bw|/ | + | |
- | |HP4350|3rd floor left|KRDB-bw|/ | + | |
- | + | ||
- | 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