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/29 13:19] – [CHIPCARD PRINTER (using a Windows Print Server)] kohofer | auth:setup_printers [2015/01/16 09:00] – [1. PRINTING via SAMBA (using a Windows Print Server)] kohofer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SETUP PRINTER ====== | + | ====== SETUP PRINTER |
- | ===== LINUX ===== | ||
- | + | ===== 1. PRINTING | |
- | ===== PRINTING | + | |
<note important> | <note important> | ||
Line 42: | Line 40: | ||
SMB URI | SMB URI | ||
< | < | ||
- | smb://domain\username: | + | smb://unibz/print.unibz.it/< |
</ | </ | ||
Line 53: | 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 | + | 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 | ||
- | < | + | 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/ | + | https://www.inf.unibz.it/ |
- | Place this line in: | + | ==== Cups printer setup and URI format ==== |
- | < | + | |
- | AuthInfoRequired username, | + | |
- | </ | + | |
- | Next search for the the DeviceURI line and substitute it | + | |
- | with this line. Please remember to leave the printername unchanged! | + | |
- | < | + | |
- | DeviceURI smb:// | + | |
- | </ | + | |
- | ---- | + | Now add a printer using cups (localhost: |
- | ===== CHIPCARD PRINTER (using a Windows Print Server) ===== | + | In cups select '' |
- | <note important> | + | krbsmb://DOMAIN/ |
- | SMB URI | + | e.g. |
- | < | + | |
- | smb:// | + | |
- | </ | + | |
+ | krbsmb:// | ||
- | Open your preferred browser | + | Continue by selecting Printer Make, Printer Driver |
- | * localhost: | + | <note important> |
- | Follow this guides as shown on the next screen shots | + | [[https:// |
- | ^Select Add Printer from Administration Menu ^Chose how to connect to Printer^ | + | ---- |
- | |{{:auth:01-add-printer.png? | + | |
- | ^Enter Connection smb URI, Domain, YOUR username and password! ^ Name, Description and Location Names^ | + | |
- | |{{: | + | |
- | ^Select Make Generic ^Select Printer Driver Generic Postscript^ | + | |
- | |{{: | + | |
- | ^Modify Options^ | + | |
- | |{{: | + | |
- | <note important> | + | ===== 3. PRINTING VIA CUPS (using a Linux Print Server) ====== |
- | smb:// | + | First get the name(s) of the available printer(s): |
- | In a terminal type: | + | < |
+ | http:// | ||
+ | </ | ||
- | sudo cat / | ||
- | Restart cups daemon: | + | Open your preferred browser and type this address: |
- | | + | |
- | === Remove clear password from / | + | Follow this guides as shown on the next screen shots |
- | <note important> | ||
- | Open the config file and make the following modifications: | + | ^Select Add Printer ^Enter local username (must be in admin/sudo group) |
+ | |{{:auth: | ||
+ | ^Enter Connection string e.g. http:// | ||
+ | |{{: | ||
+ | ^Select Make ^Select Driver^ | ||
+ | |{{: | ||
- | | + | Last select newly added printer; Click on **Administration**\\ |
+ | and select: **Set Default Options** | ||
- | Place this line in: | ||
- | < | ||
- | AuthInfoRequired username, | ||
- | </ | ||
- | Next search for the the DeviceURI line and substitute it | ||
- | with this line. | ||
- | < | ||
- | DeviceURI smb:// | ||
- | </ | ||
---- | ---- | ||
- | ===== PRINTING VIA CUPS (using a Linux Print Server) ====== | ||
- | First get the name(s) of the available printer(s): | ||
- | <code> | + | |
- | http://gutenberg.inf.unibz.it:631/printers | + | |
- | </code> | + | ===== 4. CHIPCARD PRINTER (using a Windows Print Server) ===== |
+ | |||
+ | <note important> | ||
+ | |||
+ | SMB URI | ||
+ | < | ||
+ | smb://unibz/ | ||
+ | </file> | ||
Line 170: | Line 149: | ||
Follow this guides as shown on the next screen shots | Follow this guides as shown on the next screen shots | ||
+ | ^Select Add Printer from Administration Menu ^Enter local username and password^ | ||
+ | |{{: | ||
- | ^Select | + | ^Select |
- | |{{:auth:0_add-new-printer_w-browser.png?direct& | + | |{{:auth:03_Add-Printer_cps.png?direct500|Select |
- | ^Enter Connection string e.g. http:// | + | |
- | |{{:auth:2_add-new-printer_w-browser.png?direct& | + | ^Name, Description and Location Names ^Select Make Generic^ |
- | ^Select | + | |{{:auth:05_Name-Description-Location_cps.png?direct500|Name, Description and Location Names}}|{{:auth:06_Make_cps.png?direct500|Select Make Generic}}| |
- | |{{:auth:4_add-new-printer_w-browser.png?direct& | + | |
+ | ^Select | ||
+ | |{{:auth:07_Model_cps.png?direct500|Select Printer Driver Generic Postscript}}|{{:auth:08_Set-Printer-Options_cps.png?direct500|Set Default Printer Options}}| | ||
- | Last select newly added printer; Click on **Administration**\\ | ||
- | and select: **Set Default Options** | ||
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer