lpoptions command won't create a new printer instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running the following command :
sudo lpoptions -p Letters/test -o InputSlot=Tray5
returns without error
sudo lpoptions -p Letters/test -l
Shows that the the above command had no effect InputSlot=Auto
After running the commands, there is no file /etc/cups/lpoptions
Even if an lpoptions file is created manually, it has no effect.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSign
Uname: Linux 5.8.0-50-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CupsErrorLog:
W [27/Apr/
W [27/Apr/
W [03/May/
W [03/May/
Date: Mon May 3 11:39:40 2021
InstallationDate: Installed on 2021-04-27 (5 days ago)
InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Lpstat: device for Letters: dnssd:/
MachineType: LENOVO 10ST00A6US
Papersize: letter
PpdFiles: Letters: HP LaserJet 600 M602, driverless, cups-filters 1.27.4
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/17/2020
dmi.bios.release: 1.80
dmi.bios.vendor: LENOVO
dmi.bios.version: M1UKT50A
dmi.board.name: 312A
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN 3305279232807
dmi.chassis.type: 3
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkCentre M720s
dmi.product.name: 10ST00A6US
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
modified.
Correction to original post
sudo lpoptions -p Letters/test -o InputSlot=Tray5
is creating an lpoptions file, but the Letters/Test instance is not showing up in libreOffice or other printer lists.
If I do a su - and then do the lpoptions command, no lpoptions file is created.
If I use lpoptions as a non root user it creats the ~/.cups/lpoptions file, but still the printer instance in the file is not showing up anywhere to be printed too
In summary, the real problem is not with the lpoptions command, but with the lpoption files being ignored.