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

Metadata

Metadata

Fields

No fields configured for Enhancement.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions