On Wed, 2018-06-20 at 08:54 +0200, Saša Janiška wrote:
Now, there are no more alerts, but where is the output?
How are you using cups-pdf? Did you configure a PDF printer, or are
you trying to run cups-pdf on the command line?
Can you use it on the command line, but not in Wine? Or can you not
use it anywhere?
If you run 'lpstat -t' do you see a line like:
device for Cups-PDF: cups-pdf:/
I've the following in my /etc/cups/cups-pdf.conf:
Out ${DESKTOP}
but the output is generated in:
/var/spool/cups
It goes here *before* it's finished printing. This is for pre-
processing, and so that the document isn't lost if you reboot before
printing has finished. This is a temporary location.
so, I do wonder why the setting from *.conf file above is not
honoured?
It's not being honoured because for now it's running cups, which uses
cupsd.conf. Cups will then run cups-pdf, and cups-pdf will honour it's
cups-pdf.conf file.
/var/spool/cups is 710 root:lp
while
/var/sppol/cups-pdf is 755 root:root
same here.
Moreover, status for cups service gives:
systemctl status cups
● cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled;
vendor preset: disabled)
Active: active (running) since Wed 2018-06-20 08:36:53 CEST; 11min
ago
Docs: man:cupsd(8)
Main PID: 7571 (cupsd)
Status: "Scheduler is running..."
Tasks: 1 (limit: 4915)
Memory: 2.8M
CGroup: /system.slice/cups.service
└─7571 /usr/sbin/cupsd -l
lip 20 08:36:53
mydomain.dyndns.net systemd[1]: Starting CUPS
Scheduler...
lip 20 08:36:53
mydomain.dyndns.net cupsd[7571]: Filter "pstopdf" not
found.
On earlier Fedoras, cups.rpm created /usr/lib/cups/filter/pstopdf
On my Fedora 28 laptop it works *without* /usr/lib/cups/filter/pstopdf
I've had a look at the filters and ppds, and new cups seems to rely on
/usr/bin/gs (ghostscript), so make sure that is installed.
lip 20 08:36:53
mydomain.dyndns.net systemd[1]: Started CUPS
Scheduler.
so I also wonder if this is OK?
What do I miss?
Can you check /etc/cups/ppd/Cups-PDF.ppd? If you can, please report
the FormatVersion, FileVersion and cupsFilter lines. For me:
*% cupsFilter: "application/vnd.cups-postscript 0 pstitleiconv"