Clarify set() width and height documentation (#644)

This commit is contained in:
Benito López 2024-05-24 23:21:54 +02:00 committed by GitHub
parent 4c02881fe7
commit fe3cdde424
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -934,8 +934,8 @@ class Escpos(object, metaclass=ABCMeta):
:param double_width: doubles the width of the text :param double_width: doubles the width of the text
:param custom_size: uses custom size specified by width and height :param custom_size: uses custom size specified by width and height
parameters. Cannot be used with double_width or double_height. parameters. Cannot be used with double_width or double_height.
:param width: text width multiplier when custom_size is used, decimal range 1-8 :param width: requires custom_size=True, text width multiplier when custom_size is used, decimal range 1-8
:param height: text height multiplier when custom_size is used, decimal range 1-8 :param height: requires custom_size=True, text height multiplier when custom_size is used, decimal range 1-8
:param density: print density, value from 0-8, if something else is supplied the density remains unchanged :param density: print density, value from 0-8, if something else is supplied the density remains unchanged
:param invert: True enables white on black printing :param invert: True enables white on black printing
:param smooth: True enables text smoothing. Effective on 4x4 size text and larger :param smooth: True enables text smoothing. Effective on 4x4 size text and larger