Config
Module escpos.config
ESC/POS configuration manager.
This module contains the implementations of abstract base class Config.
- class escpos.config.Config[source]
Bases:
objectConfiguration handler class.
This class loads configuration from a default or specified directory. It can create your defined printer and return it to you.
- load(config_path=None)[source]
Load and parse the configuration file using pyyaml.
- Parameters:
config_path – An optional file path, file handle, or byte string for the configuration file.
- Return type:
None