BonPrinter v1.2.0
Thermal Printer tool
Loading...
Searching...
No Matches
Source.Model.monitor Namespace Reference

Classes

class  MonitorScale
 Class to scale text and item positions. More...

Variables

dict D_FONT_SIZE
 log = logging.getLogger(__title__)
str S_DEFAULT_FONT = "MS Shell Dlg 2"

Detailed Description


Variable Documentation

◆ D_FONT_SIZE

dict D_FONT_SIZE
Initial value:
1= {
2 "articles_button": 9,
3 "calc_button": 18,
4 "multi_button": 18,
5 "clear_button": 18,
6 "print_button": 22,
7 "table": 12,
8 "table_vertical": 25,
9 "total": 30,
10 "lock_button": 30,
11 "ec_button": 45,
12 "report_dialog": 16,
13 "report_button": 16,
14 "report_text": 9
15}

Definition at line 36 of file monitor.py.

◆ log

log = logging.getLogger(__title__)

Definition at line 34 of file monitor.py.

◆ S_DEFAULT_FONT

str S_DEFAULT_FONT = "MS Shell Dlg 2"

Definition at line 52 of file monitor.py.