Update README.md
This commit is contained in:
parent
70206916e4
commit
1e93735a4e
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -57,7 +57,7 @@ Create the file `/home/$USER/.config/net.attah/seaprint/overrides`. (NB: New loc
|
||||||
This file should contain a JSON structure, with the outermost key(s) being "what attribute to match on" (uuid recommended if available), the next level is "if this value matches". Everything beneath that is what to inject/replace into the printer's attributes (see debug info above).
|
This file should contain a JSON structure, with the outermost key(s) being "what attribute to match on" (uuid recommended if available), the next level is "if this value matches". Everything beneath that is what to inject/replace into the printer's attributes (see debug info above).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```JSON
|
||||||
{
|
{
|
||||||
"printer-uuid": {
|
"printer-uuid": {
|
||||||
"urn:uuid:xxx-yyy-zzz-111-1234567890": {
|
"urn:uuid:xxx-yyy-zzz-111-1234567890": {
|
||||||
|
@ -70,12 +70,18 @@ Example:
|
||||||
"value": [
|
"value": [
|
||||||
"application/octet-stream", "application/pdf"
|
"application/octet-stream", "application/pdf"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
"some-other-attribute-name": {
|
"some-other-attribute-name": {
|
||||||
"tag": <some tag number>,
|
"tag": 42,
|
||||||
"value": <some value>
|
"value": "some-value"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"urn:uuid:other-printer-uuid": {
|
||||||
|
...
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"other-attribute-to-match-other-printer-on": {
|
||||||
|
...
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue