Re: problem with cups-pdf and spool directory under wine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/QITLOOH3QR76A2N5TTK2SCUVV52KH6EU/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux