mirror of
https://codeberg.org/angestoepselt/imagestack.git
synced 2026-03-21 22:32:17 +00:00
26 lines
692 B
Markdown
26 lines
692 B
Markdown
# Batch Print
|
|
|
|
This Script will register a batch of devices in Snipe IT and print the label.
|
|
|
|
It requires a JSON file in the following format to register the data:
|
|
|
|
```
|
|
{
|
|
"status_id": "2",
|
|
"name": "HP-Tablet",
|
|
"model_id": "2",
|
|
"serial": "Null",
|
|
"_snipeit_mac_address_1": "Null",
|
|
"_snipeit_betriebssystem_2": "Windows 11",
|
|
"_snipeit_festplatte_4": "128",
|
|
"_snipeit_prozessor_5": "Intel Pentium 4410 1.5ghz",
|
|
"_snipeit_arbeitsspeicher_6": "4",
|
|
"_snipeit_optisches_laufwerk_7": "nein",
|
|
"_snipeit_display_8": "",
|
|
"_snipeit_akku_9": "",
|
|
"_snipeit_anydeskid_10": ""
|
|
}
|
|
```
|
|
Usage:
|
|
|
|
`python print.py -j {path to json file} -i {amount of devices that should be registered}`
|