Login
You're viewing the techdon.dev public feed.
  • Sep 3, 2026, 9:41 PM

    @AdrianVovk Yes, this would work. The bannertopdf filter also works that way. It is a a program generating a banner page, and also the current test page. It is, as you say triggered by a special MIME type, but the input file does not only contain the magic string to get identified as this MIME type, but also some parameters.

    We can modify bannertopdf to make a better test page, or even add a "testpage" filter dedicated for that purpose. And as each filter has access to the ...

    #OpenPrinting

    💬 1🔄 0⭐ 0

Replies

  • Sep 3, 2026, 9:46 PM

    @AdrianVovk

    ... printer's capabilities via the PPD file, these properties can be included in the test page, as we see in the original one.

    Also, the filter can, as you say, generate arbitrary graphics and output them as PDF. No problem. A library like PDFio could help for the generation of the complex PDF file format, see the other filters in the current libcupsfilters.

    Each desktop environment or distro could provide their own test page "filter" for branding.

    #OpenPrinting

    💬 0🔄 0⭐ 0