captdriver icon indicating copy to clipboard operation
captdriver copied to clipboard

Canon LBP2900 on FreeBSD: no such file or directory

Open giabao06 opened this issue 1 year ago • 2 comments

I'm setting up a Cannon LBP2900 on a jail in FreeBSD (actually TrueNAS). Using the 0.1.4.2-GxB branch, I was able to compile and install the driver, add the printer and PPD, then I tried printing a test page and CUPS webgui says no such file or directory.

Checking /var/logs/cups/error_logs and saw this: E [20/Jul/2023:10:42:38 +0700] LBP2900: File \"/usr/local/libexec/cups/filter/rastertocapt\" not available: No such file or directory

I was able to confirm that rastertocapt is available in /usr/local/libexec/cups/filter/:

root@cups:~ # ls -la /usr/local/libexec/cups/filter/
total 185
drwxr-xr-x   2 root  wheel      10 Jul 20 10:58 .
drwxr-xr-x  10 root  wheel      10 Jul 20 10:22 ..
-rwxr-xr-x   1 root  wheel   13424 Jul  8 08:18 commandtops
-rwxr-xr-x   1 root  wheel    7856 Jul  8 08:18 gziptoany
-rwxr-xr-x   1 root  wheel   51440 Jul  8 08:18 pstops
-rwxr-xr-x   1 root  wheel  127288 Jul 20 10:57 rastertocapt
-rwxr-xr-x   1 root  wheel   21144 Jul  8 08:18 rastertoepson
-rwxr-xr-x   1 root  wheel   16896 Jul  8 08:18 rastertohp
-rwxr-xr-x   1 root  wheel   19624 Jul  8 08:18 rastertolabel
-rwxr-xr-x   1 root  wheel   14312 Jul  8 08:18 rastertopwg

I was not able to add the printer via lpadmin as shown in the guide as it only says no match.

giabao06 avatar Jul 20 '23 04:07 giabao06

Have you figured how to fix that issue? @giabao06

goatastronaut0212 avatar Jun 05 '24 08:06 goatastronaut0212

Have you figured how to fix that issue? @giabao06

I kinda abandoned this as I don't have the setup anymore + used a different way to share printers

giabao06 avatar Jun 05 '24 08:06 giabao06