Pixelfed account: https://pxlmo.com/buffy
That I understand, but my problem is the ppd file includes paths like *cupsFilter: "application/vnd.cups-command 0 /Library/Printers/Canon/BJPrinter/Filters/Command2CanonIJ.bundle/Contents/MacOS/Command2CanonIJ"
. I extracted those binary files too, put them in a cups folder, and adapted the path to point at the correct locations, but the scripts don’t seem to work on Linux. Same thing for the turboprint thing, the commands like (canontoturboprint) are not doing anything from what I can tell
I could successfully decompress all the relevant files from the dmg file. Now I need to figure out a way of properly installing them in a cups directory. For instance, I don’t know where I should put /Library/Printers/Canon
. But it seems to me that I have all the files required to make it work.
Thanks for the recommendation! I tried both, but sadly it didn’t work.
I could extract the ppd file from the MacOS driver, but I still need to substitute some OS specific paths that lead to executable files and icc profiles, like *cupsFilter: "application/vnd.cups-raster 0 /Library/Printers/Canon/BJPrinter/Filters/Raster2CanonIJ/Raster2CanonIJS.bundle/Contents/MacOS/Raster2CanonIJS"
. Not that many, just two or three. I will most likely try to install the drivers on a MacOS VM and see if I can extract those files and place them in a Linux-specific cups directory (/usr/lib/cups
or something). I think so far the odds are even.
Update: It looks like I have all the binary files with me. Raster2CanonIJS, Command2CanonIJ, the ICC profiles and whatnot. I’m now looking for some guidance on where I should place those files on Linux, that would belong in /Library/Printers/Canon/...
, etc. on MacOS.
Thanks! It seems like the “dead link” is just telling us how to install any printer using CUPS, sadly. But the second link might help me, given that I can try to extract a ppd driver from the provided macOS drivers.
You are right, those are contradictory. I meant doing it for now and sandboxing the VM while I work on finding a solution. I’m now trying to extract the useful part of the MacOS drivers and see if I can run it natively on Linux.
Edit: I edited the original post slightly to address your point, which I fully agree with.
Thanks! I didn’t have the icc profiles correctly set, which might be one of the problems with my setup.
I was initially having issues with the
Raster2CanonIJS
andCommand2CanonIJ
binaries (that I copied to/usr/lib/cups/filter
): cups was raising some errors when executing the scripts. But after fixing those, I wouldn’t get any further errors or warnings, although the printer would simply be unresponsive while the job was set as “completed”. I will check if the problem was the lack of icc profiles under /usr/share/color/icc.