Created
May 4, 2023 11:22
-
-
Save mped-oticon/5cec9fb72cd0dbbaeac5b6ab5de3ee87 to your computer and use it in GitHub Desktop.
DYMO LabelWriter 450 on NixOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable CUPS to print documents | |
services.printing.enable = true; | |
+ services.printing.drivers = [ pkgs.gutenprint pkgs.hplip pkgs.cups-dymo ]; | |
# List available printers: lpstat -l -e | |
+ hardware.printers.ensurePrinters = [ | |
+ { | |
+ description = "lw450"; | |
+ name = "lw450"; | |
+ location = "MPED desk"; | |
+ deviceUri = "usb://DYMO/LabelWriter%20450?serial=01010112345600"; # Determined via lpinfo -v | |
+ model = "lw450.ppd"; | |
+ } | |
+ ]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment