Native NSPrintPanel bound to selected queue #13
Closed
opened 2026-09-08 17:40:55 +01:00 by gronod
·
1 comment
No Branch/Tag Specified
main
docs/27-roadmap-candidates
develop
milestone/m13-print-ticket
feat/218-paper-source
feat/217-panel-ticket-restore
bugfix/211-print-output-flip
milestone/m12-native-spool
feat/202-airprint-detection
feat/201-native-print-operation
feat/201-raster-canvas
feat/201-ticket-capture
feat/201-pm-ticket-bridge
chore/m11-sync-develop
milestone/m11-print-settings
chore/m11-docs-hygiene
feat/186-panel-binding
feat/181-canon-media-locale
feat/180-epson-qual-options
feat/183-stage2-print-settings
chore/m11-tracking
docs/ui-interactive-map
v2.0.4-prerelease-docs27
v2.0.4
v2.0.3
v2.0.3-prerelease
v2.0.2
v2.0.1
v2.0.0
Labels
Clear labels
Bug/Architecture
Bug/Backend
Bug/DevOps
Bug/UI
Compat/Breaking
Feature/Architecture
Feature/Backend
Feature/DevOps
Feature/UI
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Project/ICCery-v2
Core / wizard / process infra defect
Argyll orchestration, file/data defect
Build, packaging, CI defect
Views, controls, dialogs defect
Breaking change that won't be backward compatible
Core / wizard / process infra
Argyll orchestration, file/data engines
Build, packaging, CI
Views, controls, dialogs
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
ICCery v2 Mac rewrite
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Milestone
No items
No Milestone
M3 — macOS unmanaged printing (lp)
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gronod/iccery-v2-mac#13
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Preferences opens NSPrintPanel on the AppKit main thread, bound to the CUPS Printer ID.
Spec refs
docs/11-print-macos.md. #188.
Scope
In: panel binding, Use Settings, cancel=nil, PMRelease.
Out: ColorSync SPI (issue 14), lp spool (15).
Implementation notes
lpoptions -p).PMPrinterCreateFromPrinterID(queueName)— queue id, NOT display name.PMSessionSetCurrentPMPrinter→PMSessionDefaultPrintSettings/DefaultPageFormat.NSPrinter(name: displayName)+setUpPrintOperationDefaultValues.nil(not Error).PMReleasethe PMPrinter on every path where it was created.Forbidden: System Settings URL, CUPS web UI
localhost:631,NSWorkspaceopen of the printer.Rewrite invariants
#188 bind by CUPS Printer ID; main-thread only; never open System Settings.
Dependencies
Blocks-on: 12.
Unblocks: 14, 16.
Test
Acceptance criteria
Shipped in PR #44 and landed on
developvia the M3 milestone merge (PR #48). Closing as completed.