Package: printer-driver-cups-pdf Version: 3.0.1-9 Severity: normal Dear Maintainer, Running lp -dPDF .../nabijaczleweli/POSIX/IEEE\ P1003.2\ Draft\ 11.2−September\ 1991.ps (http://www.oldlinux.org/Linux.old/Ref-docs/POSIX/all.ps) produces a blank one-page PDF in ~/PDF/stdin_nabijaczleweli_PDF.pdf and the following in /var/log/cups/cups-pdf-PDF_log: -- >8 -- Wed Jun 23 01:22:41 2021 [DEBUG] *** Final Configuration *** Wed Jun 23 01:22:41 2021 [DEBUG] AnonDirName = "/var/spool/cups-pdf/ANONYMOUS" Wed Jun 23 01:22:41 2021 [DEBUG] AnonUser = "nobody" Wed Jun 23 01:22:41 2021 [DEBUG] GhostScript = "/usr/bin/gs" Wed Jun 23 01:22:41 2021 [DEBUG] GSCall = "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s" Wed Jun 23 01:22:41 2021 [DEBUG] Grp = "lpadmin" Wed Jun 23 01:22:41 2021 [DEBUG] GSTmp = "TMPDIR=/var/tmp" Wed Jun 23 01:22:41 2021 [DEBUG] Log = "/var/log/cups" Wed Jun 23 01:22:41 2021 [DEBUG] PDFVer = "1.2" Wed Jun 23 01:22:41 2021 [DEBUG] PostProcessing = "" Wed Jun 23 01:22:41 2021 [DEBUG] Out = "${HOME}/PDF" Wed Jun 23 01:22:41 2021 [DEBUG] Spool = "/var/spool/cups-pdf/SPOOL" Wed Jun 23 01:22:41 2021 [DEBUG] UserPrefix = "" Wed Jun 23 01:22:41 2021 [DEBUG] RemovePrefix = "" Wed Jun 23 01:22:41 2021 [DEBUG] OutExtension = "pdf" Wed Jun 23 01:22:41 2021 [DEBUG] Cut = 3 Wed Jun 23 01:22:41 2021 [DEBUG] Truncate = 64 Wed Jun 23 01:22:41 2021 [DEBUG] DirPrefix = 0 Wed Jun 23 01:22:41 2021 [DEBUG] Label = 0 Wed Jun 23 01:22:41 2021 [DEBUG] LogType = 7 Wed Jun 23 01:22:41 2021 [DEBUG] LowerCase = 1 Wed Jun 23 01:22:41 2021 [DEBUG] TitlePref = 0 Wed Jun 23 01:22:41 2021 [DEBUG] DecodeHexStrings = 1 Wed Jun 23 01:22:41 2021 [DEBUG] FixNewlines = 0 Wed Jun 23 01:22:41 2021 [DEBUG] AllowUnsafeOptions = 0 Wed Jun 23 01:22:41 2021 [DEBUG] AnonUMask = 0000 Wed Jun 23 01:22:41 2021 [DEBUG] UserUMask = 0077 Wed Jun 23 01:22:41 2021 [DEBUG] *** End of Configuration *** Wed Jun 23 01:22:41 2021 [DEBUG] set new gid: lpadmin Wed Jun 23 01:22:41 2021 [DEBUG] initialization finished: v3.0.1 Wed Jun 23 01:22:41 2021 [DEBUG] user identified: nabijaczleweli Wed Jun 23 01:22:41 2021 [DEBUG] output directory name generated: /home/nabijaczleweli/PDF Wed Jun 23 01:22:41 2021 [DEBUG] user information prepared Wed Jun 23 01:22:41 2021 [DEBUG] spoolfile name created: /var/spool/cups-pdf/SPOOL/cups2pdf-174140 Wed Jun 23 01:22:41 2021 [DEBUG] source stream ready Wed Jun 23 01:22:41 2021 [DEBUG] destination stream ready: /var/spool/cups-pdf/SPOOL/cups2pdf-174140 Wed Jun 23 01:22:41 2021 [DEBUG] owner set for spoolfile: /var/spool/cups-pdf/SPOOL/cups2pdf-174140 Wed Jun 23 01:22:41 2021 [DEBUG] using traditional fgets Wed Jun 23 01:22:41 2021 [DEBUG] found beginning of postscript code: %!PS-Adobe-3.0 Wed Jun 23 01:22:41 2021 [DEBUG] now extracting postscript code Wed Jun 23 01:22:41 2021 [DEBUG] found title in ps code: stdin nabijaczleweli/PDF Wed Jun 23 01:22:41 2021 [DEBUG] found end of postscript code: %%EOF Wed Jun 23 01:22:41 2021 [DEBUG] all data written to spoolfile: /var/spool/cups-pdf/SPOOL/cups2pdf-174140 Wed Jun 23 01:22:41 2021 [DEBUG] trying to use PS title: stdin nabijaczleweli/PDF Wed Jun 23 01:22:41 2021 [STATUS] ***Experimental Option: DecodeHexStrings Wed Jun 23 01:22:41 2021 [DEBUG] checking for hex strings: stdin nabijaczleweli/PDF Wed Jun 23 01:22:41 2021 [DEBUG] not a hex string, has no start marker: stdin nabijaczleweli/PDF Wed Jun 23 01:22:41 2021 [DEBUG] calling alternate_replace_string Wed Jun 23 01:22:41 2021 [DEBUG] removing alternate special characters from title: stdin nabijaczleweli/PDF Wed Jun 23 01:22:41 2021 [DEBUG] title successfully retrieved: stdin_nabijaczleweli_PDF Wed Jun 23 01:22:41 2021 [DEBUG] input data read from stdin Wed Jun 23 01:22:41 2021 [DEBUG] output filename created: /home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf Wed Jun 23 01:22:41 2021 [DEBUG] ghostscript commandline built: /usr/bin/gs -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f /var/spool/cups-pdf/SPOOL/cups2pdf-174140 Wed Jun 23 01:22:41 2021 [DEBUG] output file unlinked: /home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf Wed Jun 23 01:22:41 2021 [DEBUG] TMPDIR set for GhostScript: /var/tmp Wed Jun 23 01:22:41 2021 [DEBUG] waiting for child to exit Wed Jun 23 01:22:41 2021 [DEBUG] entering child process Wed Jun 23 01:22:41 2021 [DEBUG] GID set for current user Wed Jun 23 01:22:41 2021 [DEBUG] supplementary groups set for current user Wed Jun 23 01:22:41 2021 [DEBUG] UID set for current user: nabijaczleweli Wed Jun 23 01:22:41 2021 [DEBUG] ghostscript has finished: 256 Wed Jun 23 01:22:41 2021 [DEBUG] file mode set for user output: /home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf Wed Jun 23 01:22:41 2021 [DEBUG] no postprocessing Wed Jun 23 01:22:41 2021 [DEBUG] spoolfile unlinked: /var/spool/cups-pdf/SPOOL/cups2pdf-174140 Wed Jun 23 01:22:41 2021 [DEBUG] all memory has been freed Wed Jun 23 01:22:41 2021 [STATUS] PDF creation successfully finished for nabijaczleweli -- >8 -- However, running -- >8 -- nabijaczleweli@babtop:~$ time /usr/bin/gs -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f .../nabijaczleweli/POSIX/IEEE\ P1003.2\ Draft\ 11.2−September\ 1991.ps **** WARNING: The .setpdfwrite operator has been deprecated and will be removed entirely in the next release of Ghostscript. The functionality of this operator has been reduced to increasing the size of the VM threshold. If you believe you have a real need for this then you should replace your call to .setpdfwrite with: 3000000 setvmthreshold real 0m2.176s user 0m2.063s sys 0m0.077s -- >8 -- works, as, indeed, does -- >8 -- nabijaczleweli@babtop:~$ time /usr/bin/gs -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f .../nabijaczleweli/POSIX/IEEE\ P1003.2\ Draft\ 11.2−September\ 1991.ps real 0m2.150s user 0m2.087s sys 0m0.033s -- >8 -- Where "works" is defined as "produces a full POSIX.2 PDF". -- System Information: Debian Release: 11.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages printer-driver-cups-pdf depends on: ii cups 2.3.3op2-3+deb11u1 ii cups-client 2.3.3op2-3+deb11u1 ii ghostscript 9.53.3~dfsg-7 ii libc6 2.31-12 ii libcups2 2.3.3op2-3+deb11u1 ii libpaper-utils 1.1.28+b1 printer-driver-cups-pdf recommends no packages. Versions of packages printer-driver-cups-pdf suggests: pn system-config-printer <none> -- no debconf information
Attachment:
signature.asc
Description: PGP signature