This bug was fixed in the package cups - 1.7.0~rc1-0ubuntu5.1
---------------
cups (1.7.0~rc1-0ubuntu5.1) saucy-proposed; urgency=low
* debian/patches/lpadmin-ppdname-fix.patch: The lpadmin command did not send
the PPD name from the "-m" option and also the web interface did not use
the selected PPD file (LP: #1248578).
-- Till Kamppeter <[email protected]> Fri, 8 Nov 2013 18:49:01 +0100
** Changed in: cups (Ubuntu Saucy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1248578
Title:
Adding printer from commandline does not work anymore after upgrade to
13.10
Status in “cups” package in Ubuntu:
Fix Released
Status in “cups” source package in Saucy:
Fix Released
Bug description:
In Ubuntu 13.10 I can't add printers from the commandline. For example
when I use the following command as root:
lpadmin -p i44hpneu -m "drv:///hpcups.drv/hp-laserjet_4250-pcl3.ppd"
-D "xxx" -L "xxx" -E -v socket://my-printer-url
Then the printer i44hpneu is created but it does not work. Another
symptom is that no /etc/cups/ppd/i44hpneu.ppd file is created. The
model/driver is listed in "lpinfo -m", so the printer-driver-hpcups
package appears to have installed correctly. Adding printers from the
GUI or the cups webpage is working. Ubuntu version 13.04 and earlier
work too.
(I'm mainting around 20 linux PCs so automating printer installation
from the commandline is a very convenient tool as I can prepare
scripts to do all the setup).
[Impact]
Very important feature for administrators of print servers, especially
head-less servers are not working, causing major problems for the
admin:
1. Setting up print queues with "lpadmin", specifying the PPD/driver
with the "-m" option does not work, leading to a raw queue.
2. Setting up printers with the web interface of CUPS
(http://localhost:631/) does not work.
[Test Case]
Run the command
lpadmin -p test -E -v file:/dev/null -m drv:///sample.drv/laserjet.ppd
This should create a print queue with the generic LaserJet PPD (PCL 5e
printer). The PPD should be in /etc/cups/ppd/test.ppd.
What you get is a raw queue without the PPD.
The proposed package fixes this. The same command correctly creates a
print queue with PPD.
[Regression Potential]
Very low, as only a few lines are modified in the code for lpadmin and
for the appropriate part of the web interface. The CUPS daemon and the
CUPS library are not modified.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cups 1.7.0~rc1-0ubuntu5
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: openafs nvidia
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Wed Nov 6 15:55:40 2013
InstallationDate: Installed on 2013-02-13 (266 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
Lpstat:
device for i44canon: socket://i44canon.info.uni-karlsruhe.de
device for i44hp201: socket://i44hp201.info.uni-karlsruhe.de
device for i44hp4250: socket://i44hp4250.info.uni-karlsruhe.de
device for i44hpneu: socket://i44hpneu.info.uni-karlsruhe.de
device for PDF: cups-pdf:/
MachineType: FUJITSU ESPRIMO P910
MarkForUpload: True
Papersize: a4
ProcEnviron:
LANGUAGE=en_US
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic
root=UUID=0de5b9f6-e317-48be-83f8-90ee01c66888 ro quiet splash
SourcePackage: cups
UpgradeStatus: Upgraded to saucy on 2013-11-05 (0 days ago)
dmi.bios.date: 12/17/2012
dmi.bios.vendor: FUJITSU // American Megatrends Inc.
dmi.bios.version: V4.6.5.3 R1.19.0 for D3162-A1x
dmi.board.name: D3162-A1
dmi.board.vendor: FUJITSU
dmi.board.version: S26361-D3162-A1
dmi.chassis.type: 6
dmi.chassis.vendor: FUJITSU
dmi.chassis.version: C$PXW6
dmi.modalias:
dmi:bvnFUJITSU//AmericanMegatrendsInc.:bvrV4.6.5.3R1.19.0forD3162-A1x:bd12/17/2012:svnFUJITSU:pnESPRIMOP910:pvr:rvnFUJITSU:rnD3162-A1:rvrS26361-D3162-A1:cvnFUJITSU:ct6:cvrC$PXW6:
dmi.product.name: ESPRIMO P910
dmi.sys.vendor: FUJITSU
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1248578/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp