WebZLP
WebZLP copied to clipboard
Add network config handling
This isn't quite ready.
While it will correctly show configs, it turns out setting the network config.. doesn't work! It seems the ZPL commands to set network parameters just aren't supported or something, so I probably will remove that from here.
Coverage Report
| Status | Category | Percentage | Covered / Total |
|---|---|---|---|
| 🔵 | Lines | 61.5% | 2989 / 4860 |
| 🔵 | Statements | 61.5% | 2989 / 4860 |
| 🔵 | Functions | 49.37% | 198 / 401 |
| 🔵 | Branches | 75.73% | 543 / 717 |
File Coverage
| File | Stmts | Branches | Functions | Lines | Uncovered Lines |
|---|---|---|---|---|---|
| Changed Files | |||||
| src/Languages/Zpl/CmdHostConfig.ts | 96.64% | 93.65% | 83.33% | 96.64% | 65-66, 69-71, 76-77, 241-243 |
| src/Languages/Zpl/CmdNetworkSettings.ts | 40% | 50% | 33.33% | 40% | 16-39, 47-54 |
| src/Languages/Zpl/Config.ts | 1.69% | 0% | 0% | 1.69% | 67-201 |
| src/Languages/Zpl/ZplPrinterCommandSet.ts | 94.01% | 100% | 35.48% | 94.01% | 74-78, 132-134, 201-202 |
| src/Languages/Zpl/index.ts | 100% | 100% | 100% | 100% | |