Skip to content

Allow for custom page sizes on image prints#1419

Open
akberenz wants to merge 1 commit intomasterfrom
custom-paper
Open

Allow for custom page sizes on image prints#1419
akberenz wants to merge 1 commit intomasterfrom
custom-paper

Conversation

@akberenz
Copy link
Member

@akberenz akberenz commented Feb 18, 2026

Address the issue with custom sizing for images on larger paper sizes not included in the printer driver brought up in #1413.
This is an alternative to #1410 and moves the custom sizing option to the config level instead of in the data.options level.

Adds the custom boolean flag under config.size to allow bypassing the job.validatePage check on image prints, potentially allowing for printing on ages larger than specified in the driver.

Closes #1413
Supersedes #1410

@tresf
Copy link
Contributor

tresf commented Feb 18, 2026

@antoineveldhoven can you test this PR?

var config = qz.configs.create("printer name", { size: { custom: true, width: nnn, height: nnn });
//                                                       ^--- HERE

@tresf
Copy link
Contributor

tresf commented Mar 10, 2026

@antoineveldhoven Still hoping this makes the upcoming 2.2.6 release, any luck testing on your end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to set custom page size for printing images.

2 participants