You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+15
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,14 @@ Tested on a network EcoTank with the following command:
24
24
./clogtank.sh EPSON_ET_2870_Series
25
25
```
26
26
27
+
**If for some reason your CUPS will not print the jpeg directly,**
28
+
you can give "pdf" as the second argument:
29
+
```bash
30
+
./clogtank.sh cups_printer_id_here pdf
31
+
```
32
+
33
+
To use this, you will probably have to [allow PDF modifications in ImageMagick's security policy](https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion).
34
+
27
35
## Example of installation
28
36
Run `crontab -e` to edit your Cron jobs.
29
37
Then add the following line:
@@ -36,6 +44,13 @@ This will print a random page every 3 days at 15:00.
36
44
**ImageMagick and Cups might work differently based on the installed version.**
37
45
Go ahead and modify the script parameters for your need, if it doesn't work at first!
38
46
47
+
## Troubleshooting: Print as PDF instead of JPG?
48
+
On my server, the jpeg does not get printed. The printer just wakes up and does nothing.
49
+
Thus, there is the option to print the image as a pdf.
0 commit comments