Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Salvador Mirzo Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: unsuccessfully install of printer brother hl-l2360dw Date: Fri, 03 Jan 2025 21:07:34 -0300 Organization: A noiseless patient Spider Lines: 366 Message-ID: <87jzbbsapl.fsf@example.com> References: <86ldw2gu39.fsf@example.com> <867c7lfetn.fsf@example.com> <865xmz46mk.fsf@antartida.xyz> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Date: Sat, 04 Jan 2025 01:07:36 +0100 (CET) Injection-Info: dont-email.me; posting-host="1443563f7876e6467f80474a28794092"; logging-data="146290"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hcO/W1aSPPaNwHnPU8dmPp6lmVonBmVA=" Cancel-Lock: sha1:uyNWSVvOAc3HS9cGg+KtdLddzEY= sha1:aC3w15Tj5QAVJY1EmIGjxTLO/CM= Bytes: 24747 groenveld@acm.org (John D Groenveld) writes: > In article <865xmz46mk.fsf@antartida.xyz>, > Salvador Mirzo wrote: >>Hi, John! I was missing the package cups-filters-1.28.17_6. After I >>installed it, that error vanished and I've been able to print with CUPS >>just fine, minus an issue with two-sided print outs (they're all coming >>out with the flip long edge option, no matter what I choose). > > I'm fairly certain your printer should not require the CUPS filters and > you should be able to spew PostScript and PDF directly: > $ nc BRWB052162167A6 9100 < example.pdf I tried this today and I got the same result. It prints the PDF content as text. First line was something like %PDF.=20=20 But hang on---I must explain that my lab has been destroyed. I was running FreeBSD and getting to know the system. It turns out FreeBSD doesn't suspend to disk yet, so I gave OpenBSD a try and I lost my ability to boot into FreeBSD. The test above I did today was actually on OpenBSD. Since you're curious, I can try to dual boot and continue our tests. I'll reinstall FreeBSD if necessary. My experience so far with respect to the printer is that all the behavior I saw in FreeBSD is present here in OpenBSD too. But I'll let you guide the investigation. If we should get back to FreeBSD, I will. By the way, right now the printer is installed with the lpadmin command line that you recommended first. CUPS sees the printer. When I try to print a couple of pages from a PDF opened in Firefox, I see the printer available in the printing dialog. However, the printer doesn't do anything. I see no errors. Both CUPS logs---access_log and error_log---display no entry relative to this attempt at print. (I did remove in CUPS the printer that was there before.) This situation is also the same thing I saw in FreeBSD when I first tried to use IPP. By the way, here's the output of that command you suggested in a previous follow-up. (Some very long lines will be included.) From the output, I found the URL http://BRWB052162167A6/net/net/airprint.html and there's a lot of detailed information about the printer there. > Looks to me like a bug in FreeBSD's CUPS port. > Rebuild CUPS with ipptool(1) on. > $ ipptool -tv ipp://BRWB052162167A6/ipp/print get-printer-attributes.test > Assuming Get-Printer-Attributes passes, what is document-format-supported? # ipptool -tv ipp://BRWB052162167A6/ipp/print get-printer-attributes.test "/usr/local/share/cups/ipptool/get-printer-attributes.test": Get-Printer-Attributes: attributes-charset (charset) =3D utf-8 attributes-natural-language (naturalLanguage) =3D en printer-uri (uri) =3D ipp://BRWB052162167A6:631/ipp/print requested-attributes (1setOf keyword) =3D all,media-col-database Get printer attributes using get-printer-attributes [P= ASS] RECEIVED: 20968 bytes in response status-code =3D successful-ok (successful-ok) attributes-charset (charset) =3D utf-8 attributes-natural-language (naturalLanguage) =3D en copies-default (integer) =3D 1 finishings-default (enum) =3D none media-default (keyword) =3D iso_a4_210x297mm media-col-default (collection) =3D {media-type=3Dstationery media-s= ize=3D{x-dimension=3D21000 y-dimension=3D29700} media-bottom-margin=3D432 m= edia-left-margin=3D432 media-right-margin=3D432 media-top-margin=3D432 medi= a-source=3Dauto media-source-properties=3D{media-source-feed-direction=3Dsh= ort-edge-first media-source-feed-orientation=3D3}} orientation-requested-default (enum) =3D portrait output-bin-default (keyword) =3D face-down output-mode-default (keyword) =3D monochrome print-quality-default (enum) =3D normal printer-resolution-default (resolution) =3D 600dpi sides-default (keyword) =3D two-sided-long-edge print-color-mode-default (keyword) =3D monochrome print-content-optimize-default (keyword) =3D auto print-scaling-default (keyword) =3D auto copies-supported (rangeOfInteger) =3D 1-99 finishings-supported (enum) =3D none media-supported (1setOf keyword) =3D iso_a4_210x297mm,na_letter_8.5= x11in,na_legal_8.5x14in,na_executive_7.25x10.5in,iso_a5_148x210mm,iso_a6_10= 5x148mm,iso_b5_176x250mm,na_number-10_4.125x9.5in,iso_dl_110x220mm,iso_c5_1= 62x229mm,na_monarch_3.875x7.5in,na_index-3x5_3x5in,na_foolscap_8.5x13in,cus= tom_min_76.2x127mm,custom_max_215.9x355.6mm media-col-supported (1setOf keyword) =3D media-type,media-size,medi= a-top-margin,media-left-margin,media-right-margin,media-bottom-margin,media= -source orientation-requested-supported (1setOf enum) =3D portrait,landscape output-bin-supported (keyword) =3D face-down output-mode-supported (1setOf keyword) =3D monochrome,auto print-quality-supported (enum) =3D normal printer-resolution-supported (1setOf resolution) =3D 600dpi,2400x60= 0dpi,300dpi sides-supported (1setOf keyword) =3D one-sided,two-sided-long-edge,= two-sided-short-edge print-color-mode-supported (1setOf keyword) =3D monochrome,auto print-content-optimize-supported (keyword) =3D auto print-scaling-supported (1setOf keyword) =3D auto,auto-fit,fill,fit= ,none generated-natural-language-supported (1setOf naturalLanguage) =3D e= n,fr,de,it,es,sv,da,no,nl,fi,pt,tr,pl,ru,cs,hu,bg,ro,sk,pt,hr,sl printer-uri-supported (uri) =3D ipp://BRWB052162167A6/ipp/print uri-security-supported (keyword) =3D none uri-authentication-supported (keyword) =3D none printer-name (nameWithoutLanguage) =3D BRWB052162167A6 printer-location (textWithoutLanguage) =3D=20 printer-info (textWithoutLanguage) =3D Brother HL-L2360D series printer-make-and-model (textWithoutLanguage) =3D Brother HL-L2360D = series printer-state (enum) =3D idle printer-state-reasons (1setOf keyword) =3D opc-life-over-warning,to= ner-low-warning ipp-versions-supported (1setOf keyword) =3D 1.0,1.1,2.0 operations-supported (1setOf enum) =3D Print-Job,Validate-Job,Creat= e-Job,Send-Document,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attr= ibutes,Identify-Printer multiple-document-jobs-supported (boolean) =3D false multiple-operation-time-out (integer) =3D 150 natural-language-configured (naturalLanguage) =3D en charset-configured (charset) =3D utf-8 charset-supported (charset) =3D utf-8 document-format-supported (1setOf mimeMediaType) =3D application/oc= tet-stream,image/urf,image/pwg-raster document-format-default (mimeMediaType) =3D application/octet-stream printer-is-accepting-jobs (boolean) =3D true queued-job-count (integer) =3D 0 pdl-override-supported (keyword) =3D attempted printer-up-time (integer) =3D 175 compression-supported (keyword) =3D none color-supported (boolean) =3D false job-creation-attributes-supported (1setOf keyword) =3D copies,finis= hings,ipp-attribute-fidelity,job-name,media,media-col,orientation-requested= ,output-bin,output-mode,print-quality,printer-resolution,requesting-user-na= me,sides,print-color-mode landscape-orientation-requested-preferred (enum) =3D 5 marker-colors (nameWithoutLanguage) =3D #000000 marker-high-levels (integer) =3D 100 marker-levels (integer) =3D 10 marker-low-levels (integer) =3D 10 marker-names (nameWithoutLanguage) =3D BK marker-types (keyword) =3D toner media-bottom-margin-supported (integer) =3D 432 media-left-margin-supported (integer) =3D 432 media-right-margin-supported (integer) =3D 432 media-source-supported (1setOf keyword) =3D auto,manual,tray-1 media-top-margin-supported (integer) =3D 432 media-type-supported (1setOf keyword) =3D stationery,stationery-lig= htweight,stationery-heavyweight,stationery-cover,envelope,envelope-heavywei= ght,envelope-lightweight,stationery-recycled,labels,stationery-bond media-size-supported (1setOf collection) =3D {x-dimension=3D21000 y= -dimension=3D29700},{x-dimension=3D21590 y-dimension=3D27940},{x-dimension= =3D21590 y-dimension=3D35560},{x-dimension=3D18415 y-dimension=3D26670},{x-= dimension=3D14800 y-dimension=3D21000},{x-dimension=3D10500 y-dimension=3D1= 4800},{x-dimension=3D17600 y-dimension=3D25000},{x-dimension=3D10477 y-dime= nsion=3D24130},{x-dimension=3D11000 y-dimension=3D22000},{x-dimension=3D162= 00 y-dimension=3D22900},{x-dimension=3D9842 y-dimension=3D19050},{x-dimensi= on=3D7620 y-dimension=3D12700},{x-dimension=3D21590 y-dimension=3D33020},{x= -dimension=3D7620-21590 y-dimension=3D12700-35560} pages-per-minute (integer) =3D 30 pdf-versions-supported (keyword) =3D none printer-device-id (textWithoutLanguage) =3D MFG:Brother;CMD:PJL,PCL= ,PCLXL,URF;MDL:HL-L2360D series;CLS:PRINTER;CID:Brother Laser Type1;URF:W8,= CP1,IS4-1,MT1-3-4-5-8,OB10,PQ4,RS300-600,V1.3,DM1; printer-icons (1setOf uri) =3D http://BRWB052162167A6/ipp/printer-i= cons-128.png,http://BRWB052162167A6/ipp/printer-icons-512.png printer-more-info (uri) =3D http://BRWB052162167A6/net/net/airprint= ..html printer-uuid (uri) =3D urn:uuid:e3248000-80ce-11db-8000-3c2af43f4d7c urf-supported (1setOf keyword) =3D W8,CP1,IS4-1,MT1-3-4-5-8,OB10,PQ= 4,RS300-600,V1.3,DM1 job-impressions-supported (rangeOfInteger) =3D 1-999 printer-geo-location (unknown) =3D unknown printer-dns-sd-name (nameWithoutLanguage) =3D Brother HL-L2360D ser= ies ========== REMAINDER OF ARTICLE TRUNCATED ==========