Skip to content

add color economode#341

Draft
BNH440 wants to merge 2 commits into
mainfrom
color-economode
Draft

add color economode#341
BNH440 wants to merge 2 commits into
mainfrom
color-economode

Conversation

@BNH440

@BNH440 BNH440 commented May 14, 2026

Copy link
Copy Markdown
Contributor

No description provided.


# Add economode support to the color ppd
hpColorPpd = pkgs.runCommand "hp-color_laserjet_m856-economode.ppd.gz" { } ''
${pkgs.gzip}/bin/zcat ${pkgs.ocf-hplip}/share/cups/model/HP/hp-color_laserjet_m856-ps.ppd.gz \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
${pkgs.gzip}/bin/zcat ${pkgs.ocf-hplip}/share/cups/model/HP/hp-color_laserjet_m856-ps.ppd.gz \
${lib.getExe' pkgs.gzip "zcat"} ${pkgs.ocf-hplip}/share/cups/model/HP/hp-color_laserjet_m856-ps.ppd.gz \

*HPPJLEconoMode2 yes/On: " "\
*HPPJLEconoMode2 no/Off: " "\
*CloseUI: *HPPJLEconoMode2' \
| ${pkgs.gzip}/bin/gzip -9 > $out

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| ${pkgs.gzip}/bin/gzip -9 > $out
| ${lib.getExe pkgs.gzip} -9 > $out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants