FOOMATIC-CONFIGURE(1)
π
foomatic-configure β from the General Commands Manual (manual name: FOOMATIC-CONFIGURE(1))
β¨ NAME β¨
okay so foomatic-configure is the main configuration program of the foomatic printing system β that's the whole NAME vibe, bestie.
π¦ SYNOPSIS π¦
foomatic-configure [OPTION]...
foomatic-configure -n queuename [ -N description ] [ -L location ] [ -c connect ] [ -d driver ] [ -p printer ] [ --ppd ppdfile ] [ -s spooler ] [ -C [ sourcespooler ] sourcequeue ] [ -o option1=value1 -o option2 ... ] [ -q ]
foomatic-configure -D -n queuename [ -s spooler ] [ -q ]
foomatic-configure -R -n queuename [ -s spooler ] [ -q ]
foomatic-configure -Q [ -s spooler ] [ -n queuename ] [ -r ]
foomatic-configure -P [ -s spooler ] [ -n queuename ] [ -d driver ] [ -p printer ] [ --ppd ppdfile ] [ index ]
foomatic-configure -X -p printer | -d driver | -p printer -d driver
foomatic-configure -O
foomatic-configure -h
foomatic-configure --help
π DESCRIPTION π
foomatic-configure is the program that sets up and configures print queues for every known spooler β like literally CUPS, LPRng, LPD, GNUlpr, PPR, PDQ. CPS, and no spooler β and for every valid printer/driver combo in the Foomatic database, or every PPD file that comes with PostScript printers. π
As RIP filter (Raster Image Processor, translation from PostScript to the native language of the printer), foomatic-rip(1) is always used β except for PPD files of PostScript printers under CUPS or PPR, because those are used without a RIP filter. no cap.
It also comprises half of a programatic API for user tools: you can learn and control everything about the static properties of print queues here. With sister program foomatic-printjob(1), you can do everything related to the print queue's dynamic state: submit jobs, and query, cancel, reorder, and redirect them. π«Ά
πΈ Options πΈ
-n queuenameβ configure this print queue.-N Name/Descriptionβ use this proper human-readable name/description.-L Locationβ short phrase describing this printer's location.-c connectionβ printer is connected thusly (exfile:/dev/lp0).-d driverβ Foomatic database name for desired printer driver.-p printerβ Foomatic id for printer.--ppd ppdfileβ PPD file, for example the one supplied by the manufacturer of a PostScript printer.-s spoolerβ explicit spooler type (cups,lpd,lprng,pdq,ppr,direct).-o option=valueβ set the default ofoptiontovalue.-o optionβ turn onoptionby default.-Dβ set this queue as the default queue (just give-n queuename).-Rβ remove this whole queue entirely (just give-n queuename).-C [ sourcespooler ] sourcequeueβ copysourcequeuefromsourcespooler(or the current one ifsourcespooleris not given) into the queue given by-n queuename(of the current spooler).-Qβ query existing configuration (gives XML summary).-rβ list also remotely defined queues (CUPS only).-P [ index ]β get Perl dump of current configuration (as a Perl array namedQUEUES, the first index isindex, or zero ifindexis not given).-Oβ print XML Overview of all known printer/drivers (this shows also the Foomatic IDs of the printers).-Xβ print XML data for-p printerand/or-d driverobject.-qβ run quietly.
π Commands π
No commands, just options. Periodt. π
π SEE ALSO π
π EXIT STATUS π
foomatic-configure returns 0 if no errors occurred. That's it.
π AUTHOR π
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using comments from the source. π
π BUGS π
Okay, bug time: foomatic-configure currently cannot handle printcap files in the lprng style. As lprng can use BSD style printcaps this is not much of a problem, as long as the GUI based print manager lprngtool is not used. The difference between those formats is, that BSD style requires continuation lines in printer definitions to be ended with a colon and the newline character to be escaped with a backslash. Lprng has no such restriction.
To use a printcap file generated or edited with lprngtool with foomatic-configure it is necessary to add :\ to the end of all but the last line of every printer definition, just as shown below:
#comment
# primary printer name
lp
#alternate names
|lp2|lp3
|Example of a printer
:sd=/usr/spool/LPD/lp
:rw:lp=/dev/lp:mx#100
:
must be converted to:
#comment
# primary printer name
lp\
|lp2|lp3\
|Example of a printer\
:sd=/usr/spool/LPD/lp:\
:rw:lp=/dev/lp:mx#100:
This manpage may be out of date. π
xoxo, the Foomatic Project π β dated 2002-01-06 β and yeah, this iconic manual page is FOOMATIC-CONFIGURE(1) π«Άβ¨
π¦ where this page comes from
- centos-stream 10: foomatic 4.0.13-33.el10 Β· GPL-2.0-or-later
- centos-stream 9: foomatic 4.0.13-19.el9 Β· GPLv2+
- fedora 43: foomatic 4.0.13-34.fc43 Β· GPL-2.0-or-later
- fedora 44: foomatic 4.0.13-35.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms