Add a pre-defined printer for my Brother HL-L8250
Now I not only find the printer, but I can correctly send data to it, so long as it's data the printer can consume like and image and not a raw pdf. I got an error on my first attempt to print a pdf until I opened GIMP and imported it that way.
This commit is contained in:
parent
580e4a2cfb
commit
7ecb5a1237
|
@ -17,6 +17,16 @@
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||||
|
hardware.printers = {
|
||||||
|
ensureDefaultPrinter = "Brother_HLL8250CDW";
|
||||||
|
ensurePrinters = [{
|
||||||
|
name = "Brother_HLL8250CDW";
|
||||||
|
deviceUri = "ipp://192.168.1.10/ipp";
|
||||||
|
model = "everywhere";
|
||||||
|
description = "Brother HL-L8250CDW";
|
||||||
|
location = "study";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "nalai"; # Define your hostname.
|
networking.hostName = "nalai"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
Loading…
Reference in New Issue