Add 8-up support to ipptransform - #160
Draft
Mr-Tao wants to merge 1 commit into
Draft
Conversation
Mr-Tao
marked this pull request as draft
August 19, 2026 11:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
number-up=8inipptransformnumber-upvalueMotivation
This is the
libcupscompanion to OpenPrinting/cups#1672. Eight-up printing is particularly useful with ISO A-series paper, where the page aspect ratio makes this imposition geometrically natural. The currentlibcupsfiltersPDF transform already supports an explicit 8-up layout.The new end-to-end test uses
ippeveprinter, submits the existing eight-page PDF fixture withnumber-up=8, verifies that the job retains the attribute and completes successfully, and checks thatipptransformplaces all eight input pages on one output page. No physical printer is required.Testing
./configure --enable-debugmakemake -C tools test— existing suite: 202 tests, 79 passed, 0 failed, 123 skipped; new 8-up suite: 3 passed, 0 failedcase 8temporarily removed: the regression test fails on the former 1-up fallback as expectedRelated UI changes:
Assisted-by: OpenAI Codex:GPT-5 [Codex]