agalakhov / captdriver

Driver for Canon CAPT printers
GNU General Public License v3.0
143 stars 62 forks source link

Featue Request: LBP5000 suppot #30

Open DeeKey opened 4 years ago

DeeKey commented 4 years ago

If it possible to support LBP5000 model? Or the protocol is totally different there?

agalakhov commented 4 years ago

The protocol is very similar and the compression is the same. But one has to reverse-engineer the differences first. Unfortunately I don't have access to LBP5000. I can only explain how this could be done.

DeeKey commented 4 years ago

I was able to install it on Ubuntu 20.20 using official driver and this installation script: https://github.com/hieplpvip/ubuntu_canon_printer

But I would like to use this printer remotely with some sort of print server. Some open software base router (like openwrt) would be a perfect solution for that! Currently my printer LBP5000 has only USB connection.

DeeKey commented 4 years ago

I can make some remote connection to this printer. What kind of service needed? Only SSH command line or X server as well?

DeeKey commented 4 years ago

Also I can follow instructions to reverse engineer and add support for this printer.

agalakhov commented 4 years ago

In order to reverse engineer you need the following:

There are some helper utilities written by me at early stages of reverse engineering, you can make use of them. They're here: https://github.com/agalakhov/anticapt Another possibility is, take the "captfilter" binary from the official Linux driver. It generates output containing some (but not all) commands needed to print. Try running it with different input parameters and look what it does.

DeeKey commented 4 years ago

Thank you! Will try to play with it when time permits!