From c8f1781d200f299fe1c4117889ee06d2ee82f4ed Mon Sep 17 00:00:00 2001 From: "Martin Klimes (k11m1)" <xklimes5@dares.fi.muni.cz> Date: Thu, 21 Jan 2021 11:47:37 +0100 Subject: [PATCH] github flavoured markdown --- README.md | 89 ++++++++++++++++--------------------------------------- 1 file changed, 26 insertions(+), 63 deletions(-) diff --git a/README.md b/README.md index 2e1b29a..3be7362 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,21 @@ +- [FI printers via Samba](#org5818336) + - [Advantages](#org22a6855) + - [Disadvantages](#org5384368) + - [Pre-requirements](#org6661b7a) + - [Warning](#org6ececa6) + - [Usage](#orgac578d6) + - [Available printers](#org730ac8c) + - [Repository structure](#org1ed4ba2) -# Table of Contents -1. [FI printers via Samba](#org746f625) - 1. [Advantages](#orgf4392e4) - 2. [Disadvantages](#orgcb9b557) - 3. [Pre-requirements](#org3e0a2f0) - 1. [Warning](#org3500a46) - 4. [Usage](#org43e57fc) - 1. [Available printers](#org0c221ba) - 5. [Repository structure](#orgb51f681) - - -<a id="org746f625"></a> +<a id="org5818336"></a> # FI printers via Samba Script for installing faculty printers on Linux via Samba print server. -<a id="orgf4392e4"></a> +<a id="org22a6855"></a> ## Advantages @@ -27,7 +24,7 @@ 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. -<a id="orgcb9b557"></a> +<a id="org5384368"></a> ## Disadvantages @@ -35,7 +32,7 @@ Script for installing faculty printers on Linux via Samba print server. - This is not the prefered way of printing on fi. (Prefered way is via Kerberos.) -<a id="org3e0a2f0"></a> +<a id="org6661b7a"></a> ## Pre-requirements @@ -45,26 +42,27 @@ Script for installing faculty printers on Linux via Samba print server. - Python2 for `copy4a` and `copy5b` -<a id="org3500a46"></a> +<a id="org6ececa6"></a> ### 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`. -<a id="org43e57fc"></a> +<a id="orgac578d6"></a> ## 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 - ./install.pl lj2b +```shell +./install.pl lj2b +``` After running the script, you will be prompted for you faculty login(username and password). -<a id="org0c221ba"></a> +<a id="org730ac8c"></a> ### Available printers @@ -90,48 +88,13 @@ Currently available printers: You can find out more information on <https://www.fi.muni.cz/tech/unix/print.html>. -<a id="orgb51f681"></a> +<a id="org1ed4ba2"></a> ## Repository structure -<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> - - -<colgroup> -<col class="org-left" /> - -<col class="org-left" /> -</colgroup> -<thead> -<tr> -<th scope="col" class="org-left">File</th> -<th scope="col" class="org-left">Description</th> -</tr> -</thead> - -<tbody> -<tr> -<td class="org-left"><code>install.pl</code></td> -<td class="org-left">main install script</td> -</tr> - - -<tr> -<td class="org-left"><code>filters</code></td> -<td class="org-left">folder with filters for CUPS</td> -</tr> - - -<tr> -<td class="org-left"><code>ppds</code></td> -<td class="org-left">folder with PPDs for CUPS</td> -</tr> - - -<tr> -<td class="org-left"><code>PyPDF2</code> and <code>reportlab</code></td> -<td class="org-left">folder with Python 2 dependencies for <code>TA5007ci</code></td> -</tr> -</tbody> -</table> - +| 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` | -- GitLab