Ich nutze selten aber doch cups-pdf zur Erzeugung von PDFs per Druckerbefehl. Gestern war es wieder einmal soweit, und ich bekam zwar die Rückmeldung, dass der Druck erfolgreich war, fand aber kein pdf im Zielordner.
Bei der Recherche stieß ich auf einige Meldungen, die meiner glichen.
Code: Alles auswählen
Wed May 4 09:51:36 2016 [DEBUG] removing trailing newlines from title (((stdin)))
Wed May 4 09:51:36 2016 [STATUS] ***Experimental Option: DecodeHexStrings
Wed May 4 09:51:36 2016 [DEBUG] checking for hex strings (((stdin)))
Wed May 4 09:51:36 2016 [DEBUG] not a hex string, has no start marker (((stdin)))
Wed May 4 09:51:36 2016 [DEBUG] removing enclosing parentheses () from full title (((stdin)))
Wed May 4 09:51:36 2016 [DEBUG] calling alternate_replace_string
Wed May 4 09:51:36 2016 [DEBUG] removing alternate special characters from title ((stdin))
Wed May 4 09:51:36 2016 [DEBUG] title successfully retrieved (_stdin_-job_352)
Wed May 4 09:51:36 2016 [DEBUG] input data read from stdin
Wed May 4 09:51:36 2016 [DEBUG] output filename created (/home/jakob/PDF/_stdin_-job_352.pdf)
Wed May 4 09:51:36 2016 [DEBUG] ghostscript commandline built (/usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/jakob/PDF/_stdin_-job_352.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f /var/spool/cups-pdf/SPOOL/cups2pdf-15601)
Wed May 4 09:51:36 2016 [DEBUG] output file unlinked (/home/jakob/PDF/_stdin_-job_352.pdf)
Wed May 4 09:51:36 2016 [DEBUG] TMPDIR set for GhostScript (/var/tmp)
Wed May 4 09:51:36 2016 [DEBUG] waiting for child to exit
Wed May 4 09:51:36 2016 [DEBUG] entering child process
Wed May 4 09:51:36 2016 [DEBUG] GID set for current user
Wed May 4 09:51:36 2016 [DEBUG] supplementary groups set for current user
Wed May 4 09:51:36 2016 [DEBUG] UID set for current user (jakob)
Wed May 4 09:51:36 2016 [DEBUG] ghostscript has finished (256)
Wed May 4 09:51:36 2016 [ERROR] failed to set file mode for PDF file (non fatal) (/home/jakob/PDF/_stdin_-job_352.pdf)
Wed May 4 09:51:36 2016 [DEBUG] ERRNO: 2
Wed May 4 09:51:36 2016 [DEBUG] no postprocessing
Wed May 4 09:51:36 2016 [DEBUG] spoolfile unlinked (/var/spool/cups-pdf/SPOOL/cups2pdf-15601)
Wed May 4 09:51:36 2016 [DEBUG] all memory has been freed
Wed May 4 09:51:36 2016 [STATUS] PDF creation successfully finished (jakob)
Das obere Log hab ich bekommen, indem ich den Logtype auf 7 in cups-pdf.conf gesetzt habe. Ansonsten werden nur die Zei´len mit "[STATUS]" ausgegeben.
Spannend finde ich die Zeile
Code: Alles auswählen
Wed May 4 09:51:36 2016 [DEBUG] output file unlinked (/home/jakob/PDF/_stdin_-job_352.pdf)
Ich habe unter vielen anderen Seiten auch diese hier gefunden: http://unix.stackexchange.com/questions ... ile-mode-p
Ist das ein neuer Bug?
Code: Alles auswählen
# dpkg -l|grep cups
ii cups 2.1.3-5 amd64 Common UNIX Printing System(tm) - PPD/driver support, web interface
ii cups-browsed 1.8.3-2+b1 amd64 OpenPrinting CUPS Filters - cups-browsed
ii cups-bsd 2.1.3-5 amd64 Common UNIX Printing System(tm) - BSD commands
ii cups-client 2.1.3-5 amd64 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 2.1.3-5 all Common UNIX Printing System(tm) - common files
ii cups-core-drivers 2.1.3-5 amd64 Common UNIX Printing System(tm) - PPD-less printing
ii cups-daemon 2.1.3-5 amd64 Common UNIX Printing System(tm) - daemon
ii cups-filters 1.8.3-2+b1 amd64 OpenPrinting CUPS Filters - Main Package
ii cups-filters-core-drivers 1.8.3-2+b1 amd64 OpenPrinting CUPS Filters - PPD-less printing
ii cups-pdf 2.6.1-21 amd64 PDF writer backend for CUPS (dummy transitional package)
ii cups-pk-helper 0.2.5-2+b1 amd64 PolicyKit helper to configure cups with fine-grained privileges
ii cups-ppdc 2.1.3-5 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cups-server-common 2.1.3-5 all Common UNIX Printing System(tm) - server common files
ii libcups2:amd64 2.1.3-5 amd64 Common UNIX Printing System(tm) - Core library
ii libcupscgi1:amd64 2.1.3-5 amd64 Common UNIX Printing System(tm) - CGI library
ii libcupsfilters1:amd64 1.8.3-2+b1 amd64 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2:amd64 2.1.3-5 amd64 Common UNIX Printing System(tm) - Raster image library
ii libcupsmime1:amd64 2.1.3-5 amd64 Common UNIX Printing System(tm) - MIME library
ii libcupsppdc1:amd64 2.1.3-5 amd64 Common UNIX Printing System(tm) - PPD manipulation library
ii printer-driver-cups-pdf 2.6.1-21 amd64 printer driver for PDF writing via CUPS
ii printer-driver-hpcups 3.16.3+repack0-1 amd64 HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii python3-cups 1.9.73-1 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.7-1 all Python utility modules around the CUPS printing system
lg scientific