Skip to content

Commit fe3cdde

Browse files
authored
Clarify set() width and height documentation (#644)
1 parent 4c02881 commit fe3cdde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/escpos/escpos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,8 +934,8 @@ def set(
934934
:param double_width: doubles the width of the text
935935
:param custom_size: uses custom size specified by width and height
936936
parameters. Cannot be used with double_width or double_height.
937-
:param width: text width multiplier when custom_size is used, decimal range 1-8
938-
:param height: text height multiplier when custom_size is used, decimal range 1-8
937+
:param width: requires custom_size=True, text width multiplier when custom_size is used, decimal range 1-8
938+
:param height: requires custom_size=True, text height multiplier when custom_size is used, decimal range 1-8
939939
:param density: print density, value from 0-8, if something else is supplied the density remains unchanged
940940
:param invert: True enables white on black printing
941941
:param smooth: True enables text smoothing. Effective on 4x4 size text and larger

0 commit comments

Comments
 (0)