Repository navigation
Simplify IPP geometry and batch finishing - #47
Merged
Merged
Conversation
Use four standard IPP finishing presets with constant-size batch state and preserve healthy tape continuation without wasted leaders. Honor explicit media geometry, reject incomplete input and unsafe output, and publish truthful device and format capabilities. Apply bounded pinned PAPPL/CUPS corrections, run core/adapter/capture and runtime checks before publication, and retain the completed hardware acceptance and independent review evidence. Sync specifications and archive simplify-print-server.
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.
Multi-label raster jobs could fail after the first label, while PNG jobs could replace explicitly selected lengths or clip content. Preserve submitted geometry, reject incomplete or oversized input visibly, and simplify cutting to four batch presets with constant-size state: chain-only, chain-and-final, none, and final-only. Healthy batches continue without discarded leaders; ambiguous output requires explicit recovery without replay.
Keep normal CUPS/IPP formats and finishings, move run state into the queue, make USB/model selection deterministic, and use stderr logging. Bounded pinned PAPPL/CUPS corrections cover the demonstrated raster and finishing boundary defects. CI runs the complete build/tests and socket smoke before publication.
Validation:
CUPS 2.4 PPD custom margins remain conservative across tape widths. Explicit margins are preserved and oversized designs rejected rather than resized. Existing queues with cached none defaults require a normal queue-default update to adopt trim. The printer service was restored after testing; this PR does not perform printer-host deployment.