cups server connection worked nicely under 12.10 but fails on 13.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups-filters (Ubuntu) |
Fix Released
|
Medium
|
Till Kamppeter |
Bug Description
I'm at McGill.
Under 12.04 I just typed (with sudo) once
cupsctl BrowsePoll=
cupsctl Browsing=On
and restarted the cups server and then lpstat -p listed the printers I could use, and lp -U... -d mcgill_mono etc would send my jobs to the printer.
This fails under 13.04.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: cups 1.6.2-1ubuntu2
ProcVersionSign
Uname: Linux 3.8.0-13-generic x86_64
ApportVersion: 2.9.2-0ubuntu2
Architecture: amd64
CupsErrorLog:
E [23/Mar/
E [23/Mar/
Date: Sat Mar 23 09:14:21 2013
InstallationDate: Installed on 2013-03-18 (4 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130318)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: LENOVO 2901CTO
MarkForUpload: True
Papersize: letter
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/25/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 6UET69WW (1.49 )
dmi.board.name: 2901CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2901CTO
dmi.product.
dmi.sys.vendor: LENOVO
The CUPS which comes with 13.04 does not support BrowsePoll any more. This feature got dropped upstream. Instead you can use the legacy server/client support of the new cups-browsed which comes with 13.04. First, update your system so that you get cups-browsed of at least version 1.0.31-0ubuntu2. Then edit the file /etc/cups/ cups-browsed. conf adding the lines
BrowsePoll cups.ncs. mcgill. ca:631
Browsing On
and restart cups-browsed via
sudo restart cups-browsed
This activates the appropriate legacy functionality of cups-browsed.
Also note that you do not need to restart CUPS after using cupsctl. cupsctl already does it for you. And if you are in the account of the first user (or of any user who got granted admin rights) you can use cupsctl also without sudo.