Skip to content

Commit bd881a3

Browse files
committed
Update readme
1 parent 3e1c6da commit bd881a3

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,23 @@ This service allows you to discover Zebra printers and send/print ZPL templates
1212
- [PrintZPL-linux-x64](https://github.com/Tim-Maes/PrintZPL/actions/runs/7247084396/artifacts/1121113116) for Linux
1313
- [PrintZPL-osx-x65](https://github.com/Tim-Maes/PrintZPL/actions/runs/7247084396/artifacts/1121113117) for MaxOS
1414

15+
- ### Running as a Service
16+
17+
1. Create the service:
18+
19+
```powershell
20+
sc create MyServiceName ^
21+
binPath= "C:\Full\Path\To\PrintZpl.exe" ^
22+
DisplayName= "PrintZpl" ^
23+
start= auto
24+
```
25+
26+
2. Start the service
27+
28+
```powershell
29+
sc start PrintZpl
30+
```
31+
1532
## The API
1633

1734
### Discovering printers

0 commit comments

Comments
 (0)