Commit 1553fa05 authored by Martin Klimes (k11m1)'s avatar Martin Klimes (k11m1)
Browse files

cleanup

parent f15e7db0
Loading
Loading
Loading
Loading
+27 −27
Original line number Diff line number Diff line
* FI printers
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).


*** Available printers:
*** 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                |
| 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                        |
@@ -40,18 +40,18 @@ After running the script, you will be prompted for you faculty login.
| 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                |
| lj3a         | hplj-600    | Building A, 3th floor, kitchen               |
| lj3b         | hplj-p4515x | Building B, 3th floor, kitchen               |
| lj4a         | hplj-600    | Building A, 4th 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          |


** Repository structure:
** Repository 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~ |
| ~filters~                | folder with filters for CUPS                     |
| ~ppds~                   | folder with PPDs for CUPS                        |
| ~PyPDF2~ and ~reportlab~ | folder with Python 2 dependencies for ~TA5007ci~ |