Implements the macOS native CUPS raw printing backend to completely bypass Apple ColorSync color transformation layers when spooling profiling target TIFFs to physical printers.
Changes
New Module src-tauri/src/print/macos.rs:
Adds build_lp_args with Apple ColorSync suppression flags (-o raw, -o AP_ColorMatchingMode=AP_ApplicationColorMatching, -o cm-calibration, etc.).
Implements print_target and show_printer_properties for macOS.
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.
Description
Implements the macOS native CUPS raw printing backend to completely bypass Apple ColorSync color transformation layers when spooling profiling target TIFFs to physical printers.
Changes
src-tauri/src/print/macos.rs:build_lp_argswith Apple ColorSync suppression flags (-o raw,-o AP_ColorMatchingMode=AP_ApplicationColorMatching,-o cm-calibration, etc.).print_targetandshow_printer_propertiesfor macOS.get_printers,get_printer_capabilities,parse_lpstat_e,parse_lpstat_p,parse_lpstat_d,parse_lpoptions_l).src-tauri/src/print/mod.rs):pub mod macos;conditionally ontarget_os = "macos"and in tests.src-tauri/src/commands.rs):get_printers,get_printer_capabilities,show_printer_properties, andprint_target_nativetocrate::print::macosontarget_os = "macos".src-tauri/src/print/tests.rs):test_macos_build_lp_args_colorsync_suppressionandtest_macos_print_target_nonexistent_file.Resolves #92.