cups: added client setup

master
TiynGER 4 years ago
parent 7ae34ce347
commit 199701c9fa

@ -29,7 +29,7 @@ The default username is `print`, the default password is `print`.
#### Rebuild #### Rebuild
``` ```shell
#!/bin/sh #!/bin/sh
docker stop cups docker stop cups
docker rm cups docker rm cups
@ -42,3 +42,11 @@ docker run --name cups \
-v cups:/etc/cups/ \ -v cups:/etc/cups/ \
-d olbat/cupsd:latest -d olbat/cupsd:latest
``` ```
## Client Setup
- Install the cups-client package (in Arch Linux it is included in `cups`)
- Edit `/etc/cups/client.conf` and insert `ServerName <ip to print-server>:631`
- Restart the cups service: `systemctl restart cups`
- Test connectivity: `lpstat -r`
- Check the detected printers with: `lpstat -v`

Loading…
Cancel
Save