Script for installing fi printers on Linux via Samba print server.
* FI printers via Samba
Script for installing faculty printers on Linux via Samba print server.
** Advantages:
+ You can print on WiFi with Samba. (Pure IPP printing allows only printing via Ethernet cable)
+ You can add a FI printer to your existing cups instance. This way, you don't have to switch configurations.
** Advantages
+ You can print on WiFi using Samba. (With unauthenticated IPP printing you are allowed to only print via Ethernet cable.)
+ You can add a FI printer to your existing CUPS instance. This way, you don't have to switch configurations.
+ You don't need to have the same login on your computer as your faculty login.
** Pre-requirements:
** Disadvantages
+ Printers have to be installed one by one.
+ This is not the prefered way of printing on fi. (Prefered way is via Kerberos.)
** Pre-requirements
+ root access (or sudo)
+ running local [[https://www.cups.org/][CUPS]] print server
+ samba client (~smbclient~)
+ for ~TA5007ci~ python2
*** Note
If you have previously have used pure IPP printing before, you might want to cancel printing from your machine.
If that is the case, send a request to unix@fi.muni.cz.
**** Warning
If you are printing with pure IPP or Kerberos, you will have to remove client configuration for cups, which is located at ~/etc/cups/client.conf~.
+ Samba client (~smbclient~)
+ Python2 for ~copy4a~ and ~copy5b~
*** Warning
If you are printing with unauthenticated IPP or Kerberized IPP, you will have to remove client configuration file for CUPS, which is located at ~/etc/cups/client.conf~.
** Usage
Usage: ~./install.pl <printer-name>~ , where ~<printer-name>~ is valid printer name.
For example to install printer ~lj2b~ run
#+begin_src bash
Usage: ~./install.pl <printer-name>~ , where ~<printer-name>~ is a valid printer name.
For example, to install printer ~lj2b~ run
#+begin_src shell
./install.pl lj2b
#+end_src
After running the script, you will be prompted for you faculty login.
After running the script, you will be prompted for you faculty login(username and password).