Skip to content

Instantly share code, notes, and snippets.

@mped-oticon
Created May 4, 2023 11:22
Show Gist options
  • Save mped-oticon/5cec9fb72cd0dbbaeac5b6ab5de3ee87 to your computer and use it in GitHub Desktop.
Save mped-oticon/5cec9fb72cd0dbbaeac5b6ab5de3ee87 to your computer and use it in GitHub Desktop.
DYMO LabelWriter 450 on NixOS
# 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