Site updated at 2017-11-24 21:12:01 UTC

This commit is contained in:
Travis CI 2017-11-24 21:12:01 +00:00
parent 430d464a6f
commit 39ce04b9f8
26 changed files with 83 additions and 70 deletions

View file

@ -88,12 +88,25 @@
<span class="pi">-</span> <span class="s">C430</span>
</code></pre>
</div>
<p>Configuration variables:</p>
<ul>
<li><strong>printers</strong> array (<em>Required</em>): List of printers to add.</li>
<li><strong>host</strong> (<em>Optional</em>): IP address of the CUPS print server.</li>
<li><strong>port</strong> (<em>Optional</em>): Port address of the CUPS print server. Defaults to 631.</li>
</ul>
<div class="config-vars">
<h3><a class="title-link" name="configuration-variables" href="#configuration-variables"></a> Configuration Variables</h3>
<dl class="">
<dt><a class="title-link" name="printers" href="#printers"></a> printers</dt>
<dd>
<p class="desc"><span class="type">(<span class="list">list</span>)</span><span class="required">(Required)</span><span class="description">List of printers to add.</span></p>
</dd>
<dt><a class="title-link" name="host" href="#host"></a> host</dt>
<dd>
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">IP address of the CUPS print server.</span></p>
<p class="default">Default value: 127.0.0.1</p>
</dd>
<dt><a class="title-link" name="port" href="#port"></a> port</dt>
<dd>
<p class="desc"><span class="type">(<span class="int">int</span>)</span><span class="required">(Optional)</span><span class="description">Port of the CUPS print server.</span></p>
<p class="default">Default value: 631</p>
</dd>
</dl>
</div>
<p class="note">
You will need to install the <code class="highlighter-rouge">python3-dev</code> or <code class="highlighter-rouge">python3-devel</code> and the development files for CUPS (<code class="highlighter-rouge">libcups2-dev</code> or<code class="highlighter-rouge">cups-devel</code>) package on your system manually (eg. <code class="highlighter-rouge">sudo apt-get install python3-dev libcups2-dev</code> or <code class="highlighter-rouge">sudo dnf -y install python3-devel cups-devel</code>) along with a compiler (<code class="highlighter-rouge">gcc</code>).
</p>