Script for installing faculty printers on Linux via Samba print server.
Script for installing faculty printers on Linux via Samba print server.
<aid="org22a6855"></a>
## Advantages
## Advantages
- You can print on WiFi using Samba. (With unauthenticated IPP printing you are allowed to only print via Ethernet cable.)
- You can print on WiFi using Samba. (With unauthenticated IPP printing you are allowed to only print via Ethernet cable.)
...
@@ -24,16 +10,12 @@ Script for installing faculty printers on Linux via Samba print server.
...
@@ -24,16 +10,12 @@ Script for installing faculty printers on Linux via Samba print server.
- You don’t need to have the same login on your computer as your faculty login.
- You don’t need to have the same login on your computer as your faculty login.
<aid="org5384368"></a>
## Disadvantages
## Disadvantages
- Printers have to be installed one by one.
- Printers have to be installed one by one.
- This is not the prefered way of printing on fi. (Prefered way is via Kerberos.)
- This is not the prefered way of printing on fi. (Prefered way is via Kerberos.)
<aid="org6661b7a"></a>
## Pre-requirements
## Pre-requirements
- root access (or sudo)
- root access (or sudo)
...
@@ -42,15 +24,11 @@ Script for installing faculty printers on Linux via Samba print server.
...
@@ -42,15 +24,11 @@ Script for installing faculty printers on Linux via Samba print server.
- Python2 for `copy4a` and `copy5b`
- Python2 for `copy4a` and `copy5b`
<aid="org6ececa6"></a>
### Warning
### 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`.
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`.
<aid="orgac578d6"></a>
## Usage
## Usage
Usage: `./install.pl <printer-name>` , where `<printer-name>` is a valid printer name. For example, to install printer `lj2b` run
Usage: `./install.pl <printer-name>` , where `<printer-name>` is a valid printer name. For example, to install printer `lj2b` run
...
@@ -62,8 +40,6 @@ Usage: `./install.pl <printer-name>` , where `<printer-name>` is a valid printer
...
@@ -62,8 +40,6 @@ Usage: `./install.pl <printer-name>` , where `<printer-name>` is a valid printer
After running the script, you will be prompted for you faculty login(username and password).
After running the script, you will be prompted for you faculty login(username and password).
<aid="org730ac8c"></a>
### Available printers
### Available printers
Currently available printers:
Currently available printers:
...
@@ -88,8 +64,6 @@ Currently available printers:
...
@@ -88,8 +64,6 @@ Currently available printers:
You can find out more information on <https://www.fi.muni.cz/tech/unix/print.html>.
You can find out more information on <https://www.fi.muni.cz/tech/unix/print.html>.
Script for installing faculty printers on Linux via Samba print server.
** 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.
** 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~)
+ 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 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(username and password).
*** Available printers
Currently available printers:
- copy2a
- copy3a
- copy4a
- copy4b
- copy4c
- copy5b
- copy5c
- lj2a
- lj2b
- lj3a
- lj-a302
- lj3b
- lj4a
- lj4c
- lj4p
- lj5c
You can find out more information on [[https://www.fi.muni.cz/tech/unix/print.html]].