Formatting

This commit is contained in:
root
2018-09-18 14:00:54 -05:00
parent 99404db69c
commit e677f28917

View File

@@ -31,7 +31,7 @@ docker run --name cups -p 631:631 --restart unless-stopped \
## Add and set up printer: ## Add and set up printer:
CUPS will be configurable at http://[diskstation]:631 using the CUPSADMIN/CUPSPASSWORD. CUPS will be configurable at http://[diskstation]:631 using the CUPSADMIN/CUPSPASSWORD.
## Install avahi on local host: ## Install Avahi on local host:
These commands only work on Red Hat/CentOS/Fedora. Ubuntu will be different. These commands only work on Red Hat/CentOS/Fedora. Ubuntu will be different.
``` ```
yum install avahi yum install avahi
@@ -42,5 +42,6 @@ systemctl enable avahi-daemon
## Notes ## Notes
I had to run the [airprint-generate.py](/root/root/airprint-generate.py) script on the local host to get the avahi service file to generate. I had to run the [airprint-generate.py](/root/root/airprint-generate.py) script on the local host to get the avahi service file to generate.
`python airprint-generate.py -H localhost -p 631 -u admin -d <your services dir>` ```
  python airprint-generate.py -H localhost -p 631 -u admin -d <your services dir>
```