• Re: confusing printer definitions

    From Dan Purgert@21:1/5 to All on Thu Mar 20 22:30:02 2025
    On Mar 20, 2025, Kleene, Steven (kleenesj) wrote:
    The software setup for my Brother DCP-L2640DW driverless laser printer is confusing the hell out of me. I'm running bookworm.

    The printer is connected via USB only (not wireless). When I first connected it, CUPS (apparently) set up a printer Brother_DCP_L2640DW_USB automatically. A corresponding file in /etc/cups/ppd was there only when the printer was on.

    It's zeroconf / ippanywhere; and honestly it's pretty garbage (even over network).

    It's been a while since I've done USB printers, but I *THINK* you can
    still setup two different definitions that ultimately point via the real
    driver -- so you can have L2640_A4 and L2640_LTR, and not have to deal
    with the zeroconf pseudo-printer.


    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEE3asj+xn6fYUcweBnbWVw5UznKGAFAmfch9sACgkQbWVw5Uzn KGCN+w//fRwKoR3+x3iuZKA1F6QrOFDNI4GuZ3qMpGVD68Zju1DB4+9m7II60F03 ZxDcIVZk2/hRA23tq8NcZj+jNYTQPlUwRSKLbT34SviEeVNkauBrEBGvKyx5r1+G UCPCjVodoaYwil00r1H8DX6sHwgz0J3bwRQX+FPh1Gig9sFsADrxLUFclmq2PDs2 5/IgsLaUnHoQ8vVwwApiKI9tkqFmDarfuWf35IenvzI9fBHJqbo3OjBDCndwrDIP G8WBc9AHip1MP9dE3K1NKTpO5UH/z256mPxs43+C5Yep6KRLnmn2IVOCl0KnwKFx QhlQlVh0eK26YkMLQMwWlhrXfbe34cpwdwXa1znhzPLT77YuFMBSCp/VI9jtP4JW AWMEYn6f2PjAVoNmB3MkDpoACsnM4M0sO808J0RgDPkFED1At/HO1xa0a2Y5NOVY Wz08Agia4R4YkGscj7l7yB0z+RVX+Kjq+BMsddR9818KnGrHyNS3fWFfppRWH6YR xqzAE/3nZ3TrwrWEItW2ckL2EFubOa/4tGEvCprVLdPDUnSQ4PLhulENjQlveN8B C4WpDTqVBK6kYaLlGFOibQ1sOlQAzY20mQ3DNYDAZVacqlLvpgo6SQVEP59C+aIq pLYa3lb3446ujkA1wpuTEZh1tLE5eu4i0H8A/KZIiZDKneX2+1o=
    =wWY9
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From gene heskett@21:1/5 to All on Thu Mar 20 22:50:01 2025
    On 3/20/25 17:11, Kleene, Steven (kleenesj) wrote:
    The software setup for my Brother DCP-L2640DW driverless laser printer is confusing the hell out of me. I'm running bookworm.
    remove cups-browsed. Then the brother drivers which fully support their printers will work.
    The printer is connected via USB only (not wireless). When I first connected it, CUPS (apparently) set up a printer Brother_DCP_L2640DW_USB automatically. A corresponding file in /etc/cups/ppd was there only when the printer was on.

    Because of a font-rendering problem, I also installed the driver supplied by Brother. Now there is a printer DCPL2640DW. It and its PPD file are always there, even when the printer is off. Sometimes there is also a third printer, DCPL2640DW_drx (drx being the desktop's name).

    Sometimes I want to use DCPL2640DW and sometimes Brother_DCP_L2640DW_USB; they have performed with some differences I won't go into (e.g. note default paper sizes below). The problem is that Brother_DCP_L2640DW_USB is by default absent. If I open a file in firefox and call print, Brother_DCP_L2640DW_USB and its PPD file appear. If I cancel the print job, it disappears within 10 seconds. If I try to just ask lp to use Brother_DCP_L2640DW_USB, it may say there's no such printer.

    Once I set Brother_DCP_L2640DW_USB as the default printer, but as soon as that printer vanished, there was no default printer.

    Below are some descriptions I've captured. You'll see some inconsistencies, but I don't know which ones to correct. Can I make DCPL2640DW and Brother_DCP_L2640DW_USB both be available full-time, with Brother_DCP_L2640DW_USB as the default? Thanks.

    -----------------------
    localhost:631

    DCPL2640DW
    Description: Brother DCP-L2640DW (USB)
    Location:
    Driver: Brother DCP-L2640DW for CUPS (grayscale, 2-sided printing) Connection: ipp://Brother%20DCP-L2640DW%20(USB)._ipp._tcp.local/ Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided

    Brother_DCP_L2640DW_USB
    Description: Brother DCP-L2640DW (USB)
    Location:
    Driver: Printer - IPP Everywhere (grayscale, 2-sided printing) Connection: ipp://localhost:60000/ipp/print
    Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

    DCPL2640DW_drx
    Description: {printer_info}
    Location: {printer_location}
    Driver: {printer_make_and_model} (grayscale, 2-sided printing) Connection: {device_uri}
    Defaults: job-sheets={job_sheets_default} media=unknown

    -----------------------
    /etc/cups/ppd:
    -rw-r----- 1 root lp 12450 Mar 20 16:19 Brother_DCP_L2640DW_USB.ppd -rw-r----- 1 root lp 11268 Mar 20 16:19 DCPL2640DW_drx.ppd
    -rw-r--r-- 1 root root 17898 Mar 20 16:14 DCPL2640DW.ppd
    -rw-r--r-- 1 root root 17898 Mar 20 16:13 DCPL2640DW.ppd.O

    -----------------------
    printers.conf shows just this
    Info DCPL2640DW
    MakeModel Brother DCP-L2640DW for CUPS
    DeviceURI ipp://Brother%20DCP-L2640DW%20(USB)._ipp._tcp.local/

    even when Brother_DCP_L2640DW_USB is available
    .

    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)