I just explicitly updated cups-pdf cups ghostscript on sid and lp -dPDF all.ps still produced an empty file (attached).
CUPS config attached, log below. $ dpkg -l | grep -e cups -e pdf -e ghost ii cups 2.4.10-2+b1 amd64 Common UNIX Printing System(tm) - PPD/driver support, web interface ii cups-client 2.4.10-2+b1 amd64 Common UNIX Printing System(tm) - client programs (SysV) ii cups-common 2.4.10-2 all Common UNIX Printing System(tm) - common files ii cups-core-drivers 2.4.10-2+b1 amd64 Common UNIX Printing System(tm) - driverless printing ii cups-daemon 2.4.10-2+b1 amd64 Common UNIX Printing System(tm) - daemon ii cups-filters 1.28.17-4.1 amd64 OpenPrinting CUPS Filters - Main Package ii cups-filters-core-drivers 1.28.17-4.1 amd64 OpenPrinting CUPS Filters - Driverless printing ii cups-ipp-utils 2.4.10-2+b1 amd64 Common UNIX Printing System(tm) - IPP developer/admin utilities ii cups-ppdc 2.4.10-2+b1 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities ii cups-server-common 2.4.10-2 all Common UNIX Printing System(tm) - server common files ii ghostscript 10.04.0~dfsg-2+b1 amd64 interpreter for the PostScript language and for PDF ii libcups2t64:amd64 2.4.10-2+b1 amd64 Common UNIX Printing System(tm) - Core library ii libcupsfilters1t64:amd64 1.28.17-4.1 amd64 OpenPrinting CUPS Filters - Shared library ii libqpdf29t64:amd64 11.9.1-1 amd64 runtime library for PDF transformation/inspection software ii printer-driver-cups-pdf 3.0.1-19 amd64 printer driver for PDF writing via CUPS
Sat Mar 8 16:51:20 2025 [DEBUG] *** Final Configuration ***
Sat Mar 8 16:51:20 2025 [DEBUG] AnonDirName =
"/var/spool/cups-pdf/ANONYMOUS"
Sat Mar 8 16:51:20 2025 [DEBUG] AnonUser = "nobody"
Sat Mar 8 16:51:20 2025 [DEBUG] GhostScript = "/usr/bin/gs"
Sat Mar 8 16:51:20 2025 [DEBUG] GSCall = "%s -q
-dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite
-sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false
-dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s"
Sat Mar 8 16:51:20 2025 [DEBUG] Grp = "lpadmin"
Sat Mar 8 16:51:20 2025 [DEBUG] GSTmp = "TMPDIR=/var/tmp"
Sat Mar 8 16:51:20 2025 [DEBUG] Log = "/var/log/cups"
Sat Mar 8 16:51:20 2025 [DEBUG] PDFVer = "1.2"
Sat Mar 8 16:51:20 2025 [DEBUG] PostProcessing = ""
Sat Mar 8 16:51:20 2025 [DEBUG] Out = "${HOME}/PDF"
Sat Mar 8 16:51:20 2025 [DEBUG] Spool =
"/var/spool/cups-pdf/SPOOL"
Sat Mar 8 16:51:20 2025 [DEBUG] UserPrefix = ""
Sat Mar 8 16:51:20 2025 [DEBUG] RemovePrefix = ""
Sat Mar 8 16:51:20 2025 [DEBUG] OutExtension = "pdf"
Sat Mar 8 16:51:20 2025 [DEBUG] Cut = 3
Sat Mar 8 16:51:20 2025 [DEBUG] Truncate = 64
Sat Mar 8 16:51:20 2025 [DEBUG] DirPrefix = 0
Sat Mar 8 16:51:20 2025 [DEBUG] Label = 1
Sat Mar 8 16:51:20 2025 [DEBUG] LogType = 7
Sat Mar 8 16:51:20 2025 [DEBUG] LowerCase = 1
Sat Mar 8 16:51:20 2025 [DEBUG] TitlePref = 0
Sat Mar 8 16:51:20 2025 [DEBUG] DecodeHexStrings = 1
Sat Mar 8 16:51:20 2025 [DEBUG] FixNewlines = 0
Sat Mar 8 16:51:20 2025 [DEBUG] AllowUnsafeOptions = 0
Sat Mar 8 16:51:20 2025 [DEBUG] AnonUMask = 0000
Sat Mar 8 16:51:20 2025 [DEBUG] UserUMask = 0077
Sat Mar 8 16:51:20 2025 [DEBUG] *** End of Configuration ***
Sat Mar 8 16:51:20 2025 [DEBUG] set new gid: lpadmin
Sat Mar 8 16:51:20 2025 [STATUS] directory created: /var/spool/cups-pdf/SPOOL
Sat Mar 8 16:51:20 2025 [STATUS] spool directory created:
/var/spool/cups-pdf/SPOOL
Sat Mar 8 16:51:20 2025 [DEBUG] initialization finished: v3.0.1
Sat Mar 8 16:51:20 2025 [DEBUG] user identified: nabijaczleweli
Sat Mar 8 16:51:20 2025 [DEBUG] output directory name generated:
/home/nabijaczleweli/PDF
Sat Mar 8 16:51:20 2025 [DEBUG] user information prepared
Sat Mar 8 16:51:20 2025 [DEBUG] spoolfile name created:
/var/spool/cups-pdf/SPOOL/cups2pdf-3056
Sat Mar 8 16:51:20 2025 [DEBUG] source stream ready
Sat Mar 8 16:51:20 2025 [DEBUG] destination stream ready:
/var/spool/cups-pdf/SPOOL/cups2pdf-3056
Sat Mar 8 16:51:20 2025 [DEBUG] owner set for spoolfile:
/var/spool/cups-pdf/SPOOL/cups2pdf-3056
Sat Mar 8 16:51:20 2025 [DEBUG] using traditional fgets
Sat Mar 8 16:51:20 2025 [DEBUG] found beginning of postscript code:
%!PS-Adobe-3.0
Sat Mar 8 16:51:20 2025 [DEBUG] now extracting postscript code
Sat Mar 8 16:51:20 2025 [DEBUG] found title in ps code: stdin
nabijaczleweli/PDF
Sat Mar 8 16:51:20 2025 [DEBUG] found end of postscript code: %%EOF
Sat Mar 8 16:51:20 2025 [DEBUG] all data written to spoolfile:
/var/spool/cups-pdf/SPOOL/cups2pdf-3056
Sat Mar 8 16:51:20 2025 [DEBUG] trying to use PS title: stdin
nabijaczleweli/PDF
Sat Mar 8 16:51:20 2025 [STATUS] ***Experimental Option: DecodeHexStrings
Sat Mar 8 16:51:20 2025 [DEBUG] checking for hex strings: stdin
nabijaczleweli/PDF
Sat Mar 8 16:51:20 2025 [DEBUG] not a hex string, has no start marker: stdin
nabijaczleweli/PDF
Sat Mar 8 16:51:20 2025 [DEBUG] calling alternate_replace_string
Sat Mar 8 16:51:20 2025 [DEBUG] removing alternate special characters from
title: stdin
nabijaczleweli/PDF
Sat Mar 8 16:51:20 2025 [DEBUG] title successfully retrieved:
job_77-stdin_nabijaczleweli_PDF
Sat Mar 8 16:51:20 2025 [DEBUG] input data read from stdin
Sat Mar 8 16:51:20 2025 [DEBUG] output filename created:
/home/nabijaczleweli/PDF/job_77-stdin_nabijaczleweli_PDF.pdf
Sat Mar 8 16:51:20 2025 [DEBUG] ghostscript commandline built: /usr/bin/gs -q
-dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite
-sOutputFile="/home/nabijaczleweli/PDF/job_77-stdin_nabijaczleweli_PDF.pdf"
-dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false
-dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f
/var/spool/cups-pdf/SPOOL/cups2pdf-3056
Sat Mar 8 16:51:20 2025 [DEBUG] output file unlinked:
/home/nabijaczleweli/PDF/job_77-stdin_nabijaczleweli_PDF.pdf
Sat Mar 8 16:51:20 2025 [DEBUG] TMPDIR set for GhostScript: /var/tmp
Sat Mar 8 16:51:20 2025 [DEBUG] waiting for child to exit
Sat Mar 8 16:51:20 2025 [DEBUG] entering child process
Sat Mar 8 16:51:20 2025 [DEBUG] GID set for current user
Sat Mar 8 16:51:20 2025 [DEBUG] supplementary groups set for current user
Sat Mar 8 16:51:20 2025 [DEBUG] UID set for current user: nabijaczleweli
Sat Mar 8 16:51:20 2025 [DEBUG] ghostscript has finished: 256
Sat Mar 8 16:51:20 2025 [DEBUG] file mode set for user output:
/home/nabijaczleweli/PDF/job_77-stdin_nabijaczleweli_PDF.pdf
Sat Mar 8 16:51:20 2025 [DEBUG] no postprocessing
Sat Mar 8 16:51:20 2025 [DEBUG] spoolfile unlinked:
/var/spool/cups-pdf/SPOOL/cups2pdf-3056
Sat Mar 8 16:51:20 2025 [DEBUG] all memory has been freed
Sat Mar 8 16:51:20 2025 [STATUS] PDF creation successfully finished for
nabijaczleweli
job_77-stdin_nabijaczleweli_PDF.pdf
Description: Adobe PDF document
cups.tar.zst
Description: application/zstd
signature.asc
Description: PGP signature
