Re: CUPS error

From: George Mitchell <george+freebsd_at_m5p.com>
Date: Mon, 12 Aug 2024 14:42:25 UTC
On 8/11/24 20:51, George Mitchell wrote:
> On 8/11/24 14:47, George Mitchell wrote:
>> On 8/11/24 09:08, Cy Schubert wrote:
>>> In message <20240811120331.7afbbea3613202e2e189ed44@dec.sakura.ne.jp>,
>>> Tomoaki
>>> AOKI writes:
>>>> On Sat, 10 Aug 2024 20:22:33 -0400
>>>> George Mitchell <george+freebsd@m5p.com> wrote:
>>>> [...]
>>>> I'm not using HP printers, so just a prediction.
>>>>
>>>> Doesn't any of
>>>>    print/hplip-plugin      [1]
>>>>    print/foomatic-db-hpijs [2]
>>>> needed?
>>>
>>> This is correct. I have an HP printer and these packages are also 
>>> needed.
>>>
>>>>
>>>> [1] https://www.freshports.org/print/hplip-plugin/
>>>>
>>>> [2] https://www.freshports.org/print/foomatic-db-hpijs/
>>>>
>>>> -- 
>>>> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
>>>>
>>
>> Adding these packages does not help.  I should note that I already
>> had "hplip" (not hplip-plugin) installed, and it came with a PPD
>> file that seemingly applied to the M209dw: hp-laserjet_m207-m212.ppd.gz
>>
>> The "WWW" entry for hplip-plugin displays an official HP page that
>> claims to list all the HP printers that need the plugin, and the M209dw
>> is not one of them.
>>
>> Neither the foomatic-db-20240504 and foomatic-db-hpijs-1.4 packages
>> nor their associated web sites seem to know about the M209dw.
>>
>> Apparently the printer DOES support IPP and I CAN print to it from
>> my Android phone ...                                        -- George
> 
> Given that my color HP printer works, while the b&w is failing, I tried
> the idiotic trick of using the color printer PPD on the b&w printer.
> It no longer says that a filter failed.  (Looking at the two logs
> showed that the color printer used filters texttopdf, pdftopdf,
> pdftops, and hpps; whereas the b&w used texttopdf, texttopdf,
> gstoraster, and hpcups, with hpcups apparently being the one that
> failed.)  And in fact CUPS believed that the print job had succeeded.
> 
> But still the printer did not actually print anything.      -- George

My best guess is that something is wrong with the hpcups filter, and
substituting hpps "fixed" the filter failure and caused a light to blink
on the printer -- but no output.

I filed https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280778.
-- George