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 [2017/10/06 11:47] – [1. PRINTING via SAMBA (using a Windows Print Server)] kohoferauth:setup_printers [2021/01/28 14:02] – [Windows and Mac OS X] kohofer
Line 1: Line 1:
 ====== SETUP PRINTER UNDER LINUX ====== ====== SETUP PRINTER UNDER LINUX ======
  
 +===== 1. PRINTING via SAMBA (using a Windows Print Server) =====
  
 +**Prerequisite!**
  
-===== 1. PRINTING via SAMBA (using Windows Print Server) =====+  * Your user must be member of the admin/sudo group 
 +  * Install samba client package and dependency packages in order to use Printer via samba protocol: 
 + 
 +  sudo apt-get update && sudo apt-get install smbclient
  
-<note important>Your user must be a member of the admin/sudo group</note> 
  
 First get the name(s) of the printer(s) you want to use: First get the name(s) of the printer(s) you want to use:
  
-  - Go to the printer and look for a label with its name +**Go to the printer and look for a label with its name** 
-  Get the printer names list, but this is only available for **ADMINS**+ 
 +[[auth:setup_printers#now_that_you_know_the_name_of_the_printer_you_can_starting_adding_a_printer|Continue here]] 
 + 
 +OR 
 + 
 +**Get the printer names list, but this is only available for **ADMINS** **
  
 To get the printer names list use smbclient. If the program is not installed do: To get the printer names list use smbclient. If the program is not installed do:
Line 16: Line 25:
   * apt-get update; apt-get install smbclient   * apt-get update; apt-get install smbclient
  
-Now execute this line to get a list of the printer names:+**Now execute this line to get a list of the printer names:**
  
   * smbclient -L \\<windowsprintserver> -U <unibz-login> -W <domain>   * smbclient -L \\<windowsprintserver> -U <unibz-login> -W <domain>
Line 38: Line 47:
 A list of old and new printer names you can find here: http://www.unibz.it/en/ict/Documents/PrinterList.pdf A list of old and new printer names you can find here: http://www.unibz.it/en/ict/Documents/PrinterList.pdf
  
-Now that you know the name of the printer, you can starting adding a printer. 
  
 +----
 +
 +
 +===== Now that you know the name of the printer, you can starting adding a printer. =====
  
 SMB URI SMB URI
Line 68: Line 80:
 check the taskbar for a Printer Icon, select it and release the print job by typing your login & password. check the taskbar for a Printer Icon, select it and release the print job by typing your login & password.
  
-Enter your unibz username and password!+Enter your unibz username without **@unibz.it** and password!
  
 {{:auth:Print-Authentication.png?direct&500|Enter username and password}} {{:auth:Print-Authentication.png?direct&500|Enter username and password}}
 +
 +If the Authentication Window is <color #ed1c24>NOT</color> appearing and you get an error in http://localhost:631 saying: NT_STATUS_LOGON_FAILURE or similar,
 +check the file <code>
 +sudo more /etc/cups/printers.conf
 +</code> and verify that you have a line saying: **AuthInfoRequired username,password**!
 +In case the line is missing for the printer add the line or replace the line AuthInfoRequired none with **AuthInfoRequired username,password**!
 +
 +  sudo /etc/init.d/cups stop
 +  sudo vi /etc/cups/printers.conf
 +  sudo /etc/init.d/cups start
 +
 +Example /etc/cups/printers.conf
 +
 +<code>
 +<Printer UBZ021POS200_color>
 +UUID urn:uuid:2428e92d-5680-32a7-6d4a-d3ae4f8dc00a
 +AuthInfoRequired username,password
 +Info HP Color LaserJet 5550
 +Location POS 2R - IDSE
 +...
 +...
 +</code>
  
 ---- ----
Line 80: Line 114:
 Follow the steps as described in the link below Follow the steps as described in the link below
  
-https://www.inf.unibz.it/wiki/tech/documentation/sysadmin/linux/printing_to_windows_print_server?s[]=krbsmb+https://wiki.inf.unibz.it/tech/documentation/sysadmin/linux/printing_to_windows_print_server?s[]=krbsmb
  
 ==== Cups printer setup and URI format ==== ==== Cups printer setup and URI format ====
Line 98: Line 132:
 <note important>Important DO NOT forget to get a Kerberos Ticket manually!!</note> <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]]+[[https://wiki.inf.unibz.it/tech/documentation/sysadmin/linux/printing_to_windows_print_server?s[]=krbsmb#get_a_kerberos_ticket_manually|Get a Kerberos Ticket]]
  
 ---- ----
Line 171: Line 205:
 ==== Printing of private and confidential Documents ==== ==== Printing of private and confidential Documents ====
  
-https://www.inf.unibz.it/wiki/auth/printing_of_private_and_confidential_documents+https://wiki.inf.unibz.it/auth/printing_of_private_and_confidential_documents
  
  
-===== Windows and Mac OS X =====+===== MacOS =====
  
-Windows:+  * Open the System Preferences 
 +  * Open Print & Scan 
 +  * Click on the + button to add a printer 
 +  * Make a right click on the grey space between Windows and the search bar. Click then on Customize Toolbar
  
-https://knowledge.scientificnet.org/workspace/#nd=2c1c4d8c-da72-44aa-be88-30adb4167fb6&ld=17f4d8ce-edff-4d42-ad33-d98e2cdebc35&ln=it 
  
-Mac OS X:+  * Drag the Advanced icon up into the toolbar and click on Done 
 +  * Click on the new added Advanced icon in the Add Printer menu and choose the following setting:
  
-https://knowledge.scientificnet.org/workspace/#nd=2838d956-3d00-4700-9a41-ce8b319433eb&ld=17f4d8ce-edff-4d42-ad33-d98e2cdebc35&ln=en+<code> 
 +Type: Windows printer via spools\\ 
 +Device: Another Device\\ 
 +URL: smb://print.unibz.it/PRINTERNAME e.g. Printername UBZ098POS100\\ 
 +Name: Name-of-the-Printer\\ 
 +Location: choose a location/description of the printer (optional); e.g. POS 2nd floor\\ 
 +Print using: Search for the printer via the search field and select the appropriate Printer Driver, see above and confirm with OK 
 +</code> 
 + 
 + 
 + 
 + 
 +Arrived at this point the printer is installed. You can close the window. 
 + 
 + 
 +----
  
  
/data/www/wiki.inf.unibz.it/data/pages/auth/setup_printers.txt · Last modified: 2023/04/18 16:23 by kohofer