mirror of
https://github.com/nikdoof/cups-avahi-airprint.git
synced 2025-12-11 22:52:21 +00:00
Removed manual script step
This commit is contained in:
11
README.md
11
README.md
@@ -28,9 +28,6 @@ docker run --name cups -p 631:631 --restart unless-stopped \
|
|||||||
chuckcharlie/cups-airprint-brother:latest
|
chuckcharlie/cups-airprint-brother:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Add and set up printer:
|
|
||||||
CUPS will be configurable at http://[host ip]:631 using the CUPSADMIN/CUPSPASSWORD.
|
|
||||||
|
|
||||||
## Install Avahi on local host:
|
## Install Avahi on local host:
|
||||||
These commands only work on RedHat/CentOS/Fedora. Ubuntu will be different.
|
These commands only work on RedHat/CentOS/Fedora. Ubuntu will be different.
|
||||||
```
|
```
|
||||||
@@ -40,8 +37,6 @@ systemctl enable avahi-daemon
|
|||||||
```
|
```
|
||||||
***This was the only way I was able to get /var/run/dbus to respond correctly in the container.***
|
***This was the only way I was able to get /var/run/dbus to respond correctly in the container.***
|
||||||
|
|
||||||
## Notes
|
## Add and set up printer:
|
||||||
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.
|
CUPS will be configurable at http://[host ip]:631 using the CUPSADMIN/CUPSPASSWORD.
|
||||||
```
|
|
||||||
python airprint-generate.py -H localhost -p 631 -u admin -d <your services dir>
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user