I am using Arch linux and all packages are up to date.
I have the following packages installed
- Arch kernel 6.18.23-1-lts
- cups-filters 2.0.1-2
- libcupsfilters 2.1.1-4
- libppd 2.1.1-2
- cups 2:2.4.18-1
While trying to print one page only, page 280, which is the last page in a large 280 page pdf document, while using this command:
lp -d HP_LaserJet_2200_LOCAL_hpcups \
-o orientation=portrait \
-o media=a4 \
-o sides=two-sided-short-edge \
-n 1 \
-o number-up=2 \
-o page-ranges=280 \
-- '/home/user/Today/doc.pdf'
I get an error in the way the cups filters package works which causes the print queue to delete the print job after 4 seconds, before it reaches the printer.
It seems like something is happening with the ppdFilterPDFToPS class/ object within the software, because it does not output anything as you will see below.
So, after 4 seconds the print job, using the above command, vanishes from the print queue, before it ever reaches the printer.
I gathered some error information using the analysis command "sudo cupsfilter ..." as shown below, but here are some thoughts on my tests first.
-
The above command works as intended if the "-o number-up=2" flag is not used, then page 280 comes out of the printer printing correctly. But when I use the "-o number-up=2" flag the command fails, and the print job dissappears from the print queue after 4 seconds, before it ever reaches the printer, as the "sudo cupsfilter ..." output below shows.
-
When I use the lp print command with the "-o number-up=2" flag and "-o page-ranges=140" or "-o page-ranges" less than 140, the command works, and the printer job does not dissappear from the print queue, and page 140 comes out of the printer printing correctly.
When I use the "-o number-up=2" flag and "-o page-ranges=141" or "-o page-ranges" higher than 141 the print file dissappears from the print queue after 4 seconds and never reaches the printer.
Error analysis command:
sudo cupsfilter -p /etc/cups/ppd/HP_LaserJet_2200_LOCAL_hpcups.ppd \
-m printer/foo \
-o orientation=portrait -o media=a4 -o sides=two-sided-short-edge -o number-up=2 -o page-ranges=280 \
-- '/home/user/Today/doc.pdf' > /dev/null
The output of the above command, shown below, seems to show the problem as a pdf-to-pdf conversion in the new ground up build of cups-filter.
The below output shows, with the below line, that cups filter outputs no file:
"DEBUG: ppdFilterPDFToPS: No pages left, outputting empty file."
which seems to be why the print queue empties after 4 seconds.
Command output:
sudo cupsfilter -p /etc/cups/ppd/HP_LaserJet_2200_LOCAL_hpcups.ppd \
-m printer/foo \
-o orientation=portrait -o media=a4 -o sides=two-sided-short-edge -o number-up=2 -o page-ranges=280 \
-- '/home/user/Today/doc.pdf' > /dev/null
DEBUG: argv[0]="cupsfilter"
DEBUG: argv[1]="1"
DEBUG: argv[2]="root"
DEBUG: argv[3]="doc.pdf"
DEBUG: argv[4]="1"
DEBUG: argv[5]="media=a4 number-up=2 orientation=portrait page-ranges=280 sides=two-sided-short-edge"
DEBUG: argv[6]="/home/user/Today/doc.pdf"
DEBUG: envp[0]="CONTENT_TYPE=application/pdf"
DEBUG: envp[1]="CUPS_DATADIR=/usr/share/cups"
DEBUG: envp[2]=""
DEBUG: envp[3]="CUPS_SERVERBIN=/usr/lib/cups"
DEBUG: envp[4]="CUPS_SERVERROOT=/etc/cups"
DEBUG: envp[5]="LANG=en_GB.UTF8"
DEBUG: envp[6]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
DEBUG: envp[7]="PPD=/etc/cups/ppd/HP_LaserJet_2200_LOCAL_hpcups.ppd"
DEBUG: envp[8]="PRINTER_INFO=cupsfilter"
DEBUG: envp[9]="PRINTER_LOCATION=Unknown"
DEBUG: envp[10]="PRINTER=cupsfilter"
DEBUG: envp[11]="USER=root"
DEBUG: envp[12]="CHARSET=utf-8"
DEBUG: envp[13]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
INFO: universal (PID 382763) started.
DEBUG: ppdFilterLoadPPD: Color profile qualifier determined from job and PPD data 'Gray.Plain.'
DEBUG: ppdFilterLoadPPD: No ICC profiles specified in PPD
DEBUG: ppdFilterLoadPPD: Searching for profile "-/Plain"...
ERROR: ppdFilterLoadPPD: Last filter could not get determined, page logging by the PDF filter turned off.
DEBUG: ppdFilterLoadPPD: Last filter determined by the PPD: None; Final data MIME type: application/vnd.cups-postscript => PDF filter will not log pages in page_log.
DEBUG: ppdFilterUniversal: "*cupsFilter(2): ..." lines in the PPD file:
DEBUG: ppdFilterUniversal: application/vnd.cups-raw application/octet-stream 0 -
DEBUG: ppdFilterUniversal: application/vnd.cups-raster 0 hpcups
DEBUG: ppdFilterUniversal: PPD uses "*cupsFilter: ..." lines, so we always convert to format given by FINAL_CONTENT_TYPE
DEBUG: ppdFilterUniversal: Converting from application/pdf to application/vnd.cups-postscript
INFO: cfFilterChain: Running filter: universal
INFO: cfFilterChain: Running filter: pdftops
INFO: cfFilterChain: universal (PID 382764) started.
DEBUG: cfFilterUniversal: Converting from application/pdf to application/vnd.cups-pdf
DEBUG: cfFilterUniversal: Final output format for job: application/vnd.cups-postscript
DEBUG: cfFilterUniversal: Adding pdftopdf to chain
INFO: cfFilterChain: Running filter: pdftopdf
INFO: cfFilterChain: pdftops (PID 382765) started.
INFO: cfFilterChain: pdftopdf (PID 382766) started.
DEBUG: ppdFilterPDFToPS: Copying input to temp file "/tmp/5d72d69f4cd6f"
DEBUG: cfFilterPDFToPDF: Suppressed page logging selected by options.
DEBUG: cfFilterPDFToPDF: Processing PDF input with QPDF: Page-ranges, page-set, number-up, booklet, size adjustment, ...
DEBUG: cfFilterPDFToPDF: "print-scaling" IPP attribute: auto
DEBUG: cfFilterPDFToPDF: Print scaling mode: Do not scale, center, crop if needed
DEBUG: cfFilterPDFToPDF: After Cropping: 595.000000 842.000000 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: cfFilterPDFToPDF: After Cropping: 594.959961 840.959961 595.275574 841.889771
DEBUG: ppdFilterPDFToPS: No pages left, outputting empty file.
DEBUG: cfFilterChain: pdftops completed with status 0.
INFO: cfFilterChain: pdftops (PID 382765) exited with no errors.
DEBUG: cfFilterChain: pdftopdf completed with status 0.
INFO: cfFilterChain: pdftopdf (PID 382766) exited with no errors.
DEBUG: cfFilterChain: universal completed with status 0.
INFO: cfFilterChain: universal (PID 382764) exited with no errors.
INFO: universal (PID 382763) exited with no errors.
I am using Arch linux and all packages are up to date.
I have the following packages installed
While trying to print one page only, page 280, which is the last page in a large 280 page pdf document, while using this command:
I get an error in the way the cups filters package works which causes the print queue to delete the print job after 4 seconds, before it reaches the printer.
It seems like something is happening with the ppdFilterPDFToPS class/ object within the software, because it does not output anything as you will see below.
So, after 4 seconds the print job, using the above command, vanishes from the print queue, before it ever reaches the printer.
I gathered some error information using the analysis command "sudo cupsfilter ..." as shown below, but here are some thoughts on my tests first.
The above command works as intended if the "-o number-up=2" flag is not used, then page 280 comes out of the printer printing correctly. But when I use the "-o number-up=2" flag the command fails, and the print job dissappears from the print queue after 4 seconds, before it ever reaches the printer, as the "sudo cupsfilter ..." output below shows.
When I use the lp print command with the "-o number-up=2" flag and "-o page-ranges=140" or "-o page-ranges" less than 140, the command works, and the printer job does not dissappear from the print queue, and page 140 comes out of the printer printing correctly.
When I use the "-o number-up=2" flag and "-o page-ranges=141" or "-o page-ranges" higher than 141 the print file dissappears from the print queue after 4 seconds and never reaches the printer.
Error analysis command:
The output of the above command, shown below, seems to show the problem as a pdf-to-pdf conversion in the new ground up build of cups-filter.
The below output shows, with the below line, that cups filter outputs no file:
"DEBUG: ppdFilterPDFToPS: No pages left, outputting empty file."which seems to be why the print queue empties after 4 seconds.
Command output: