It resolves the segmentation fault when printing full page range document, but fails with the same segmentation fault error when I manually specify the page range.
command: lp -o page-ranges=1-2 -o number-up=4 fails_to_print_multiple_pps.pdf
cups_error_log: E [19/Apr/2012:09:49:08 +0200] PID 16943 (/usr/lib/cups/filter/pdftopdf) crashed on signal 11.
I've also tested directly with pdftopdf tool and the output;
command: /usr/lib/cups/filter/pdftopdf 1234 test test 2 "number-up=2 page-ranges=1-2" fails_to_print_multiple_pps.pdf > pdftopdf_output_with_number_up_and_page_ranges.pdf
stdout: Segmentation fault (core dumped)
Hi Till,
thanks for the provided patch!
It resolves the segmentation fault when printing full page range document, but fails with the same segmentation fault error when I manually specify the page range.
command: lp -o page-ranges=1-2 -o number-up=4 fails_to_ print_multiple_ pps.pdf 2012:09: 49:08 +0200] PID 16943 (/usr/lib/ cups/filter/ pdftopdf) crashed on signal 11.
cups_error_log: E [19/Apr/
I've also tested directly with pdftopdf tool and the output;
command: /usr/lib/ cups/filter/ pdftopdf 1234 test test 2 "number-up=2 page-ranges=1-2" fails_to_ print_multiple_ pps.pdf > pdftopdf_ output_ with_number_ up_and_ page_ranges. pdf
stdout: Segmentation fault (core dumped)
I've attached the pdftopdf pdf output below.