Hello,

I've one application which does run under wine and would like to print
its output to PDF. Attempt to filter output to PDF did not work I've
found out about cups-pdf. After installing it, attempt to print was
generating SELinux alerts which I solved (I belive) by following hints
and issuing:

$ sudo ausearch -c 'cups-pdf' --raw | audit2allow -M my-cupspdf

$ sudo semodule -X 300 -i my-cupspdf.pp

Now, there are no more alerts, but where is the output?

I've the following in my /etc/cups/cups-pdf.conf:

Out ${DESKTOP}

but the output is generated in:

/var/spool/cups

so, I do wonder why the setting from *.conf file above is not honoured?

/var/spool/cups is 710 root:lp

while

/var/sppol/cups-pdf is 755 root:root

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.
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 someone provide some hints what is the best way to achieve
print-to-pdf under wine on Fedora (fc28)?


Sincerely,
Gour

-- 
It is far better to discharge one's prescribed duties, even though
faultily, than another's duties perfectly. Destruction in the course
of performing one's own duty is better than engaging in another's duties,
for to follow another's path is dangerous.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/TSFUMKA7UFYOV2RPLQITANTVFSIBND4N/

Reply via email to