[Bug 245128] print/foo2zjs HBPLv1 printers Dell 1660w Not Printing foo2gbpl1-wrapper: Unimplemented paper code 1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 28 14:00:23 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245128

            Bug ID: 245128
           Summary: print/foo2zjs HBPLv1 printers Dell 1660w Not Printing
                    foo2gbpl1-wrapper: Unimplemented paper code 1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: richard.shine at gmail.com

Created attachment 212792
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212792&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list