mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-15 23:00:15 -07:00
more formatting
This commit is contained in:
parent
1b9f8cef90
commit
b01ab117ae
11
README.md
11
README.md
@ -81,31 +81,26 @@ On Arch Linux based distros you may install `bluez` first, as it may not be inst
|
||||
```bash
|
||||
sudo pacman -S bluez bluez-utils
|
||||
```
|
||||
|
||||
|
||||
<details>
|
||||
<summary>Further steps</summary>
|
||||
|
||||
|
||||
You may want to use the command line interface for hackiness...
|
||||
You may want to use the command line interface for hackiness...
|
||||
|
||||
You may or may not need to install ImageMagick and Ghostscript, depending on your distro.
|
||||
|
||||
```bash
|
||||
sudo apt install imagemagick ghostscript
|
||||
```
|
||||
or use your distro's package manager.
|
||||
or use your distro's package manager.
|
||||
|
||||
|
||||
Extra configuration is required for ImageMagick to work. Because IM is made for external webserver, a strict security policy is applied. You need to add the following line to `/etc/ImageMagick-6/policy.xml` before `</policymap>`:
|
||||
```xml
|
||||
<policy domain="coder" rights="read | write" pattern="PDM" />
|
||||
```
|
||||
|
||||
|
||||
Because this script is only accesible by localhost, or at most your local network, this is safe.
|
||||
</details>
|
||||
|
||||
|
||||
|
||||
*Packaging is also on the way!*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user