$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Canon MG5140/MG5150 Debian Driver Easy Guide

May 31, 2019 | By the+gnu+linux+evangelist.

Setting up Driver

  1. 2. Installing Dependencies

    Then to Install Required Packages
    First, Update the Apt Repos sources:

    sudo apt update

    If Got “User is Not in Sudoers file” then see: How to Enable sudo
    And then Execute:

    sudo apt-get install cups libxml2 libglade2-0 libpng1* libtiff*
  2. 3. Downloading Driver

    Download Canon MG5140/MG5150 Printers Linux Driver

    Canon MG5140/MG5150 Linux .deb 32/64-bit

    Select the Linux 32/64-bit OS from Drop-Down
    And a Driver is Valid for All Series Printer
    So Eg: for “MX495” is Good for All the “MX490” Series
    And again the “MG2240” for “MG2200” Series.

  3. 4. Extracting Archive

    Extract into the /tmp Directory
    Possibly Double-Click/Right-Click to Open with the Archive Manager:

    Installing Canon MG5140/MG5150 Printer Driver on Debian - Extract
  4. 5. Setting up Driver

    Now to Install Canon Printer Driver
    Access the Target location:

    cd /tmp/cnijfilter*

    Run the Installation script:

    sudo ./install.sh

You could be asked to Connect and Turn On the Printer…
In case of Installation Issues see this Troubleshooting!
How to Install Canon PIXMA MG5140/MG5150 Printer Driver on Debian - Installing
Now if in the Output you find trace of some Missing Package then try first to execute:

cd packages

Then for 64-bit Systems:

sudo apt install ./*amd64.deb

And instead for 32-bit:

sudo apt install ./*i386.deb