Canon’s apparent lack of working Linux support can be quite frustrating at times for users who just want a simple way to print.
The official drivers on Canon’s websites don’t seem to work on Ubuntu. So how do we go about this then?
Thankfully, there is a very simple method of getting laserjet printers to work which was found by heiplpvip. This method uses the terminal but does not require any prior knowledge.
Run the following command in the terminal to download the script.
Make it an executable by running
chmod +x canon_lbp_setup.sh
Start the script with
Enter your password when prompted as this install requires sudo permissions.
You should see a similar output giving you options. Enter
1 to install.
Choose the printer that you want to install the drivers for. If you want to install for multiple printers, make sure you install one first and then repeat from Step 3 onwards for the subsequent printers.
Enter the numeric option for your printer.
Next, connect the printer to your computer. Choose the corresponding connection option and click enter.
You should now see a whole bunch of logs come up and the script will pause.
You might see a prompt telling you to turn off the printer, wait 2 seconds, and then turn it on again. Perform this action and once done, the script will resume.
And that should be it! You might see an output similar to the following. There may be some warnings, but don’t worry we can disregard them.
Press any key to exit and enjoy your new printer!
A huge thanks again to Hiep Bao Le for finding this script and modifying it to make it globally accessible. You can check out his repository at https://github.com/hieplpvip/ubuntu_canon_printer