lpdomatic command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lpdomatic: command not found
or when using sudo you get the following error message
sudo: lpdomatic: command not found
Solutions to lpdomatic: command not found
How To Fix lpdomatic: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lpdomatic is provided by foomatic-filters package.
foomatic-filters is:
Foomatic is a printer database designed to make it easier to set up common printers for use with UNIX-like operating systems. It provides the “glue” between a print spooler (like CUPS or lpr) and the printer, by processing files sent to the printer.
This package consists of filters used by the printer spoolers to convert the incoming PostScript data into the printer’s native format using a printer-specific, but spooler-independent PPD file.
For use with CUPS, you will need both the cups and cups-client packages installed on your system.
To fix this problem, we can install more using the command below.
sudo apt-get -y install foomatic-filters
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install foomatic-filters.
sudo apt -y install foomatic-filters
Or if you have aptitude installed you can use the following command.
sudo aptitude install foomatic-filters
Summary
In this tutorial we learn how to fix lpdomatic command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.