Skip to content

Canon LBP2900 on FreeBSD: no such file or directory #31

@giabao06

Description

@giabao06

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    freebsdFreeBSD-specific issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions