Setup DYMO LabelWriter 5XL
This commit is contained in:
parent
6704bab226
commit
ff455eeab5
5 changed files with 759 additions and 1 deletions
30
nixos/fuchsia/services/printer/default.nix
Normal file
30
nixos/fuchsia/services/printer/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{pkgs, ...}: {
|
||||
hardware.printers = {
|
||||
ensurePrinters = [
|
||||
{
|
||||
name = "DYMO_Label_Writer_5XL_on_DYMOLW5XL315c26E";
|
||||
description = "DYMO LabelWriter 5XL";
|
||||
deviceUri = "dnssd://DYMO%20Label%20Writer%205XL%20on%20DYMOLW5XL315c26E._pdl-datastream._tcp.local/";
|
||||
model = "lw5xl.ppd";
|
||||
ppdOptions = {
|
||||
DymoPrintQuality = "Graphics";
|
||||
};
|
||||
}
|
||||
];
|
||||
ensureDefaultPrinter = "DYMO_Label_Writer_5XL_on_DYMOLW5XL315c26E";
|
||||
};
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
services.printing = {
|
||||
enable = true;
|
||||
drivers = [
|
||||
pkgs.cups-dymo
|
||||
(pkgs.writeTextDir "share/cups/model/lw5xl.ppd" (builtins.readFile ./lw5xl.ppd))
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue