Bug#926576: ghostscript: printer stopped working: ghostscript fails with ""Unable to determine number of pages"

2019-04-07 Thread Till Kamppeter
I have released cups-filters 1.22.5 upstream now with the fix. Till

Bug#926576: ghostscript: printer stopped working: ghostscript fails with ""Unable to determine number of pages"

2019-04-07 Thread Till Kamppeter
Thanks for reporting this. I have fixed the problem now by changing the Ghostscript call to count pages in a PDF file. See https://github.com/OpenPrinting/cups-filters/commit/297cc2d I found this solution with the help of a bug report to Arch Linux: https://bugs.archlinux.org/task/62251

Bug#926576: ghostscript: printer stopped working: ghostscript fails with ""Unable to determine number of pages"

2019-04-07 Thread Leonardo Canducci
c Il giorno dom 7 apr 2019 alle ore 11:56 Till Kamppeter < till.kamppe...@gmail.com> ha scritto: > Does > > gs -o - -dNODISPLAY > > using Ghostscript 9.27, with being a PDF file which you do > not succeed to print due to this problem, give you a list of "Page XX" > lines for each page in the

Bug#926576: ghostscript: printer stopped working: ghostscript fails with ""Unable to determine number of pages"

2019-04-07 Thread Till Kamppeter
Does gs -o - -dNODISPLAY using Ghostscript 9.27, with being a PDF file which you do not succeed to print due to this problem, give you a list of "Page XX" lines for each page in the PDF file (plus some other irrelevant lines)? Can you post the output of the command here? Till

Bug#926576: ghostscript: printer stopped working: ghostscript fails with ""Unable to determine number of pages"

2019-04-07 Thread Leonardo Canducci
Package: ghostscript Version: 9.27 Severity: important Since ghostscript was upgraded to version 9.27 my printer stopped working. Cups logs follows: D [07/Apr/2019:11:30:05 +0200] [Job 1374] GPL Ghostscript 9.27: Unrecoverable error, exit code 1 D [07/Apr/2019:11:30:05 +0200] [Job 1374] Process