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 [2009/10/21 11:20] – kohofer | auth:setup_printers [2012/11/27 18:21] – kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Setup Printers | + | ====== SETUP PRINTER ====== |
- | ===== Windows ===== | ||
- | ==== Computer joined to UNIBZ domain ==== | ||
- | *Step 1 | + | ===== LINUX ===== |
- | {{printers1.jpg|: | + | |
- | *Step 2 | ||
- | {{printers2.jpg|: | ||
- | *Step 3 | + | ===== PRINTING VIA SAMBA (using a Windows Print Server) ===== |
- | {{printers3.jpg|: | + | |
- | *Step 4 | + | <note important> |
- | {{printers4.jpg|: | + | |
- | *Step 5 | + | First get the name(s) of the printer(s) you want to use: |
- | {{printers5.jpg|:printers5.jpg}} | + | |
- | *Step 6 | + | To get the printer names use smbclient. If the program is not installed do: |
- | {{printers6.jpg|:printers6.jpg}} | + | |
- | *Step 7 | + | * apt-get update; apt-get install smbclient |
- | {{printers7.jpg|: | + | |
- | ==== Computer not joined | + | Now execute this line to get a list of the printer names: |
- | If your PC has not joined the domain, you will need to connect to ubz02prn | + | * smbclient -L \\< |
- | 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!** | + | e.g. |
- | To connect to ubz02prn, open Explorer and type \\ubz02prn.unibz.it: | + | * smbclient -L \\print.unibz.it |
- | {{printers.jpg|:printers.jpg}} | + | Printer naming scheme: |
+ | < | ||
+ | UBZ 066 POS 300 | ||
+ | | | | ||
- | ====== Linux ====== | + | | | |
- | ==== KDE Cups Print Server ==== | + | | |-> |
- | Step 1 | + | |->UBZ University Site Bolzano |
+ | </ | ||
- | Open a konsole | + | A list of old and new printer names you can find here: http:// |
- | | + | Now that you know the name of the printer, you can starting adding a printer. |
- | The KDE Print Manager Window opens. Now Select '' | ||
- | {{kde_printmanager.jpg|:kde_printmanager.jpg}} | + | SMB URI |
+ | < | ||
+ | smb:// | ||
+ | </ | ||
- | 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|:add_printer_wizard5.jpg}}{{add_printer_wizard6.jpg|:add_printer_wizard6.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 3 | ||
- | Configure | + | Check that the cups printer config file printers contains the string: |
- | {{configure_printer.jpg|:configure_printer.jpg}}{{configure_printer2-1.jpg|: | + | < |
+ | smb:// | ||
+ | </ | ||
- | {{configure_printer3.jpg|:configure_printer3.jpg}}{{configure_printer4.jpg|:configure_printer4.jpg}} | + | In a terminal type: |
+ | * sudo cat / | ||
- | {{configure_printer5.jpg|: | + | Restart cups daemon: |
+ | * sudo /etc/init.d/cups restart | ||
- | ==== Add Printer using CUPS via Samba ==== | + | === Remove clear password from / |
- | Prerequisite: | + | Open the config file and make the following modifications: |
- | - member of the admin group | + | * sudo vi / |
- | Caution: | + | Place this line in: |
- | + | < | |
- | This procedure is only recommended for users with their own Notebook/ | + | AuthInfoRequired username,password |
- | because it is necessary to store the password | + | </ |
- | + | Next search for the the DeviceURI line and substitute it | |
- | 1. Open your preferred browser and type this address: | + | with this line. Please remember to leave the printername unchanged! |
- | + | < | |
- | localhost: | + | DeviceURI smb://print.unibz.it/< |
- | + | </code> | |
- | 2. Follow this guides as shown on the next screen shots | + | |
- | + | ||
- | ^ Select Add Printer | + | |
- | | {{: | + | |
- | + | ||
- | ^ Select Windows Printer via Samba ^ Device URI, replace with your username | + | |
- | | {{: | + | |
- | + | ||
- | ^ Select Manufacture Generic ^ Select Printer Driver Generic Postscript ^ | + | |
- | | {{: | + | |
- | + | ||
- | ^ A window will appear asking for username and password ener yours ^ Set Printer Options ^ | + | |
- | | {{:auth:cps6.png|Enter login and password}} | {{: | + | |
- | + | ||
- | 3. Restart cupsys daemon: | + | |
- | + | ||
- | sudo /etc/init.d/cupsys restart | + | |
---- | ---- | ||
- | ==== How to connect to a Samba Print Server ==== | + | ===== CHIPCARD PRINTER (using |
- | First get the name(s) | + | <note important> |
- | To get the printer names use a Samba share browser like LinNeighborhood or use | + | SMB URI |
- | smbclient with the following options: | + | < |
+ | smb:// | ||
+ | </ | ||
- | smbclient -L \\< | ||
- | Using Kerberos (aka kinit) | + | Open your preferred browser and type this address: |
- | | + | |
+ | Follow this guides as shown on the next screen shots | ||
- | * Install: | + | ^Select Add Printer from Administration Menu ^Chose how to connect to Printer^ |
- | + | |{{:auth: | |
- | sudo aptitude install linneighborhood | + | ^Enter Connection smb URI, Domain, YOUR username and password! ^ Name, Description and Location Names^ |
+ | |{{: | ||
+ | ^Select Make Generic ^Select Printer Driver Generic Postscript^ | ||
+ | |{{: | ||
+ | ^Modify Options^ | ||
+ | |{{: | ||
- | * Start: | ||
- | LinNeighborhood | + | <note important> |
- | - Press Add: | + | smb:// |
- | * 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 | + | In a terminal type: |
- | {{auth: | + | sudo cat / |
- | * Select the Samba Print Server and choose scan as user | + | Restart cups daemon: |
- | {{auth: | + | sudo /etc/init.d/cups restart |
- | * Fill in domain, username and password | + | === Remove clear password |
- | {{auth:scan-as-user.png}} | + | Open the config file and make the following modifications: |
- | Now you should have a list with all printers attached to the Samba Printer Server. | + | * sudo vi / |
- | + | ||
- | {{auth: | + | |
- | + | ||
- | Next you need to create/add to / | + | |
- | + | ||
- | Example | + | |
+ | Place this line in: | ||
< | < | ||
- | <Printer **A103**> | + | AuthInfoRequired username, |
- | Info **HP LaserJet 4050 Series** | + | </code> |
- | Location **Library** | + | Next search for the the DeviceURI line and substitute it |
- | DeviceURI smb://**username**: | + | with this line. |
- | State Idle | + | < |
- | StateTime 1178615467 | + | DeviceURI smb://ubz02cps.unibz.it/CPSPrn01 |
- | 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: | + | ---- |
- | < | + | ===== PRINTING VIA CUPS (using a Linux Print Server) ====== |
- | <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: | + | First get the name(s) of the available printer(s): |
< | < | ||
- | <Printer A103> | + | http://gutenberg.inf.unibz.it:631/printers |
- | Info HP LaserJet 4050 Series | + | |
- | Location Library | + | |
- | DeviceURI smb://bgates:forgotten@UNIBZ/UBZ02PRN/ | + | |
</ | </ | ||
- | Last restart the cupsys daemon: | ||
- | sudo / | + | Open your preferred browser and type this address: |
+ | * localhost: | ||
- | ==== MacOsX ==== | + | Follow this guides as shown on the next screen shots |
- | Open the preference panel and select " | + | ^Select Add Printer ^Enter local username (must be in admin/sudo group) |
+ | |{{: | ||
+ | ^Enter Connection string e.g. http:// | ||
+ | |{{: | ||
+ | ^Select Make ^Select Driver^ | ||
+ | |{{: | ||
- | {{auth:osx_printer1.png|}} | + | Last select newly added printer; Click on **Administration**\\ |
+ | and select: **Set Default Options** | ||
- | Choose "IP Printer" | ||
- | In the address field put " | ||
+ | ---- | ||
- | {{auth: | ||
- | and in the " | + | ==== Printing of private |
- | ^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, | + | https:// |
+ | ===== Windows 7 and Mac OSX ===== | ||
- | ==== MacOsX via Samba ==== | + | [[http:// |
+ | Home>To Computer & Internet> | ||
- | Open the preference panel and select "Print & Fax" and press the " | + | List of old and new printer names:\\ |
+ | http:// | ||
- | {{auth: | ||
- | |||
- | While holding the option (alt) key press **More Printers** and chose **Advanced** from the topmost dropdown menu. Then choose as Device **Windows Printer via SAMBA**, insert a device name and as DeviceURI < | ||
- | |||
- | {{auth: | ||
- | |||
- | |||
- | To get a list of Printqueuenames on ubz02prn you can use the terminal and type the following command: | ||
- | |||
- | < | ||
- | | ||
- | </ |
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer