[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#998318: marked as done (cups-client: lpoptions ignores and deletes settings of printer instances in ~/.cups/lpoptions)



Your message dated Sun, 14 Aug 2022 13:27:39 +0100
with message-id <14082022132143.b098e78a319f@desktop.copernicus.org.uk>
and subject line Re: Bug#998318: cups-client: lpoptions ignores and deletes settings of printer instances in ~/.cups/lpoptions
has caused the Debian Bug report #998318,
regarding cups-client: lpoptions ignores and deletes settings of printer instances in ~/.cups/lpoptions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
998318: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998318
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-client
Version: 2.3.3op2-3+deb11u1
Severity: normal

Dear Maintainer,

after upgrade from to Debian buster to bullseye (cups-client 2.2.10-6 to 2.3.3op2) the lopptions does not properly handle printer instances defined in ~/.cups/lpoptions

Symptoms:
* "lpoptions -p laserjet5si/konzept -l" gives the same output as "lpoptions -p laserjet5si/manuell -l" (namely the default printer settings made in CUPS) while lpoptions file defines different settings for both of these instances (see example file below)
* any attempt to modify printer instance settings using "lpoptions -p laserjet5si/konzept -o InputSlot=Upper" results in deletion of all "Dest" lines previously present within lpoptions file and modification of the single line that was considered to be affected
* third party applications such as Okular (4:20.12.3-2) are not able to display or use any printer instance defined
* downgrade to cups-client 2.2.10 and according dependencies seems to bypass the problem and allows the very same third party applications to display and use printer instances again

-- example ~/.cups/lpoptions file in use:

Default bx310fn
Dest laserjet5si/blank_duplex Duplex=DuplexNoTumble InputSlot=LargeCapacity
Dest laserjet5si/konzept InputSlot=Upper 
Dest laserjet5si/manuell InputSlot=Manual
Dest P6021cdn InputSlot=MF1

-- example output of lpoptions -p laserjet5si/konzept -l

PageSize/Media Size: Letter Legal Tabloid Executive w288h432 w360h576 Statement SuperB A3 *A4 A5 B4 B5 C5 C6 DL COM10 Monarch
ColorModel/Color Model: *Gray Black
StpColorPrecision/Color Precision: *Normal Best
InputSlot/Media Source: *Standard ManualAdj Manual MultiPurposeAdj MultiPurpose UpperAdj Upper LowerAdj Lower LargeCapacityAdj LargeCapacity
StpQuality/Print Quality: None Draft *Standard High
Resolution/Resolution: *301x300dpi 150dpi 300dpi 600dpi
Duplex/2-Sided Printing: *None DuplexNoTumble DuplexTumble
StpiShrinkOutput/Shrink Page If Necessary to Fit Borders: Shrink *Crop Expand
StpColorCorrection/Color Correction: *None Accurate Bright Hue Uncorrected Desaturated Threshold Density Raw Predithered
StpBrightness/Brightness: 0 100 200 300 400 500 600 700 800 900 *None 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 Custom.REAL
StpFineBrightness/Brightness Fine Adjustment: *None 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95
StpContrast/Contrast: 0 100 200 300 400 500 600 700 800 900 *None 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300 2400 2500 2600 2700 2800 2900 3000 3100 3200 3300 3400 3500 3600 3700 3800 3900 4000 Custom.REAL
StpFineContrast/Contrast Fine Adjustment: *None 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95
StpImageType/Image Type: None Text Graphics *TextGraphics Photo LineArt
StpDensity/Density: 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300 2400 2500 2600 2700 2800 2900 3000 3100 3200 3300 3400 3500 3600 3700 3800 3900 4000 4100 4200 4300 4400 4500 4600 4700 4800 4900 5000 5100 5200 5300 5400 5500 5600 5700 5800 5900 6000 6100 6200 6300 6400 6500 6600 6700 6800 6900 7000 7100 7200 7300 7400 7500 7600 7700 7800 7900 8000 *None Custom.REAL
StpFineDensity/Density Fine Adjustment: *None 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95
StpDitherAlgorithm/Dither Algorithm: *None EvenTone HybridEvenTone Adaptive Ordered OrderedNew Fast VeryFast Floyd Predithered Segmented SegmentedNew
StpGamma/Composite Gamma: 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300 2400 2500 2600 2700 2800 2900 3000 3100 3200 3300 3400 3500 3600 3700 3800 3900 4000 *None Custom.REAL
StpFineGamma/Composite Gamma Fine Adjustment: *None 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95
StpLinearContrast/Linear Contrast Adjustment: *False True


-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.46-btusb (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de:en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups-client depends on:
ii  adduser      3.118
ii  cups-common  2.3.3op2-7
ii  libc6        2.31-13+deb11u2
ii  libcups2     2.3.3op2-3+deb11u1

cups-client recommends no packages.

Versions of packages cups-client suggests:
ii  cups       2.3.3op2-3+deb11u1
ii  cups-bsd   2.3.3op2-3+deb11u1
ii  smbclient  2:4.13.5+dfsg-2

-- no debconf information

--- End Message ---
--- Begin Message ---
On Wed 17 Nov 2021 at 19:48:00 +0100, Martin Zimprich wrote:

> I've drawn the Debian source package in order to rebuilt binary packages for
> CUPS 2.3.3op2-3+deb11u1.
> 
> Findings:
> 
> - CUPS builds fine without applying any patch
> - applying the patch cited above under
> https://github.com/OpenPrinting/cups/issues/282
> <https://github.com/OpenPrinting/cups/issues/282>and jusr rebuilding CUPS
> results in some errors in the clean step. Maybe this is a general issue with
> the current debian source package
> - drawing sources, applying patch (without previously compiling original
> sources) and building works fine
> - the resulting binaries seem to resolve the problem when installing at
> least following binary packages on the system:
>  - cups_2.3.3op2-3+deb11u1_amd64.deb
>  - cups-bsd_2.3.3op2-3+deb11u1_amd64.deb
>  - cups-client_2.3.3op2-3+deb11u1_amd64.deb
>  - cups-common_2.3.3op2-3+deb11u1_all.deb
>  - cups-core-drivers_2.3.3op2-3+deb11u1_amd64.deb
>  - cups-daemon_2.3.3op2-3+deb11u1_amd64.deb
>  - cups-server-common_2.3.3op2-3+deb11u1_all.deb
>  - libcups2_2.3.3op2-3+deb11u1_amd64.deb
>  - libcupsimage2_2.3.3op2-3+deb11u1_amd64.deb
> 
> I would be pleased if the above mentioned fix could be included in debian
> stable.
> <https://github.com/OpenPrinting/cups/issues/282>

Thanks for your involement, Martin.

The issue is fixed in CUPS v2.4.2. but stable generally only receives
security fixes, so it's unlikely that this patch would be backported.
Hence closing.

Cheers,

Brian.

--- End Message ---

Reply to: