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/06 16:40] kohoferauth:setup_printers [2012/12/07 18:24] kohofer
Line 1: Line 1:
-====== SETUP PRINTER ======+====== SETUP PRINTER UNDER LINUX ======
  
-===== LINUX =====+<note warning>TO FINISH!</note>
  
  
-===== PRINTING via KERBEROS (using a Windows Print Server) ===== +===== 1. PRINTING via SAMBA (using a Windows Print Server) =====
- +
- +
-https://www.inf.unibz.it/wiki/tech/documentation/sysadmin/linux/printing_to_windows_print_server?s[]=krbsmb +
- +
- +
----- +
- +
- +
-===== 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> +
- +
- +
-Open your preferred browser and type this address:  +
- +
-  * localhost:631 +
- +
-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^ +
-|{{:auth:0_add-new-printer_w-browser.png?direct&500|Select Add Printer}}|{{:auth:1_add-new-printer_w-browser.png?direct&500|Enter local username (must be in admin/sudo group) and local password}}| +
-^Enter Connection string e.g. http://gutenberg.inf.unibz.it:631/printers/<printername> ^ Name, Description and Location Names^ +
-|{{:auth:2_add-new-printer_w-browser.png?direct&600|}}|{{:auth:3_add-new-printer_w-browser.png?direct&600|}}| +
-^Select Make ^Select Driver^ +
-|{{:auth:4_add-new-printer_w-browser.png?direct&600|}}|{{:auth:5_add-new-printer_w-browser.png?direct&600|}}| +
- +
-Last select newly added printer; Click on **Administration**\\ +
-and select: **Set Default Options** +
- +
- +
----- +
- +
- +
- +
-===== PRINTING VIA SAMBA (using a Windows Print Server) =====+
  
 <note important>Your user must be a member of the admin/sudo group</note> <note important>Your user must be a member of the admin/sudo group</note>
Line 81: Line 41:
 SMB URI SMB URI
 <file> <file>
-smb://domain\username:password@print.unibz.it/<printername>+smb://<domain>@print.unibz.it/<printername>
 </file> </file>
  
Line 92: Line 52:
  
 ^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?direct&500|Select Add Printer from Administration Menu}}|{{:playground:02-add_printer-cups_password.png?direct&500|Enter your local login and password}}|+|{{:auth:01_Add-Printer.png?direct&500|Select Add Printer from Administration Menu}}|{{:auth:02_Enter-username-and-password.png?direct&500|Enter your local login and password}}|
 ^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?direct&500|Chose how to connect to Printer}}|{{:playground:04-add_printer-cups_connection.png?direct&500|Enter Connection String SMB URI, enter Domain unibz, YOUR username and password!}}|+|{{:auth:03_Windows-Printer-via-SAMBA.png?direct&500|Chose how to connect to Printer}}|{{:auth:04_Connection-String.png?direct&500|Enter Connection String SMB URI, enter Domain unibz, YOUR username and password!}}|
 ^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?direct&500|Enter Name, Description and Location}}|{{:playground:07-add_printer-cups_make.png?direct&500|Select Make of Printer}}|+|{{:auth:05_Name-Description-Location.png?direct&500|Enter Name, Description and Location}}|{{:auth:06_Make.png?direct&500|Select Make of Printer}}|
 ^Select Driver ^Set initial default Options^ ^Select Driver ^Set initial default Options^
-|{{:playground:08-add_printer-cups_model.png?direct&500|Select Driver}}|{{:playground:09-add_printer-cups_options.png?direct&500|Set initial default Options}}|+|{{:auth:07_Model.png?direct&500|Select Driver}}|{{:auth:08_Set-Printer-Options1.png?direct&500|Set initial default Options}}|
 ^Set Default Options^ ^Set Default Options^
-|{{:playground:10-add_printer-cups_options.png?direct&500|Set Default Options}}|+|{{:auth:09_Set-Printer-Options2.png?direct&500|Set Default Options}}|{{:auth:10_Printers.png?direct&500|Printer}}|
  
  
-Check that the cups printer config file printers contains the string:+----
  
-<code> 
-smb://domain\username:password@print.unibz.it/<printername> 
-</code> 
  
-In a terminal type: 
-  * sudo cat /etc/cups/printers.conf | grep smb: 
  
-Restart cups daemon: +===== 2PRINTING via KERBEROS (using a Windows Print Server) =====
-  * sudo /etc/init.d/cups restart+
  
-=== Remove clear password from /etc/cups/printers.conf config file ===+Follow the steps as described in the link below
  
-<note important>Please noteNOT ALL Programs show the prompt to enter DOMAIN\username and password</note>+https://www.inf.unibz.it/wiki/tech/documentation/sysadmin/linux/printing_to_windows_print_server?s[]=krbsmb
  
 +==== Cups printer setup and URI format ====
  
-Open the config file and make the following modifications+Now add a printer using cups (localhost:631)
  
-  * sudo vi /etc/cups/printers.conf+In cups select ''Kerberized Printer'' and the uri format is 
 + 
 +  krbsmb://DOMAIN/PRINTSERVER/PRINTER_SHARE 
 + 
 +e.g. 
 + 
 +  krbsmb://unibz/print.unibz.it/UBZ066POS300 
 + 
 +Continue by selecting Printer Make, Printer Driver and set the Default Options 
 + 
 +---- 
 + 
 + 
 +===== 3PRINTING VIA CUPS (using a Linux Print Server) ====== 
 + 
 +First get the name(s) of the available printer(s):
  
-Place this line in:  
 <code> <code>
-AuthInfoRequired username,password +http://gutenberg.inf.unibz.it:631/printers
-</code> +
-Next search for the the DeviceURI line and substitute it +
-with this line. Please remember to leave the printername unchanged! +
-<code> +
-DeviceURI smb://print.unibz.it/<printername>+
 </code> </code>
 +
 +
 +Open your preferred browser and type this address: 
 +
 +  * localhost:631
 +
 +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^
 +|{{:auth:0_add-new-printer_w-browser.png?direct&500|Select Add Printer}}|{{:auth:1_add-new-printer_w-browser.png?direct&500|Enter local username (must be in admin/sudo group) and local password}}|
 +^Enter Connection string e.g. http://gutenberg.inf.unibz.it:631/printers/<printername> ^ Name, Description and Location Names^
 +|{{:auth:2_add-new-printer_w-browser.png?direct&600|}}|{{:auth:3_add-new-printer_w-browser.png?direct&600|}}|
 +^Select Make ^Select Driver^
 +|{{:auth:4_add-new-printer_w-browser.png?direct&600|}}|{{:auth:5_add-new-printer_w-browser.png?direct&600|}}|
 +
 +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>Your user must be a member of the admin/sudo group</note> <note important>Your user must be a member of the admin/sudo group</note>
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer