User Tools

Site Tools


auth:setup_printers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
auth:setup_printers [2012/12/07 18:24] kohoferauth:setup_printers [2014/03/27 17:33] – [4. CHIPCARD PRINTER (using a Windows Print Server)] kohofer
Line 1: Line 1:
 ====== SETUP PRINTER UNDER LINUX ====== ====== SETUP PRINTER UNDER LINUX ======
 +
  
  
Line 60: Line 61:
 |{{:auth:09_Set-Printer-Options2.png?direct&500|Set Default Options}}|{{:auth:10_Printers.png?direct&500|Printer}}| |{{:auth:09_Set-Printer-Options2.png?direct&500|Set Default Options}}|{{:auth:10_Printers.png?direct&500|Printer}}|
  
 +
 +When printing from an Application an Authentication Window will/should pop up.
 +
 +Enter your unibz username and password!
 +
 +{{:auth:Print-Authentication.png?direct&500|Enter username and password}}
  
 ---- ----
Line 84: Line 91:
  
 Continue by selecting Printer Make, Printer Driver and set the Default Options Continue by selecting Printer Make, Printer Driver and set the Default Options
 +
 +<note important>Important DO NOT forget to get a Kerberos Ticket manually!!</note>
 +
 +[[https://www.inf.unibz.it/wiki/tech/documentation/sysadmin/linux/printing_to_windows_print_server?s[]=krbsmb#get_a_kerberos_ticket_manually|Get a Kerberos Ticket]]
  
 ---- ----
Line 127: Line 138:
 SMB URI SMB URI
 <file> <file>
-smb://domain\username:password@ubz02cps.unibz.it/CPSPrn01+smb://unibz@ubz02cps.unibz.it/CPSPrn01
 </file> </file>
  
Line 137: Line 148:
 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 ^Chose how to connect to Printer+^Select Add Printer from Administration Menu ^Enter local username and password
-|{{:auth:01-add-printer.png?direct&500|Select Add Printer from Administration Menu}}|{{:auth:02-choose-backend.png?direct&500|Chose how to connect to Printer}}| +|{{:auth:01_Administration_cps.png?direct&500|Select Add Printer from Administration Menu}}|{{:auth:02_Enter-username-and-password.png?direct&500|Enter local username and password}}|
-^Enter Connection smb URI, Domain, YOUR username and password! ^ Name, Description and Location Names^ +
-|{{:auth:03-enter-connection-string.png?direct500|Enter Connection smb URI, Domain, YOUR username and password!}}|{{:auth:04-name-printer.png?direct500|Name, Description and Location Names}}| +
-^Select Make Generic ^Select Printer Driver Generic Postscript^ +
-|{{:auth:05-choose-make.png?direct500|Select Make Generic}}|{{:auth:06-choose-driver.png?direct500|Select Printer Driver Generic Postscript}}| +
-^Modify Options^ +
-|{{:auth:07-set-options.png?direct500|Modify Options}}|+
  
 +^Select Windows Printer via SAMBA ^Enter Connection smb URI^
 +|{{:auth:03_Add-Printer_cps.png?direct500|Select Windows Printer via SAMBA}}|{{:auth:04_Connection_cps.png?direct500|Enter Connection smb URI}}|
  
-<note important>Check that the cups printer config file printers contains the string:</note>+^Name, Description and Location Names ^Select Make Generic^ 
 +|{{:auth:05_Name-Description-Location_cps.png?direct500|Name, Description and Location Names}}|{{:auth:06_Make_cps.png?direct500|Select Make Generic}}|
  
-  smb://domain\username:password@ubz02cps.unibz.it/CPSPrn01+^Select Printer Driver Generic Postscript ^Set Default Printer Options^ 
 +|{{:auth:07_Model_cps.png?direct500|Select Printer Driver Generic Postscript}}|{{:auth:08_Set-Printer-Options_cps.png?direct500|Set Default Printer Options}}|
  
-In a terminal type: 
  
-  sudo cat /etc/cups/printers.conf | grep smb: 
- 
-Restart cups daemon: 
- 
-  sudo /etc/init.d/cups restart 
- 
-=== Remove clear password from /etc/cups/printers.conf config file === 
- 
-<note important>Please note: NOT ALL Programs show the prompt to enter DOMAIN\username and password</note> 
- 
-Open the config file and make the following modifications:  
- 
-  * sudo vi /etc/cups/printers.conf 
- 
-Place this line in:  
-<code> 
-AuthInfoRequired username,password 
-</code> 
-Next search for the the DeviceURI line and substitute it 
-with this line. 
-<code> 
-DeviceURI smb://ubz02cps.unibz.it/CPSPrn01 
-</code> 
  
 ---- ----
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer