[Bug 1926989] Re: lpoptions command won't create a new printer instance

2021-06-01 Thread Darren Croft
*** This bug is a duplicate of bug 1930477 ***
https://bugs.launchpad.net/bugs/1930477

** This bug has been marked a duplicate of bug 1930477
   cups 2.3.1 does not enumerate printer instances that are set up with 
lpoptions

-- 
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

[Bug 1930477] [NEW] cups 2.3.1 does not enumerate printer instances that are set up with lpoptions

2021-06-01 Thread Darren Croft
Public bug reported:

We use printer instances (PRINTER/instance) that are defined in
/etc/cups/lpoptions

Printer instances don't work properly with Ubuntu 20.04 and cups 2.3.1.
We have used the same lpoptions file with earlier versions of cups.

With 2.3.1, the command:
lp PRINTER/instance FILENAME
works

But the printer instances are not visible as printers in the libreoffice
print dialog, or by using lpstat -e or lpstat -a.

There is a recent fix in the uplevel cups code for printer instances.

We did our own make and install of the uplevel master branch 2.3.5 and
printer instances are working now.

We hope that ubuntu 20.04 can soon include the 2.3.5 cups code.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups (not installed)
ProcVersionSignature: Ubuntu 5.8.0-53.60~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-53-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Tue Jun  1 16:37:10 2021
InstallationDate: Installed on 2021-03-08 (85 days ago)
InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug focal

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

Title:
  cups 2.3.1 does not enumerate printer instances that are set up with
  lpoptions

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

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

[Bug 1926989] Re: lpoptions command won't create a new printer instance

2021-05-12 Thread Darren Croft
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.

-- 
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

[Bug 1926989] [NEW] lpoptions command won't create a new printer instance

2021-05-03 Thread Darren Croft
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: