mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
feat(printing): try to add OfficeJet
This commit is contained in:
@@ -5,5 +5,26 @@
|
||||
drivers = [ pkgs.hplipWithPlugin ];
|
||||
};
|
||||
|
||||
networking.hosts."192.168.178.27" = [ "officejet" ];
|
||||
# networking.hosts."192.168.178.27" = [ "officejet" ];
|
||||
|
||||
hardware.printers.ensurePrinters = [
|
||||
{
|
||||
name = "OfficeJet";
|
||||
location = "Living room";
|
||||
deviceUri = "https://192.168.178.27";
|
||||
model = "drv:///hp/hpcups.drv/hp-officejet_4650_series.ppd";
|
||||
ppdOptions = {
|
||||
Duplex = "DuplexNoTumble"; # DuplexNoTumble DuplexTumble None
|
||||
PageSize = "A4"; # A4 A4.FB A4.Duplex
|
||||
MediaType = "Plain";
|
||||
OutputMode = "Normal";
|
||||
ColorModel = "KGray"; # RGB CMYGray KGray
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
/*
|
||||
HP/hp-officejet_4650_series.ppd.gz
|
||||
drv:///hp/hpcups.drv/hp-officejet_4650_series.ppd
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user