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/12/06 17:16] – [PRINTING via KERBEROS (using a Windows Print Server)] kohofer | auth:setup_printers [2012/12/10 13:36] – [1. PRINTING via SAMBA (using a Windows Print Server)] kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SETUP PRINTER ====== | + | ====== SETUP PRINTER |
- | ===== LINUX ===== | ||
- | ===== PRINTING via KERBEROS (using a Windows Print Server) ===== | + | ===== 1. PRINTING via SAMBA (using a Windows Print Server) ===== |
- | + | ||
- | Follow the steps as described in the link below | + | |
- | + | ||
- | https:// | + | |
- | + | ||
- | ==== Cups printer setup and URI format ==== | + | |
- | + | ||
- | Now add a printer using cups (localhost: | + | |
- | + | ||
- | In cups select '' | + | |
- | + | ||
- | krbsmb:// | + | |
- | + | ||
- | e.g. | + | |
- | + | ||
- | krbsmb:// | + | |
- | + | ||
- | Continue by selecting Printer Make, Printer Driver and set the Default Options | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | + | ||
- | ===== PRINTING VIA CUPS (using a Linux Print Server) ====== | + | |
- | + | ||
- | First get the name(s) of the available printer(s): | + | |
- | + | ||
- | < | + | |
- | http:// | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | Open your preferred browser and type this address: | + | |
- | + | ||
- | * localhost: | + | |
- | + | ||
- | Follow this guides as shown on the next screen shots | + | |
- | + | ||
- | + | ||
- | ^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** | + | |
- | + | ||
- | + | ||
- | ---- | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== PRINTING VIA SAMBA (using a Windows Print Server) ===== | + | |
<note important> | <note important> | ||
Line 95: | Line 40: | ||
SMB URI | SMB URI | ||
< | < | ||
- | smb:// | + | smb://<domain>@print.unibz.it/< |
</ | </ | ||
Line 106: | Line 51: | ||
^Select Add Printer from Administration Menu ^Chose how to connect to Printer^ | ^Select Add Printer from Administration Menu ^Chose how to connect to Printer^ | ||
- | |{{:playground:01-add_printer-cups_admin.png? | + | |{{:auth:01_Add-Printer.png? |
^Chose how to connect to Printer ^Enter Connection String SMB URI, enter Domain unibz, YOUR username and password!^ | ^Chose how to connect to Printer ^Enter Connection String SMB URI, enter Domain unibz, YOUR username and password!^ | ||
- | |{{:playground:03-add_printer-cups_uri.png? | + | |{{:auth:03_Windows-Printer-via-SAMBA.png? |
^Enter Name, Description and Location ^Select Make of Printer^ | ^Enter Name, Description and Location ^Select Make of Printer^ | ||
- | |{{:playground:06-add_printer-cups_names-field.png? | + | |{{:auth:05_Name-Description-Location.png? |
^Select Driver ^Set initial default Options^ | ^Select Driver ^Set initial default Options^ | ||
- | |{{:playground:08-add_printer-cups_model.png? | + | |{{:auth:07_Model.png? |
^Set Default Options^ | ^Set Default Options^ | ||
- | |{{:playground:10-add_printer-cups_options.png? | + | |{{:auth:09_Set-Printer-Options2.png? |
- | Check that the cups printer config file printers contains the string: | + | When printing from an Application an Authentication Window will/should pop up. |
- | < | + | Enter your unibz username |
- | smb:// | + | |
- | </ | + | |
- | In a terminal type: | + | {{:auth: |
- | * sudo cat / | + | |
- | Restart cups daemon: | + | ---- |
- | * sudo / | + | |
- | === Remove clear password from / | ||
- | <note important> | ||
+ | ===== 2. PRINTING via KERBEROS (using a Windows Print Server) ===== | ||
- | Open the config file and make the following modifications: | + | Follow |
- | * sudo vi /etc/cups/printers.conf | + | https://www.inf.unibz.it/ |
+ | |||
+ | ==== Cups printer setup and URI format ==== | ||
+ | |||
+ | Now add a printer using cups (localhost: | ||
+ | |||
+ | In cups select '' | ||
+ | |||
+ | krbsmb:// | ||
+ | |||
+ | e.g. | ||
+ | |||
+ | krbsmb:// | ||
+ | |||
+ | Continue by selecting Printer Make, Printer Driver and set the Default Options | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ===== 3. PRINTING VIA CUPS (using a Linux Print Server) ====== | ||
+ | |||
+ | First get the name(s) of the available printer(s): | ||
- | Place this line in: | ||
< | < | ||
- | AuthInfoRequired username, | + | http://gutenberg.inf.unibz.it:631/printers |
- | </ | + | |
- | Next search for the the DeviceURI line and substitute it | + | |
- | with this line. Please remember to leave the printername unchanged! | + | |
- | < | + | |
- | DeviceURI smb://print.unibz.it/< | + | |
</ | </ | ||
+ | |||
+ | |||
+ | Open your preferred browser and type this address: | ||
+ | |||
+ | * localhost: | ||
+ | |||
+ | Follow this guides as shown on the next screen shots | ||
+ | |||
+ | |||
+ | ^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** | ||
+ | |||
---- | ---- | ||
- | ===== CHIPCARD PRINTER (using a Windows Print Server) ===== | + | |
+ | |||
+ | |||
+ | |||
+ | ===== 4. CHIPCARD PRINTER (using a Windows Print Server) ===== | ||
<note important> | <note important> |
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer