]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libppd: In ppdFilterLoadPPD() let PDF filter log pages when output is PS
authorTill Kamppeter <till.kamppeter@gmail.com>
Sat, 27 Aug 2022 23:04:32 +0000 (01:04 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sat, 27 Aug 2022 23:04:32 +0000 (01:04 +0200)
commit7575c7b528f617fd1d8dadb3883f15d8e43810f3
tree0c15cf496e0f2232839967bacee9ef1a43ec4eb8
parent0d3db9bca01d4b19253a7196fc2cb41f66d17f88
libppd: In ppdFilterLoadPPD() let PDF filter log pages when output is PS

PostScript output is going through the ppdFilterPSToPS() filter to
insert the PostScript code of the option settings into the PostScript
output data stream. The ppdFilterPSToPS() filter only logs pages if
the PPD is a pure PostScript PPD (without "*cupsFilter(2): ..."
lines). If it is not, the PDF filter has to log. This change lets the
PDF filter log the pages in such a case.
ppd/ppd-filter.c