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:
Eli Ribble 2024-07-15 10:30:28 -07:00
parent 580e4a2cfb
commit 7ecb5a1237
1 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,16 @@
# Bluetooth
hardware.bluetooth.enable = true; # enables support for Bluetooth
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.wireless.enable = true; # Enables wireless support via wpa_supplicant.