I'm configuring a USB printer in Debian 8.9 and am running into issues. I have configured the printer using the CUPS web interface and named it "elise". I have run lpstat which shows :
$ lpstat -p -d
printer elise is idle. enabled since Thu 23 Nov 2017 14:19:29 CET
Then I tried printing a test page using lpr :
$ echo 'test' | lpr -P elise
lpr: elise: unknown printer
I ran these two commands one right after the other and without touching the USB connection, so I am obviously missing something here.
I have checked that lpr was not aliased to anything :
$ type lpr
lpr is /usr/bin/lpr
Does anyone have any idea ?