1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00
Files
python-escpos/doc/capability_templates/capabilities-template.jinja
Patrick Kanzler 5e1d9bd883 add todos
2023-07-28 23:14:55 +02:00

57 lines
1.5 KiB
Django/Jinja

{% for item in data.profiles %}
{% set printer = data.profiles[item] %}
{% macro draw_with_underline(text, symbol='-') -%}
{{ escape_rst(text) }}
{{ escape_rst(text) | length * symbol }}
{%- endmacro %}
{{ draw_with_underline(printer.name) }}
{{ escape_rst(printer.notes) }}
Basic information
^^^^^^^^^^^^^^^^^
====================== ================================================================
Name {{ escape_rst(printer.name|default('Unknown')) }}
Vendor {{ escape_rst(printer.vendor|default('Unknown')) }}
Media width (mm) {{ escape_rst(printer.media.width.mm|default('Unknown')|string) }}
Media width (pixels) {{ escape_rst(printer.media.width.pixels|default('Unknown')|string) }}
DPI {{ escape_rst(printer.media.dpi|default('Unknown')|string) }}
====================== ================================================================
Fonts
^^^^^
.. todo:: list supported fonts (ID, Name, Columns)
Colors
^^^^^^
.. todo:: list supported colors (ID, Name)
Feature support
^^^^^^^^^^^^^^^
.. todo:: list features (parse table)
================ =======
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
^^^^^^^^^^^^^^^
.. todo: list code pages (ID, Encoding, link to Encoding list)
{% endfor %}