logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

foomatic-configure - the main configuration program of the foomatic printing system.

Author

       Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using comments from the source.

Bugs

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.

Foomatic Project                                   2002-01-06                              FOOMATIC-CONFIGURE(1)

Description

foomatic-configure  is  a  program  to  set  up and configure print queues for every known spooler (CUPS,
       LPRng, LPD, GNUlpr, PPR, PDQ. CPS, no spooler) and every  valid  printer/driver  combo  in  the  Foomatic
       database  or  every  PPD  file  coming  with  PostScript printers. As RIP filter (Raster Image Processor,
       translation from PostScript to the native language of the printer) always foomatic-rip(1) will  be  used,
       except for PPD files of PostScript printers under CUPS or PPR, they will be used without RIP filter.

       It  also  comprises half of a programmatic API for user tools: you can learn and control everything about
       the static properties of print queues here. With the 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-nqueuename
                 Configure this print queue

       -NName/Description
                 Use this proper human-readable name/description

       -LLocation
                 Short phrase describing this printer's location

       -cconnection
                 Printer is connected thusly (ex file:/dev/lp0)

       -ddriver Foomatic database name for desired printer driver

       -pprinter
                 Foomatic id for printer

       --ppdppdfile
                 PPD file, for example the one supplied by the manufacturer of a PostScript printer

       -sspooler
                 Explicit spooler type (cups, lpd, lprng, pdq, ppr, direct)

       -ooption=value
                 Set the default of option to value

       -ooption Turn on option by default

       -D        Set this queue as the default queue (just give -nqueuename)

       -R        Remove this whole queue entirely (just give -nqueuename)

       -C[sourcespooler]sourcequeue
                 Copy sourcequeue from sourcespooler (or the current one if sourcespooler is not given) into the
                 queue given by -nqueuename (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 named QUEUES, the first index is index,
                 or zero if index is 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 -pprinter and/or -ddriver object

       -q        Run quietly

   Commands
       No commands, just options

Exit Status

foomatic-configure returns 0 if no errors occurred.

Name

       foomatic-configure - the main configuration program of the foomatic printing system.

See Also

foomatic-printjob(1), foomatic-rip(1)

Synopsis

foomatic-configure [OPTION]...

       foomatic-configure-nqueuename[-Ndescription]  [ -L   location  ]  [ -c  connect  ]  [ -d  driver  ]
       [ -p  printer  ]  [ --ppd  ppdfile  ]  [ -s   spooler   ]  [-C[sourcespooler]sourcequeue][-ooption1=value1-ooption2...][-q]foomatic-configure-D-nqueuename[-sspooler][-q]foomatic-configure-R-nqueuename[-sspooler][-q]foomatic-configure-Q[-sspooler][-nqueuename][-r]foomatic-configure-P[-sspooler][-nqueuename][-ddriver][-pprinter][--ppdppdfile][index]foomatic-configure-X-pprinter|-ddriver|-pprinter-ddriverfoomatic-configure-Ofoomatic-configure-hfoomatic-configure--help

See Also