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

Bug#940019: marked as done (cups: No more options for remote shared printers)



Your message dated Fri, 13 Sep 2019 11:58:30 +0100
with message-id <13092019094625.27101331232a@desktop.copernicus.org.uk>
and subject line Re: Bug#940019: cups: No more options for remote shared printers
has caused the Debian Bug report #940019,
regarding cups: No more options for remote shared printers
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.)


-- 
940019: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940019
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Version: 2.3.0-3
Severity: important

  Hi,

  Since my last upgrade of cups on my laptop, I do not see any options
for remote printers. It affects me both at home (where I can access to
the cups server and can change something if need be) and at work (where
I do not have any access to the server). Both servers (at home and at
work) do not change. On my laptop, it worked with cups 2.2.10 (not sure
with 2.2.12). My home server is running cups 2.2.1-8+deb9u4 (stretch)

  At work, the printers are discovered by cups-browsed as they are not
on the local network and a 'BrowsePoll print.work.domain:631' line
is required. At home, I've a linux server with cups that talk to a
local printer through a propriatory driver (Brother DCP-9020CDW printer)
  I will talk about the situation at home (where I can access the server).
On the server, I see all options provided be the driver:
server $ lpoptions -l -p brother
PageSize/Media Size: *A4 Letter Legal Executive A5 A6 B5 JISB5 JISB6 EnvDL EnvC5 Env10 EnvMonarch Br3x5 FanFoldGermanLegal EnvPRC5Rotated Postcard EnvYou4 EnvChou3 210x270mm 195x270mm 184x260mm 197x273mm
BRDuplex/Two-Sided: DuplexTumble *DuplexNoTumble None
BRInputSlot/Paper Source: *AutoSelect Tray1 Manual
BRResolution/Print Quality: *600dpi 600x2400dpi
BRMonoColor/Color / Mono: *Auto FullColor Mono
BRMediaType/Media Type: *Plain Thin Thick Thicker BOND Env EnvThick EnvThin Recycled Label Glossy PostCard
BRColorMatching/Color Mode: *Normal Vivid None
BRGray/Improve Gray Color: OFF *ON
BREnhanceBlkPrt/Enhance Black Printing: *OFF ON
BRTonerSaveMode/Toner Save Mode: *OFF ON
BRImproveOutput/Improve Print Output: *OFF BRLessPaperCurl BRFixIntensity
BRSkipBlank/Skip Blank Page: *OFF ON
BRBrightness/Brightness: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRContrast/Contrast: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRRed/Red: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRGreen/Green: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRBlue/Blue: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRSaturation/Saturation: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

It was the same on my laptop before the new versions of cups.
But now:
laptop $ lpoptions -l -p brother
PageSize/Page Size: Custom.WIDTHxHEIGHT 11x14 11x17 13x19 16x20 16x24 2A 4A 8x10 8x12 A0 A1 A2 A3 *A4 A5 AnsiA AnsiB AnsiC AnsiD AnsiE ArchA ArchB ArchC ArchD ArchE C0 C1 C2 C3 C4 C5 Env10 EnvC5 EnvDL EnvMonarch Executive ISOB0 ISOB1 ISOB2 ISOB3 ISOB4 ISOB5 JISB0 JISB1 JISB2 JISB3 JISB4 JISB5 Ledger Legal Letter RA0 RA1 RA2 RA3 RA4 SRA0 SRA1 SRA2 SRA3 SRA4 SuperA SuperB TabloidExtra Tabloid
Resolution/Output Resolution: 150dpi *300dpi 600dpi 1200dpi 2400dpi

And nothing more.
I cannot choose the DuplexMode, the gray/color, ...
These was presented to me in a 'Advanced' tab of the standard cups gtk dialog (for example with evince)

http://localhost:631/printers/ reports:
brother	Brother DCP-9020CDW @ server		Brother DCP-9020CDW CUPS, driverless, cups-filters 1.25.5

At work, we have big canon printers, and I cannot choose the staple mode, ... anymore.
It is really blocking for me: I have to log (ssh) to another computer
still in stretch to print my PDF :-(

For info:

laptop $ cat /etc/cups/cups-browsed.conf | egrep -v '^(#| *$)' 
DebugLogging file
BrowseRemoteProtocols dnssd cups
BrowseFilter NOT name copieur-[23]
BrowsePoll print.work.domain:631
LocalQueueNamingRemoteCUPS RemoteName
CreateRemoteRawPrinterQueues Yes
CreateIPPPrinterQueues All
IPPPrinterQueueType PPD
AutoClustering Yes


  What can I do to get my printer options back (if possible avoiding to downgrade cups)?

  Regards,
    Vincent

-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cups depends on:
ii  cups-client            2.3.0-3
ii  cups-common            2.3.0-3
ii  cups-core-drivers      2.3.0-3
ii  cups-daemon            2.3.0-3
ii  cups-filters           1.25.5-1
ii  cups-ppdc              2.3.0-3
ii  cups-server-common     2.3.0-3
ii  debconf [debconf-2.0]  1.5.73
ii  ghostscript            9.28~~rc2~dfsg-1
ii  libavahi-client3       0.7-4+b1
ii  libavahi-common3       0.7-4+b1
ii  libc6                  2.28-10
ii  libcups2               2.3.0-3
ii  libgcc1                1:9.2.1-7
ii  libstdc++6             9.2.1-7
ii  libusb-1.0-0           2:1.0.23-1
ii  poppler-utils          0.71.0-5+b1
ii  procps                 2:3.3.15-2+b1

Versions of packages cups recommends:
ii  avahi-daemon                     0.7-4+b1
ii  colord                           1.4.4-1
ii  cups-filters [ghostscript-cups]  1.25.5-1
ii  printer-driver-gutenprint        5.3.1-7+b1

Versions of packages cups suggests:
ii  cups-bsd                                   2.3.0-3
ii  foomatic-db-compressed-ppds [foomatic-db]  20190820-1
pn  hplip                                      <none>
ii  printer-driver-cups-pdf [cups-pdf]         3.0.1-5+b1
pn  printer-driver-hpcups                      <none>
ii  smbclient                                  2:4.9.13+dfsg-1
ii  udev                                       242-7

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: lpd, socket, usb, snmp, dnssd

--- End Message ---
--- Begin Message ---
reassign 940019 cups-browsed
thanks



On Thu 12 Sep 2019 at 23:25:48 +0200, Vincent Danjean wrote:

> Le 12/09/2019 à 21:15, Brian Potkin a écrit :
> > There should not be any Brother (or Canon) files on the client. The job
> > should be processed completely on the server. This is why I wanted the
> > outputs of 'lpstat -l -e' and 'lpstat -t' (which were not sent).
> 
> I'm back at home. Here are the results :
> 
> $ lpstat -l -e
> brother permanent ipp://localhost/printers/brother implicitclass://brother/

"permanent" indicates local queues. There are two URIs. The second is
one managed by cups-browsed; the first is something set up by you. I
doubt this arrangemment will work reliably.

> Brother_DCP_9020CDW_kooot_2 network none ipps://Brother%20DCP-9020CDW%20%40%20kooot-2._ipps._tcp.local/cups

This appears to be a print queue or printer on the network.

> PDF permanent ipp://localhost/printers/PDF cups-pdf:/
> $ lpstat -t
> scheduler is running
> system default destination: PDF
> matériel pour brother : implicitclass://brother/
> matériel pour PDF : cups-pdf:/
> brother accepte des requêtes depuis jeu. 12 sept. 2019 21:16:33 CEST
> PDF accepte des requêtes depuis mer. 28 août 2019 15:58:20 CEST
> printer brother is idle.  enabled since jeu. 12 sept. 2019 21:16:33 CEST
> printer PDF is idle.  enabled since mer. 28 août 2019 15:58:20 CEST
> $ lpoptions -l -pbrother
> PageSize/Page Size: Custom.WIDTHxHEIGHT 11x14 11x17 13x19 16x20 16x24 2A 4A 8x10 8x12 A0 A1 A2 A3 *A4 A5 AnsiA AnsiB AnsiC AnsiD AnsiE ArchA ArchB ArchC ArchD ArchE C0 C1 C2 C3 C4 C5 Env10 EnvC5 EnvDL EnvMonarch Executive ISOB0 ISOB1 ISOB2 ISOB3 ISOB4 ISOB5 JISB0 JISB1 JISB2 JISB3 JISB4 JISB5 Ledger Legal Letter RA0 RA1 RA2 RA3 RA4 SRA0 SRA1 SRA2 SRA3 SRA4 SuperA SuperB TabloidExtra Tabloid
> Resolution/Output Resolution: 150dpi *300dpi 600dpi 1200dpi 2400dpi
> $ lpoptions -l -pBrother_DCP_9020CDW_kooot_2
> PageSize/Page Size: Custom.WIDTHxHEIGHT 11x14 11x17 13x19 16x20 16x24 2A 4A 8x10 8x12 A0 A1 A2 A3 *A4 A5 AnsiA AnsiB AnsiC AnsiD AnsiE ArchA ArchB ArchC ArchD ArchE C0 C1 C2 C3 C4 C5 Env10 EnvC5 EnvDL EnvMonarch Executive ISOB0 ISOB1 ISOB2 ISOB3 ISOB4 ISOB5 JISB0 JISB1 JISB2 JISB3 JISB4 JISB5 Ledger Legal Letter RA0 RA1 RA2 RA3 RA4 SRA0 SRA1 SRA2 SRA3 SRA4 SuperA SuperB TabloidExtra Tabloid
> Resolution/Output Resolution: 150dpi *300dpi 600dpi 1200dpi 2400dpi

The correct generated PPD is below.
 
> > With 'lpoptions -l -p testq' I get
> > 
> >   brian@test:~$ lpoptions -l -p testq
> >   PageSize/Media Size: 100x150mm 111.76x152.4mm 3.5x5 3.5x5.Borderless 3x5 4x6 4x6.Borderless 5x7 5x7.Borderless 5x8 8x10 8x10.Borderless *A4 A4.Borderless A5 A6 A6.Borderless B5 Env10 EnvA2 EnvC5 EnvC6 EnvChou3 EnvChou4 EnvDL EnvMonarch EnvPersonal Executive ISOB5 Legal Letter Letter.Borderless Postcard Postcard.Borderless Statement Custom.WIDTHxHEIGHT
> >   MediaType/Media Type: *Stationery PhotographicGlossy
> >   ColorModel/Output Mode: *RGB Gray Gray16 DeviceGray DeviceRGB AdobeRGB
> >   Duplex/Duplex: *None DuplexNoTumble DuplexTumble
> >   cupsPrintQuality/cupsPrintQuality: Draft *Normal High
> 
> It still far less of what the initial PPD propose. In this case, I think
> the main options are present, so it can be enough. But why not all
> options are propagated ?

Any unhappiness regarding the generated PPD options cannot be fixed by
Debian. You want

https://github.com/OpenPrinting/cups-filters/issues

[...]

>   I'm sure that my laptop was using the provided one (ie the one
> from Brother) because I can see it with 'git diff' (my /etc is
> handled with etckeeper). Looking at the history, it appears and
> disappears regularly (depending if my laptop is at home or not)
> until 2018-03-26 when I added these ppd files in the .gitignore...
>   What I do not know is where the ppd file was coming from (each time
> the laptop was at home, the printer was rediscovered and the PPD file
> reinstalled)

>From the information provided, and what you have said, it appears you
are processing a print job twice; this is not a setup supported by
Debian. I have triaged enough reports involving this situation to know
that it generally leads to grief for both parties. I am closing the
report on that basis.

https://wiki.debian.org/PrintQueuesCUPS#Double_Filtering

I would suggest you do one of two things:

1. Remove all Brother-related setup from the client and allow
   cups-browsed to do its job.

2. Read https://wiki.debian.org/QuickPrintQueuesCUPS and dispense
   with the server and its non-free drivers.   

>   Do you want I try to reinstall a stretch system on the local
> network to compare ?

Thank you for the offer, but there are considerable differences between
the stretch and buster/unstable printing systems.

Thank you for you co-operation, Vincent.

Brian.

--- End Message ---

Reply to: