Prints blank pdf files. Caused by ghostscript using depreciated setpdfwrite operator. It's been solved by other talented people elsewhere - See https://github.com/archlinux/svntogit-packages/blob/packages/cups-pdf/trunk/remove-deprecated-ghostscript-setpdfwrite-operator.diff Until patched, edit GSCall in /usr/local/etc/cups/cups-pdf.conf so that the "-c .setpdfwrite" argument is only "-c"
How do you trigger the issue?
By printing to PDF using a Virtual PDF Printer. If relevant, I had these variants of ghostscript installed, - ghostscript9-agpl-base - ghostscript9-agpl-x11 As soon as I changed cups-pdf.conf as per my first comment, it resolved.
Do you know if it's a problem with all versions of ghostscript or limited to ghostscript9?
(In reply to Mikael Urankar from comment #3) n/m, this port requires gh9
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ca92b55c1bfa84fd8a2d2b52767a4979d6f17e5 commit 1ca92b55c1bfa84fd8a2d2b52767a4979d6f17e5 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2022-04-01 12:46:43 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-04-01 12:59:06 +0000 print/cups-pdf: Remove deprecated ghostscript setpdfwrite operator cups-pdf prints a blank patch without this patch. PR: 262757 Reported by: freebsd-bugs@micallef.io Obtained from: archlinux (https://bugs.archlinux.org/task/70313) print/cups-pdf/Makefile | 2 +- ...precated-ghostscript-setpdfwrite-operator (new) | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-)
Thanks!