improve spelling
This commit is contained in:
parent
544f7d964b
commit
ba468bcb5a
@ -316,8 +316,15 @@ spelling_ignore_pypi_package_names = True
|
||||
spelling_ignore_wiki_words = True
|
||||
spelling_ignore_python_builtins = True
|
||||
spelling_ignore_importable_modules = True
|
||||
spelling_ignore_contributor_names = True
|
||||
spelling_word_list_filename = "spelling_wordlist.txt"
|
||||
spelling_show_suggestions = True
|
||||
spelling_suggestion_limit = 3
|
||||
spelling_warning = True
|
||||
spelling_exclude_patterns = ["**/capabilities.json*"]
|
||||
spelling_exclude_patterns = [
|
||||
"**/capabilities.json",
|
||||
"../../capabilities-data/dist/capabilities.json",
|
||||
"**/available-encodings.rst",
|
||||
"**/available-profiles.rst",
|
||||
"dev/todo.rst",
|
||||
]
|
||||
|
@ -1,5 +1,7 @@
|
||||
ESC
|
||||
Esc
|
||||
POS
|
||||
Pos
|
||||
Escpos
|
||||
Escpos
|
||||
escpos
|
||||
@ -7,9 +9,15 @@ escpos
|
||||
barcodes
|
||||
baudrate
|
||||
charcode
|
||||
dev
|
||||
dialout
|
||||
ean
|
||||
Ean
|
||||
lp
|
||||
lsusb
|
||||
printcap
|
||||
programmatically
|
||||
Raspbian
|
||||
traceback
|
||||
Todo
|
||||
traceback
|
||||
udev
|
@ -12,7 +12,7 @@ printers.
|
||||
|
||||
.. note::
|
||||
This driver is not suited for USB-to-Serial-adapters
|
||||
and similiar devices, but only for those implementing native USB.
|
||||
and similar devices, but only for those implementing native USB.
|
||||
|
||||
.. autoclass:: escpos.printer.Usb
|
||||
:members:
|
||||
|
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user