I'm running Ubuntu 13.04 on my computer at work, which has networked printers. I have previously been able to print using the lpr command, but recently this has stopped working.
$ lpr test
lpr: Error - scheduler not responding.
$ lpstat -t
scheduler is running
no system default destination
lpstat: Bad Request
lpstat: Bad Request
lpstat: Bad Request
lpstat: Bad Request
lpstat: Bad Request
$ ps aux | grep cups
root 1153 0.0 0.1 73500 3552 ? Ss Sep08 0:01 /usr/sbin/cupsd -F
root 1212 0.0 0.0 70428 1464 ? Ss Sep08 0:00 /usr/sbin/cups-browsed
I also don't see any printers if I enter the print dialog from a program; I can only print to a pdf.
Does anyone know what's gone wrong? What config files do you need to see?
edit: I'm adding some additional information.
I'm using a remote print server, and my ~/.cups/client.conf
contains only this line:
ServerName print1.eecis.udel.edu
I tried removing the cups package and installing it again, and noticed during the installation the line
"lpinfo: Bad Request" appeared.
The Arch Bugtracker knows about this bug/regression which is introduced in the 1.6 cups version:
And most likely your cups server has an older cups version which still defaults to the older IPP version. The workaround from the ARCH wiki:
I know this is an old thread, but I came across a similar problem:
I found that it complaining that it didn't have a default printer destination.
To give it a default destination I went into cups(http://localhost:631), manage printers, clicked the printer that I wanted be the default, clicked the administrator dropdown, and set to the system default.