Adding printer from commandline does not work anymore after upgrade to 13.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned |
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://
Then the printer i44hpneu is created but it does not work. Another symptom is that no /etc/cups/
(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://
[Test Case]
Run the command
lpadmin -p test -E -v file:/dev/null -m drv:///
This should create a print queue with the generic LaserJet PPD (PCL 5e printer). The PPD should be in /etc/cups/
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
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelMo
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:
device for i44hp201: socket:
device for i44hp4250: socket:
device for i44hpneu: socket:
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=
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.
dmi.modalias: dmi:bvnFUJITSU/
dmi.product.name: ESPRIMO P910
dmi.sys.vendor: FUJITSU
Related branches
description: | updated |
Changed in cups (Ubuntu Saucy): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
I've just seen that the changes of upstream cups 1.7.0 contain: //problem/ 15264697> )" this might be this bug. Unfortunately I wasn't able to build packages with 1.7.0 to test this (always had test failuers after building).
"The lpadmin command did not send the PPD name from the "-m" option (<rdar: