From fe3cdde424597c2dd40394cdb15e01c3d53b4931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benito=20L=C3=B3pez?= Date: Fri, 24 May 2024 23:21:54 +0200 Subject: [PATCH] Clarify set() width and height documentation (#644) --- src/escpos/escpos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index ada52ec..f9f6e4e 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -934,8 +934,8 @@ class Escpos(object, metaclass=ABCMeta): :param double_width: doubles the width of the text :param custom_size: uses custom size specified by width and 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 height: text height 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: 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 invert: True enables white on black printing :param smooth: True enables text smoothing. Effective on 4x4 size text and larger