auth:setup_printers
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
auth:setup_printers [2008/01/31 10:21] – created kohofer | auth:setup_printers [2012/12/06 17:16] – [PRINTING via KERBEROS (using a Windows Print Server)] kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Setup Printers | + | ====== SETUP PRINTER ====== |
- | ===== Windows | + | ===== LINUX ===== |
- | ==== Computer joined to UNIBZ domain | + | |
- | *Step 1 | ||
- | {{printers1.jpg|: | ||
- | *Step 2 | + | ===== PRINTING via KERBEROS (using a Windows Print Server) ===== |
- | {{printers2.jpg|: | + | |
- | *Step 3 | + | Follow the steps as described in the link below |
- | {{printers3.jpg|: | + | |
- | *Step 4 | + | https:// |
- | {{printers4.jpg|:printers4.jpg}} | + | |
- | *Step 5 | + | ==== Cups printer setup and URI format ==== |
- | {{printers5.jpg|: | + | |
- | *Step 6 | + | Now add a printer using cups (localhost:631) |
- | {{printers6.jpg|:printers6.jpg}} | + | |
- | *Step 7 | + | In cups select '' |
- | {{printers7.jpg|: | + | |
- | ==== Computer not joined to UNIBZ domain ===== | + | krbsmb:// |
- | 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. | + | |
- | To connect to ubz02prn, open Explorer and type \\ubz02prn.unibz.it: | + | e.g. |
- | {{printers.jpg|:printers.jpg}} | + | krbsmb:// |
- | ====== Linux ====== | + | Continue by selecting Printer Make, Printer Driver and set the Default Options |
- | ==== KDE Cups Print Server ==== | + | ---- |
- | Step 1 | ||
- | Open a konsole and type the following command: | + | ===== PRINTING VIA CUPS (using |
- | | + | First get the name(s) of the available printer(s): |
- | The KDE Print Manager Window opens. Now Select '' | + | < |
+ | http://gutenberg.inf.unibz.it: | ||
+ | </ | ||
- | {{kde_printmanager.jpg|: | ||
- | Step 2 | + | Open your preferred browser and type this address: |
- | Select the settings in the next 6 Windows | + | * localhost: |
- | {{add_printer_wizard.jpg|: | + | Follow this guides as shown on the next screen shots |
- | {{add_printer_wizard3.jpg|: | ||
- | {{add_printer_wizard5.jpg|:add_printer_wizard5.jpg}}{{add_printer_wizard6.jpg|:add_printer_wizard6.jpg}} | + | ^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^ | ||
+ | |{{: | ||
- | Step 3 | + | Last select newly added printer; Click on **Administration**\\ |
+ | and select: **Set Default Options** | ||
- | Configure the Printer, see next 6 Windows | ||
- | {{configure_printer.jpg|: | + | ---- |
- | {{configure_printer3.jpg|: | ||
- | {{configure_printer5.jpg|: | ||
+ | ===== PRINTING VIA SAMBA (using a Windows Print Server) ===== | ||
- | ==== How to connect to a Samba Print Server ==== | + | <note important> |
- | First get the name(s) of the printer(s). | + | First get the name(s) of the printer(s) |
- | To get the printer names use a Samba share browser like LinNeighborhood. | + | To get the printer names use smbclient. If the program is not installed do: |
- | * Install: | + | * apt-get update; apt-get |
- | + | ||
- | sudo aptitude | + | |
- | * Start: | + | Now execute this line to get a list of the printer names: |
- | | + | |
- | - Press Add: | + | e.g. |
- | * 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 | + | * smbclient |
- | {{auth:add-machine.png}} | + | Printer naming scheme: |
+ | < | ||
+ | UBZ 066 POS 300 | ||
+ | | | | ||
- | | + | | | |
- | {{auth: | + | | |-> |
- | * Fill in domain, username and password and press OK. | + | |->UBZ University Site Bolzano |
+ | </ | ||
- | {{auth:scan-as-user.png}} | + | A list of old and new printer names you can find here: http:// |
- | Now you should have a list with all printers attached to the Samba Printer Server. | + | Now that you know the name of the printer, you can starting adding a printer. |
- | {{auth: | ||
- | Next you need to create/add to /etc/cups/printers.conf | + | SMB URI |
+ | < | ||
+ | smb://domain\username: | ||
+ | </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 | + | * localhost: |
+ | |||
+ | Follow this guides as shown on the next screen shots | ||
+ | |||
+ | ^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^ | ||
+ | |{{: | ||
- | < | ||
- | <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: | + | Check that the cups printer config file printers contains the string: |
< | < | ||
- | <Printer A103> | + | smb://domain\username:password@print.unibz.it/< |
- | Info HP LaserJet 4050 Series | + | |
- | Location Library | + | |
- | DeviceURI | + | |
</ | </ | ||
- | Last restart the cupsys daemon: | + | In a terminal type: |
+ | * sudo cat / | ||
- | | + | Restart cups daemon: |
+ | * sudo / | ||
+ | === Remove clear password from / | ||
+ | <note important> | ||
+ | Open the config file and make the following modifications: | ||
+ | * sudo vi / | ||
- | ==== MacOsX ==== | + | Place this line in: |
+ | < | ||
+ | AuthInfoRequired username, | ||
+ | </ | ||
+ | Next search for the the DeviceURI line and substitute it | ||
+ | with this line. Please remember to leave the printername unchanged! | ||
+ | < | ||
+ | DeviceURI smb:// | ||
+ | </ | ||
+ | ---- | ||
- | Open the preference panel and select "Print & Fax" and press the " | + | ===== CHIPCARD PRINTER (using a Windows |
- | {{auth: | + | <note important> |
- | Choose "IP Printer" | + | SMB URI |
- | In the address field put " | + | < |
+ | smb:// | ||
+ | </ | ||
- | {{auth:osx_printer2.png|}} | + | Open your preferred browser and type this address: |
- | and in the " | + | * localhost:631 |
- | ^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 | + | Follow this guides as shown on the next screen shots |
+ | ^Select Add Printer from Administration Menu ^Chose how to connect to Printer^ | ||
+ | |{{: | ||
+ | ^Enter Connection smb URI, Domain, YOUR username and password! ^ Name, Description and Location Names^ | ||
+ | |{{: | ||
+ | ^Select Make Generic ^Select Printer Driver Generic Postscript^ | ||
+ | |{{: | ||
+ | ^Modify Options^ | ||
+ | |{{: | ||
- | ==== MacOsX via Samba ==== | + | <note important> |
- | Open the preference panel and select "Print & Fax" and press the " | + | smb:// |
- | {{auth:osx_printer1.png|}} | + | In a terminal type: |
- | 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 < | + | sudo cat /etc/cups/printers.conf | grep smb: |
- | {{auth:osx_printer_samba2.png|}} | + | Restart cups daemon: |
+ | sudo / | ||
- | To get a list of Printqueuenames on ubz02prn you can use the terminal and type the following command: | + | === Remove clear password from / |
+ | <note important> | ||
+ | |||
+ | Open the config file and make the following modifications: | ||
+ | |||
+ | * sudo vi / | ||
+ | |||
+ | Place this line in: | ||
< | < | ||
- | | + | AuthInfoRequired username, |
</ | </ | ||
+ | Next search for the the DeviceURI line and substitute it | ||
+ | with this line. | ||
+ | < | ||
+ | DeviceURI smb:// | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ==== Printing of private and confidential Documents ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | ===== Windows 7 and Mac OSX ===== | ||
+ | |||
+ | [[http:// | ||
+ | Home>To Computer & Internet> | ||
+ | |||
+ | List of old and new printer names:\\ | ||
+ | http:// | ||
+ |
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer