add feature table

This commit is contained in:
Patrick Kanzler 2023-07-29 01:46:09 +02:00
parent 1717b9a641
commit 3f3b89fd27
4 changed files with 17 additions and 20 deletions

View File

@ -36,7 +36,13 @@ DPI {{ escape_rst(printer.media.dpi|default('Unknown')|strin
Fonts
^^^^^
.. todo:: list supported fonts (ID, Name, Columns)
+------------------+------------------------------+-----------------------+
| ID | Name | Columns |
+==================+==============================+=======================+
{% for id in printer.fonts -%}
| {{ fill_line(escape_rst(id), 16) }} | {{ fill_line(escape_rst(printer.fonts[id].name), 28) }} | {{ fill_line(printer.fonts[id].columns|string, 21) }} |
+------------------+------------------------------+-----------------------+
{% endfor %}
Colors
@ -54,23 +60,14 @@ Colors
Feature support
^^^^^^^^^^^^^^^
.. todo:: list features (parse table)
+-----------------------------------+----------------------------+
| Feature | Supported |
+===================================+============================+
{% for feature in printer.features -%}
| {{ fill_line(escape_rst(feature), 33) }} | {{ fill_line(escape_rst(printer.features[feature]|string), 26) }} |
+-----------------------------------+----------------------------+
{% endfor %}
================ =======
barcodeA check
barcodeB check
bitImageColumn check
bitImageRaster check
graphics check
highDensity check
paperFullCut check
paperPartCut check
pdf417Code check
pulseBel clear
pulseStandard check
qrCode check
starCommands clear
================ =======
Text code pages
^^^^^^^^^^^^^^^

View File

@ -1,6 +1,6 @@
Available Encodings
-------------------
:Last Reviewed: 2023-07-27
:Last Reviewed: 2023-07-29
.. datatemplate:json:: ../../capabilities-data/dist/capabilities.json
:template: capabilities-template-encoding.jinja

View File

@ -2,7 +2,7 @@
Available Profiles
------------------
:Last Reviewed: 2023-07-27
:Last Reviewed: 2023-07-29
The following list describes which printer profiles are
available in this release.

View File

@ -1,6 +1,6 @@
Capabilities
------------
:Last Reviewed: 2023-07-27
:Last Reviewed: 2023-07-29
Since the used command set often differs between printers,
a model for supporting different printers is implemented.