ArticleslgStudy

computer science

Foomatic

Foomatic is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Foomatic rather than just read about it. In short: Foomatic is a configurable printing filter. It uses PPD files as configuration to generate appropriate output for a given printer.

Foomatic — main illustration
Foomatic — illustration

Key takeaways

  • Foomatic belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Foomatic to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Foomatic from memory before moving on to harder problems.

Reference excerpt

Foomatic is a configurable printing filter. It uses PPD files as configuration to generate appropriate output for a given printer. It is spooler independent which means it can be used with CUPS, LPRng and others. It uses Ghostscript in the background, using options according to the PPD file of the printer. Currently it is developed by the OpenPrinting workgroup of the Linux Foundation.

Operation Like CUPS, foomatic supposes that applications will produce output in PostScript. If the output spools to a PostScript printer, no further action is needed. Otherwise, the most generic way to act is:

Create a raster file from the PostScript (ps2raster, usually using Ghostscript in the background) Create a printer-language file from the raster data (raster2xxx, using the raster driver of the target printer) Send the printer-language file to the printer But if foomatic-rip "knows" about the available printer, it will translate the PostScript data directly to the printer's language, without creating the intermediate raster file.

Description of the package The components of the package are:

foomatic-filters (or "foomatic-rip") It transforms PostScript data to raster (or to the printer's native language), using the PPD as configuration. It needs a low level driver (specific to each printer) to generate the final code. foomatic-tools foomatic-db-engine: A tool that generates PPD files from the data in Foomatic's database. It also contains scripts to directly configure print queues and handle jobs. foomatic-db: The collected knowledge about printers, drivers, and driver options in XML files, used by foomatic-db-engine to generate PPD files. foomatic-db-hpijs: Foomatic XML data generators for HP's HPIJS driver.

Free drivers that can interface with foomatic The following free drivers were specifically developed to work with foomatic:

pxlmono and pxlcolor, to work with HP LaserJets ljet4, also for LaserJet printers hpijs Archived 2009-04-22 at the Wayback Machine, for PCL inkjet printers SpliX, for Samsung Printer Language gdi, for Samsung SmartGDI ptouch-driver, for Brother P-touch series of label printers

Spoolers that can interact with foomatic CUPS LPRng LPD GNUlpr (see its SourceForge page) Solaris LP PPR CPS Direct printing (no spooler)

References

See also

External links Foomatic page Archived 2016-05-27 at the Wayback Machine Foomatic page retrieved 2025-03-16

Illustrations

Foomatic: Linux/Unix printing process. The foomatic filter is applied when conversion from PostScript to raster takes place.
Linux/Unix printing process. The foomatic filter is applied when conversion from PostScript to raster takes place.

Worked examples

Example 1 — a first encounter with Foomatic

Start with the simplest possible case. Write down what Foomatic claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Foomatic before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Foomatic ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Foomatic

In research
Foomatic appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Foomatic in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Foomatic is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer printing, Linux, so understanding it makes those chapters shorter.
In everyday life
Look for Foomatic outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Foomatic” →

How to study Foomatic in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Foomatic means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Foomatic out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Foomatic in simple terms?

Foomatic is a configurable printing filter. It uses PPD files as configuration to generate appropriate output for a given printer.

Why does Foomatic matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Foomatic?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Foomatic.

Tags

  • Computer printing
  • Linux

Keep exploring