No, foomatic-rip launches Ghostscript to convert PDF or PostScript into
the printer's native language using the built-in drivers of Ghostscript.
Formerly when the print data was always sent in PostScript format one
made use of the fact that PostScript is a full programming language and
so one could hook the code for counting the pages into the call for
termination of a page.

As there are some PPDs using foomatic-rip but in a way that it does not
call Ghostscript and now the print data is also supplied in PDF and not
in PostScript any more, the mentioned mechanism for counting pages does
not work any more. Therefore we pass the job of counting pages over to
pdftopdf as pdftopdf treats each page individually with QPDF and so it
is able to count the pages easily.

There was never a call of Ghostscript solely for counting the pages.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups-filters in Ubuntu.
https://bugs.launchpad.net/bugs/1585380

Title:
  foomatic-rip doesn't generate PAGE messages for page_log

Status in cups-filters package in Ubuntu:
  Fix Committed

Bug description:
  When a job is being processed by foomatic, foomatic is supposed to
  produce PAGE messages to CUPS to indicate how many pages were printed.
  [1] Otherwise CUPS doesn't write a message to the page_log with the
  page job accounting, as explained by Mike Sweet: [2] [3]

  Please make foomatic-rip do that so that pages were accounted properly
  in the logs.

  1. https://www.cups.org/documentation.php/doc-2.1/man-filter.html
  2. http://www.cups.org/pipermail/cups/2009-April/018592.html
  3. https://github.com/apple/cups/issues/4798#issuecomment-221369859

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1585380/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to