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

Bug#998318: cups-client: lpoptions ignores and deletes settings of printer instances in ~/.cups/lpoptions



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


Reply to: