mirror of
https://github.com/anikeen-com/print-cli.git
synced 2026-03-14 14:16:19 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3e1eccfa5 | ||
|
|
7c8086fea3 |
@@ -85,6 +85,7 @@ class ServeCommand extends Command
|
|||||||
$jobs = $response->json();
|
$jobs = $response->json();
|
||||||
|
|
||||||
if (empty($jobs)) {
|
if (empty($jobs)) {
|
||||||
|
sleep(2);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -93,12 +93,11 @@ using a different user, make sure to replace `print-cli` with the correct userna
|
|||||||
|
|
||||||
Next create a configuration file `~/print-cli.yml`, and add the following content:
|
Next create a configuration file `~/print-cli.yml`, and add the following content:
|
||||||
|
|
||||||
> Make sure to replace the `license_key`, `your-printer-uuid`, `address`, `username`, and `password` with your own
|
> Make sure to replace the `your-printer-uuid`, `address`, `username`, and `password` with your own
|
||||||
> values. Also make sure to replace the `base_url` with the correct URL to our events platform.
|
> values. Also make sure to replace the `base_url` with the correct URL to our events platform.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
base_url: 'https://events.anikeen.com'
|
base_url: 'https://events.anikeen.com'
|
||||||
license_key: 'your-license-key'
|
|
||||||
printers:
|
printers:
|
||||||
- id: 'your-printer-uuid'
|
- id: 'your-printer-uuid'
|
||||||
name: EPSON ET 2750
|
name: EPSON ET 2750
|
||||||
|
|||||||
Reference in New Issue
Block a user