mikerr / foo2zjs

HBPLv1 driver for CUPS
Other
16 stars 14 forks source link

foo2hbpl1-wrapper: Unimplemented paper code 1 Error #2

Closed Shinbar closed 1 year ago

Shinbar commented 4 years ago

Trying to use this code to get a Dell 1660w printer working with Ubuntu 18-04LTS. All compiled correctly, selected new available Dell 1660 in CUPS, however could not print to the printer. Switched on CUP debugging to find the error: foo2hbpl1-wrapper: Unimplemented paper code 1

Found article [https://www.raspberrypi.org/forums/viewtopic.php?t=73619&start=25]

It looks like the Dell-1660.ppd file sends the paper size as a parameter(-p1 for A4) and not a paper size itself (A4|a4).

Have amended foo2hbpl1-wrapper.in to interpret both paper sizes & paper parameters. This has fixed the issue on a Dell-1660 printer and it is possible to print from an Ubuntu 18.04 LTS to a Dell 1660w Printer.

DestyNova commented 2 years ago

I manually applied this against the version here and it works on my Dell C1760nw (rebadged Xerox 6000B, I think).

DestyNova commented 2 years ago

:+1:

stephen-mw commented 1 year ago

Thank you so much for surfacing this fix!