Public bug reported:

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
ProcVersionSignature: Ubuntu 5.8.0-50.56~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-50-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
CupsErrorLog:
 W [27/Apr/2021:13:43:24 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'PDF-Gray..\' already 
exists
 W [27/Apr/2021:13:43:24 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'PDF-RGB..\' already 
exists
 W [03/May/2021:11:20:51 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'Letters-Gray..\' 
already exists
 W [03/May/2021:11:20:51 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'Letters-DeviceN..\' 
already exists
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://HP%20LaserJet%20600%20M602%20%5B66D356%5D._ipp._tcp.local/?uuid=a9f85a02-21b1-11e3-9d3a-1556bd6228ad
MachineType: LENOVO 10ST00A6US
Papersize: letter
PpdFiles: Letters: HP LaserJet 600 M602, driverless, cups-filters 1.27.4
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-50-generic 
root=UUID=abf53fc0-1910-4d2d-b58d-2e356575d519 ro quiet splash vt.handoff=7
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.version: None
dmi.ec.firmware.release: 1.24
dmi.modalias: 
dmi:bvnLENOVO:bvrM1UKT50A:bd02/17/2020:br1.80:efr1.24:svnLENOVO:pn10ST00A6US:pvrThinkCentreM720s:rvnLENOVO:rn312A:rvrSDK0J40697WIN3305279232807:cvnLENOVO:ct3:cvrNone:
dmi.product.family: ThinkCentre M720s
dmi.product.name: 10ST00A6US
dmi.product.sku: LENOVO_MT_10ST_BU_Think_FM_ThinkCentre M720s
dmi.product.version: ThinkCentre M720s
dmi.sys.vendor: LENOVO
modified.conffile..etc.cups.snmp.conf: [deleted]

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal third-party-packages

** Summary changed:

- lptoptions command won't create a new instance
+ lpoptions command won't create a new instance

** Summary changed:

- lpoptions command won't create a new instance
+ lpoptions command won't create a new printer instance

** Description changed:

  Running the following command :
- lpoptions -p Letters/test -o InputSlot=Tray5
+ 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 lptoptions file is created manually, it has no effect.
+ 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
  ProcVersionSignature: Ubuntu 5.8.0-50.56~20.04.1-generic 5.8.18
  Uname: Linux 5.8.0-50-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.16
  Architecture: amd64
  CasperMD5CheckResult: skip
  CupsErrorLog:
-  W [27/Apr/2021:13:43:24 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'PDF-Gray..\' already 
exists
-  W [27/Apr/2021:13:43:24 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'PDF-RGB..\' already 
exists
-  W [03/May/2021:11:20:51 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'Letters-Gray..\' 
already exists
-  W [03/May/2021:11:20:51 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'Letters-DeviceN..\' 
already exists
+  W [27/Apr/2021:13:43:24 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'PDF-Gray..\' already 
exists
+  W [27/Apr/2021:13:43:24 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'PDF-RGB..\' already 
exists
+  W [03/May/2021:11:20:51 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'Letters-Gray..\' 
already exists
+  W [03/May/2021:11:20:51 -0600] CreateProfile failed: 
org.freedesktop.ColorManager.AlreadyExists:profile id \'Letters-DeviceN..\' 
already exists
  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://HP%20LaserJet%20600%20M602%20%5B66D356%5D._ipp._tcp.local/?uuid=a9f85a02-21b1-11e3-9d3a-1556bd6228ad
  MachineType: LENOVO 10ST00A6US
  Papersize: letter
  PpdFiles: Letters: HP LaserJet 600 M602, driverless, cups-filters 1.27.4
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-50-generic 
root=UUID=abf53fc0-1910-4d2d-b58d-2e356575d519 ro quiet splash vt.handoff=7
  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.version: None
  dmi.ec.firmware.release: 1.24
  dmi.modalias: 
dmi:bvnLENOVO:bvrM1UKT50A:bd02/17/2020:br1.80:efr1.24:svnLENOVO:pn10ST00A6US:pvrThinkCentreM720s:rvnLENOVO:rn312A:rvrSDK0J40697WIN3305279232807:cvnLENOVO:ct3:cvrNone:
  dmi.product.family: ThinkCentre M720s
  dmi.product.name: 10ST00A6US
  dmi.product.sku: LENOVO_MT_10ST_BU_Think_FM_ThinkCentre M720s
  dmi.product.version: ThinkCentre M720s
  dmi.sys.vendor: LENOVO
  modified.conffile..etc.cups.snmp.conf: [deleted]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1926989

Title:
  lpoptions command won't create a new printer instance

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1926989/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to