updated website style

This commit is contained in:
Sebastian Hildebrandt
2021-09-23 17:39:23 +02:00
parent b5546135af
commit a6e0a450d8
56 changed files with 19285 additions and 19165 deletions
+142 -140
View File
@@ -38,139 +38,140 @@
</div>
</nav>
<section class="container">
<div class="row">
<div class="col-12 col-md-4 col-lg-3 col-xl-2 menu" id="menu">
</div>
<div class="col-12 col-md-8 col-lg-9 col-xl-10 content">
<div class="row">
<div class="col-12 sectionheader">
<div class="title">Printer</div>
<div class="text">
<p>In this section you will learn how to get information about detected printers:</p>
<p>For function reference and examples we assume, that we imported <span class="code">systeminformation</span> as follows:</p>
<pre><code class="js">const si = require('systeminformation');</code></pre>
<h2>Detected Printers</h2>
<p>All functions in this section return a promise or can be called with a callback function (parameter <span class="code">cb</span> in the function reference)</p>
<table class="table table-sm table-bordered table-striped">
<thead>
<tr>
<th>Function</th>
<th>Result object</th>
<th>Linux</th>
<th>BSD</th>
<th>Mac</th>
<th>Win</th>
<th>Sun</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
<tr>
<td>si.printer(cb)</td>
<td>[{...}]</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>printer informatiom</td>
</tr>
<tr>
<td></td>
<td>[0].id</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>internal ID</td>
</tr>
<tr>
<td></td>
<td>[0].name</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>printer name</td>
</tr>
<tr>
<td></td>
<td>[0].model</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>printer model</td>
</tr>
<tr>
<td></td>
<td>[0].uri</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>printer URI</td>
</tr>
<tr>
<td></td>
<td>[0].uuid</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>printer UUID</td>
</tr>
<tr>
<td></td>
<td>[0].status</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>printer status (e.g. idle)</td>
</tr>
<tr>
<td></td>
<td>[0].local</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>is local printer</td>
</tr>
<tr>
<td></td>
<td>[0].default</td>
<td></td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>is default printer</td>
</tr>
<tr>
<td></td>
<td>[0].shared</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>is shared printer</td>
</tr>
<tr class="example">
<td></td>
<td colspan="7">
<h5>Example</h5>
<pre><code class="js">const si = require('systeminformation');
<div class="container-fluid">
<section class="container">
<div class="row">
<div class="col-12 col-md-4 col-lg-3 col-xl-2 menu" id="menu">
</div>
<div class="col-12 col-md-8 col-lg-9 col-xl-10 content">
<div class="row">
<div class="col-12 sectionheader">
<div class="title">Printer</div>
<div class="text">
<p>In this section you will learn how to get information about detected printers:</p>
<p>For function reference and examples we assume, that we imported <span class="code">systeminformation</span> as follows:</p>
<pre><code class="js">const si = require('systeminformation');</code></pre>
<h2>Detected Printers</h2>
<p>All functions in this section return a promise or can be called with a callback function (parameter <span class="code">cb</span> in the function reference)</p>
<table class="table table-sm table-bordered table-striped">
<thead>
<tr>
<th>Function</th>
<th>Result object</th>
<th>Linux</th>
<th>BSD</th>
<th>Mac</th>
<th>Win</th>
<th>Sun</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
<tr>
<td>si.printer(cb)</td>
<td>[{...}]</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>printer informatiom</td>
</tr>
<tr>
<td></td>
<td>[0].id</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>internal ID</td>
</tr>
<tr>
<td></td>
<td>[0].name</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>printer name</td>
</tr>
<tr>
<td></td>
<td>[0].model</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>printer model</td>
</tr>
<tr>
<td></td>
<td>[0].uri</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>printer URI</td>
</tr>
<tr>
<td></td>
<td>[0].uuid</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>printer UUID</td>
</tr>
<tr>
<td></td>
<td>[0].status</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>printer status (e.g. idle)</td>
</tr>
<tr>
<td></td>
<td>[0].local</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>is local printer</td>
</tr>
<tr>
<td></td>
<td>[0].default</td>
<td></td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>is default printer</td>
</tr>
<tr>
<td></td>
<td>[0].shared</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>is shared printer</td>
</tr>
<tr class="example">
<td></td>
<td colspan="7">
<h5>Example</h5>
<pre><code class="js">const si = require('systeminformation');
si.printer().then(data => console.log(data));</code></pre class="example">
<pre class="example">
[
@@ -197,18 +198,19 @@ si.printer().then(data => console.log(data));</code></pre class="example">
shared: true
}
]</pre>
</tr>
</tr>
</tbody>
</table>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="container-fluid">
</div>
<footer class="container-fluid footer">
<div class="container">
<div class="row">
<div class="col-lg-4 col-12">
@@ -252,4 +254,4 @@ si.printer().then(data => console.log(data));</code></pre class="example">
</script>
</body>
</html>
</html>