mirror of
https://github.com/Ircama/epson_print_conf.git
synced 2024-10-18 01:00:36 -04:00
Revised README
This commit is contained in:
parent
ee875e3d41
commit
ea967238ef
1 changed files with 4 additions and 2 deletions
|
@ -171,12 +171,12 @@ python3 parse_devices.py -i -m XP-205
|
|||
|
||||
After generating the related printer configuration, *epson_print_conf.py* shall be manually edited to copy/paste the output of *parse_devices.py* within its PRINTER_CONFIG dictionary.
|
||||
|
||||
The `-m` option is mandatory and is used to filter the printer model in scope. If the produced output is not referred to the target model, use part of the model name as a filter (e.g., only the digits, like `parse_devices.py -i -m 315`) and select the appropriate model from the output.
|
||||
The `-m` option is optional and is used to filter the printer model in scope. If the produced output is not referred to the target model, use part of the model name as a filter (e.g., only the digits, like `parse_devices.py -i -m 315`) and select the appropriate model from the output.
|
||||
|
||||
Program usage:
|
||||
|
||||
```
|
||||
python3 parse_devices.py [-h] -m PRINTER_MODEL [-l LINE_LENGTH] [-i] [-d] [-t] [-v] [-f] [-e] [-c CONFIG_FILE]
|
||||
parse_devices.py [-h] [-m PRINTER_MODEL] [-l LINE_LENGTH] [-i] [-d] [-t] [-v] [-f] [-e] [-c CONFIG_FILE]
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
|
@ -192,6 +192,8 @@ optional arguments:
|
|||
-e, --errors Add last_printer_fatal_errors
|
||||
-c CONFIG_FILE, --config CONFIG_FILE
|
||||
use the XML configuration file to generate the configuration
|
||||
|
||||
Generate printer configuration from devices.xml
|
||||
```
|
||||
|
||||
The output is better formatted when also installing [black](https://pypi.org/project/black/).
|
||||
|
|
Loading…
Reference in a new issue