I’m trying to print using the
lpr command. I’m only doing this because this is how emacs prints stuff. When using this lpr command in other distro’s, it just uses your default printer, and prints to it no issues.
In NixOS, my default printer is set and works fine (and lpr seems to recognize it), however I cannot print to it using lpr. I don’t know what config I need to add to get lpr working in this case, as I can’t find any mention of it anywhere.
I’m not quite sure what to do.
 greghab@nixGreg> lpstat -p -d printer Brother-HL-L2380DW-series is idle. enabled since Fri 29 May 2020 09:11:22 PM PDT printer HP-Officejet-Pro-8600 is idle. enabled since Sat 16 May 2020 08:30:17 PM PDT system default destination: Brother-HL-L2380DW-series greghab@nixGreg> lpr -P Brother-HL-L2380DW-series webinar.txt lpr: can't connect to remote host (127.0.0.1): Connection refused  greghab@nixGreg> lpr webinar.txt lpr: can't connect to remote host (127.0.0.1): Connection refused  greghab@nixGreg>