From 0a874834bc6f3d322a54e4b3c7f6e712c370760e Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 11 Jul 2024 16:33:55 +0200 Subject: [PATCH] feat: Update printer settings in default.nix This commit modifies several settings of the home printer module in default.nix. The PageSize parameter was changed, and several new parameters related to print quality and color correction were added for better print results, specifically for photos. --- modules/nixos/services/homeprinter/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/nixos/services/homeprinter/default.nix b/modules/nixos/services/homeprinter/default.nix index 1eef1ce..09fbaa5 100644 --- a/modules/nixos/services/homeprinter/default.nix +++ b/modules/nixos/services/homeprinter/default.nix @@ -32,7 +32,15 @@ in deviceUri = "dnssd://Canon%20MG6300%20series._ipp._tcp.local/?uuid=00000000-0000-1000-8000-2C9EFC9C7BA5"; model = "gutenprint.5.3://bjc-PIXMA-MG6350/expert"; ppdOptions = { - PageSize = "A4"; + PageSize = "w283h425"; + # StpFullBleed = "True"; + MediaType = "PhotoPlusGloss2"; + ColorModel = "CMYK"; + StpColorCorrection = "Accurate"; + StpColorPrecision = "Best"; + StpInkType = "CMYKk"; + StpImageType = "Photo"; + StpDitherAlgorithm = "Adaptive"; }; } ];