Skip to content

Allow configurable defaults for Printing #12166

Description

@offtherailz

Description

Now the defaults of printing are hardcoded in reducer's print.js. (initialSpec)
These defaults should be improved, by:

  • setting 'A4' as default ( sheet: 'A4', in initialSpec should be enough, there is already some code to find this or use the first in capabilities if not found).

Moreover the plugin should allow to set the defaults on its own, so via configuration is possible to set default things like:

  • sheet
  • resolution
  • outputFormat
  • name
  • description
  • ...

In genral all the things that can be placed in spec, should be configurable as defaults.

These defaults should be selected as well as the user opens the print window, for default viewer and also be customizable in contexts of course

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

Activity

  1. added this to the 2026.01.01 milestone on Mar 26, 2026
  2. added a commit that references this issue on Apr 16, 2026
  3. added a commit that references this issue on Apr 23, 2026
  4. MV88 commented on Apr 23, 2026

    @MV88
    Contributor

    @ElenaGallo testable in DEV

  5. added a commit that references this issue on Apr 24, 2026
  6. self-assigned this
    on Apr 24, 2026
  7. added a commit that references this issue on May 31, 2026
  8. added a commit that references this issue on Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions