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

Bug#940019: cups: No more options for remote shared printers



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/
Brother_DCP_9020CDW_kooot_2 network none ipps://Brother%20DCP-9020CDW%20%40%20kooot-2._ipps._tcp.local/cups
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


>> - now, cups/cups-browsed always (for remote queue) generate a PPD file
>>   using cups-filters, and the generated PPD is not correct (it misses lots
>>   of options available in the remote queue)
> 
> 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 ?

>> If this is correct, what should be done ?
>> Is there a way to test what cups-filter generate ?
> 
> For me:
> 
>   ippfind -T 5
> 
> gives ipp://,,, for the queue.

$ ippfind -T 5
ipp://kooot-2.local:631/printers/brother

> Then
> 
>   driverless <URI>
> 
> gives the generated PPD.

$ driverless ipp://kooot-2.local:631/printers/brother | grep OpenUI
*OpenUI *PageSize/Media Size: PickOne
*OpenUI *PageRegion/Media Size: PickOne
*OpenUI *cupsPrintQuality/Print Quality: PickOne

Now, I understand how it is generated (many thanks), but the result
is indeed very limited (ie few options are present)


  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)

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

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0xD17897FA         vdanjean@debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5  CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main


Reply to: