LX-D02 BLE thermal printer: PC, Windows printer, Home Assistant
- printer.py: protocol with flow control (pause / resend / done) - lxd02.py: print text or pictures from the command line - windows/: POS-58 driver + local ESC/POS server = a regular Windows printer, Explorer menu for pictures - custom_components/lxd02: Home Assistant integration with a persistent queue Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
print_text:
|
||||
name: Print text
|
||||
description: Print text on the LX-D02 thermal printer.
|
||||
fields:
|
||||
text:
|
||||
name: Text
|
||||
required: true
|
||||
example: "Temperature: 21.5 °C"
|
||||
selector:
|
||||
text:
|
||||
multiline: true
|
||||
size:
|
||||
name: Font size
|
||||
default: 28
|
||||
selector:
|
||||
number:
|
||||
min: 10
|
||||
max: 120
|
||||
density:
|
||||
name: Density
|
||||
default: 3
|
||||
selector:
|
||||
number:
|
||||
min: 0
|
||||
max: 7
|
||||
separator:
|
||||
name: Separator line
|
||||
description: Draw a horizontal line under the text.
|
||||
default: false
|
||||
selector:
|
||||
boolean:
|
||||
feed:
|
||||
name: Feed after (rows of 2 dots)
|
||||
default: 40
|
||||
selector:
|
||||
number:
|
||||
min: 0
|
||||
max: 500
|
||||
Reference in New Issue
Block a user