1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

improve spelling

This commit is contained in:
Patrick Kanzler
2023-09-06 00:49:20 +02:00
parent 544f7d964b
commit ba468bcb5a
4 changed files with 24 additions and 7 deletions

View File

@@ -110,7 +110,7 @@ SW_BARCODE_NAMES = {
class Escpos(object):
"""ESC/POS Printer object.
This class is the abstract base class for an esc/pos-printer. The printer implementations are children of this
This class is the abstract base class for an Esc/Pos-printer. The printer implementations are children of this
class.
"""
@@ -391,9 +391,11 @@ class Escpos(object):
def charcode(self, code: str = "AUTO") -> None:
"""Set Character Code Table.
Sets the control sequence from ``CHARCODE`` in :py:mod:`escpos.constants` as active. It will be sent with
the next text sequence. If you set the variable code to ``AUTO`` it will try to automatically guess the
right codepage. (This is the standard behaviour.)
Sets the control sequence from ``CHARCODE`` in :py:mod:`escpos.constants` as active.
It will be sent with the next text sequence.
If you set the variable code to ``AUTO`` it will try to automatically guess the
right codepage.
(This is the standard behavior.)
:param code: Name of CharCode
:raises: :py:exc:`~escpos.exceptions.CharCodeError`