* FI printers
Script for installing fi 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.
+ You don't need to have the same login on your computer as your faculty login. 
** 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~. 
** Usage

Usage: ~./install.pl <printer-name>~ , where ~<printer-name>~ is valid printer name.
For example to install printer ~lj2b~ run 
#+begin_src bash
./install.pl lj2b
#+end_src

After running the script, you will be prompted for you faculty login.


Available printers:

| Printer name | Model       | Location                                     |
|--------------+-------------+----------------------------------------------|
| copy2a       | TA4505ci    | Building A, 2nd floor kitchen                |
| copy3a       | TA4505ci    | Building A, 3th floor kitchen                |
| copy4a       | TA4505ci    | Building A, 4th floor kitchen                |
| copy4b       | TA5007ci    | Building B, 4th floor                        |
| copy4c       | TA4505ci    | Building C, 4th floor                        |
| copy5b       | TA5007ci    | Building B, 5th floor                        |
| copy5c       | TA4505ci    | Building C, 5th floor                        |
| lj-a302      | hplj-600    | Building A, 3th floor A302 LaSArIS           |
| lj2a         | hplj-600    | Building A, 2nd floor kitchen                |
| lj2b         | hplj-p3015  | Building B, 2nd floor, kitchen               |
| lj3a         | hplj-600    | Building A, 3th floor kitchen                |
| lj3b         | hplj-p4515x | Building B, 3th floor, kitchen               |
| lj4a         | hplj-600    | Building A, 4th floor kitchen                |
| lj4c         | hplj-600    | Building C, 4th floor, next to copy          |
| lj4p         | hplj-p4015x | Building B, 4th floor, next to copy          |
| lj5c         | hplj-600    | Building C, 5th floor, next to copy          |


** Repo structure:
| File                     | Description                                      |
|--------------------------+--------------------------------------------------|
| ~install.pl~             | main install script                              |
| ~filters~                | folder with filters for cups                     |
| ~ppds~                   | folder with ppds for cups                        |
| ~PyPDF2~ and ~reportlab~ | folder with python 2 dependencies for ~TA5007ci~ |
