New comment by zenny on void-packages repository https://github.com/void-linux/void-packages/issues/30615#issuecomment-863952541 Comment: > > > Hi, do you know how long it's been since your last update? > > > > > > a week earlier. > > > Both ghostscript and cups were updated semi-recently (ghostscript being the most recent one). You could try downgrading either of them to test :) > > > > > > Ok thanks for the pointer. > > @ericonr The issue is not yet resolved. :( > > Both cups-pdf and cups-filters are installed. Physical printers are working alright. > > Fyi, tried with the solutions provided in https://askubuntu.com/questions/601836/cups-pdf-prints-a-blank-page, didn't work either. ;-) > > Just wondering, does it have anything to do with this repo: https://github.com/alexivkin/CUPS-PDF-to-PDF?! The reason I asked it it uses the same ppd files from this repo in void, too. Found a similar issue in https://www.reddit.com/r/voidlinux/comments/nlp4nl/cupspdf_printing_a_blank_page/ which pointed to a patch ( https://github.com/archlinux/svntogit-packages/tree/packages/cups-pdf/trunk) that is associated with ghostscript's deprecated parameter `setpdfwrite`?! > > Any inputs to get out of this issue shall be appreciated. I even tried to build `cups-pdf` from the source with the patch from https://github.com/archlinux/svntogit-packages/raw/packages/cups-pdf/trunk/remove-deprecated-ghostscript-setpdfwrite-operator.diff (pointer from https://www.linuxquestions.org/questions/slackware-14/cups-pdf-printer-prints-a-blank-pdf-after-ghostscript-9-54-0-update-4175694164/ and )https://bugs.archlinux.org/task/70313), even failed with: ``` $ ./xbps-src pkg cups-pdf ... => cups-pdf-3.0.1_1: removing autodeps, please wait... => cups-pdf-3.0.1_1: building for x86_64... [target] cups-devel-2.3.3op2_1: found (https://alpha.de.repo.voidlinux.org/current) [runtime] ghostscript-9.54.0_1: found (https://alpha.de.repo.voidlinux.org/current) => cups-pdf-3.0.1_1: installing target dependencies: cups-devel-2.3.3op2_1 ... => cups-pdf-3.0.1_1: running do-fetch hook: 00-distfiles ... => cups-pdf-3.0.1_1: fetching distfile 'cups-pdf_3.0.1.tar.gz'... cups-pdf_3.0.1.tar.gz: [29KB 13%] 104KB/s ETA: 00m06s cups-pdf_3.0.1.tar.gz: 29KB [avg rate: 756KB/s] => cups-pdf-3.0.1_1: verifying checksum for distfile 'cups-pdf_3.0.1.tar.gz'... OK. => cups-pdf-3.0.1_1: running do-extract hook: 00-distfiles ... => cups-pdf-3.0.1_1: extracting distfile(s), please wait... => cups-pdf-3.0.1_1: running do-patch hook: 00-patches ... => cups-pdf-3.0.1_1: patching: print-to-home.patch. => cups-pdf-3.0.1_1: patching: remove-deprecated-ghostscript-setpdfwrite-operator.diff . The text leading up to this was: -------------------------- |--- cups-pdf-3.0.1/src/cups-pdf.h 2017-02-24 16:31:00.901661190 +0100 |+++ cups-pdf-3.0.1/src/cups-pdf.h.new 2021-04-06 17:05:57.553854742 +0200 -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |--- cups-pdf-3.0.1/extra/cups-pdf.conf 2017-02-24 16:30:18.476524443 +0100 |+++ cups-pdf-3.0.1/extra/cups-pdf.conf.new 2021-04-06 17:06:26.364602843 +0200 -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored => ERROR: cups-pdf-3.0.1_1: do-patch_00-patches: 'patch -sl ${_args} -i ${_patch} 2> / dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:245 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` !!