Created attachment 212792 [details]
Diff file showing file changes to solve bug.
When trying to print to a Dell C1660w using the HBBPLv1 printer driver support, CUPS fails to render and print.
Looking at /var/log/cups/error_log reason for this seems to be the following:
foo2hbpl1-wrapper: Unimplemented paper code 1.
The original package that has been used to port this to FreeBSD cannot be found however, I have fixed this on https://github.com/mikerr/foo2zjs/pull/2 or I have created a fix on my github page https://github.com/Shinbar/foo2zjs/tree/shinbar/dev2020/papersize .
The problem is in the foo2hbpl1-wrapper.in where a for a particular case statement paper sizes are passed as parameter numbered codes and the case statement is expecting paper sizes to be passed as strings. e.g. A4
I have successfully used https://github.com/Shinbar/foo2zjs/tree/shinbar/dev2020/papersize version, and compiled using gmake on FreeBSD to successfully print from FreeBSD to my Dell 1660w printer.
Attached are the changes to the offending file.
Is the patch against print/foo2zjs port?
^Triage: this is not about the package building machines.