|
NAMEfoomatic-rip - Universal print filter/RIP wrapperSYNOPSISGeneral Options:foomatic-rip [-v] [-q] <mode-specific options>Spooler-less printing filter:foomatic-rip [-P <printer> | --ppd <ppdfile> ] [-J <jobtitle> ] [-o <option>=<value> [...]] [<files>]CUPS filter:foomatic-rip <jobid> <user> <jobtitle> <numcopies> <options> [<file>]DESCRIPTIONfoomatic-rip is a universal print filter which can be used as CUPS filter or stand-alone for spooler-less, direct printing. It has the following features:
DIRECT, SPOOLER-LESS PRINTINGOptions
foomatic-rip will print from standard input unless at least one file to be printed is specified on the command line. If your printer PPD file is stored as /usr/local/etc/direct/<printer>.ppd or ~/.foomatic/direct/<printer>.ppd you can use it by simply specifying "-P <printer>". Put a line *FoomaticRIPPostPipe: "| <command>" into the PPD file, right after *PPD-Adobe: "4.3", where <command> is a command into which you want to re-direct the output data. Due to the restrictions of PPD files <, >, and " are not allowed in the <command>, replace them as follows: Character Replacement --------------------- < < > > " " ' ' & & This way you can print directly to your printer, use *FoomaticRIPPostPipe: "| cat > /dev/lp0" or *FoomaticRIPPostPipe: "| cat > /dev/usb/lp0" for local parallel or USB printers. To make normal users able to print this way add them to the group lp and make sure that the appropriate printer device file /dev/... is group-writable for the lp group. for a TCP/Socket/JetDirect printer with the host name printer listening on port 9100 you need this: *FoomaticRIPPostPipe: "| /usr/bin/nc -w 1 printer 9100" Note the "-w 1" in the "nc" command line, it makes "nc" exiting immediately after the data is transferred to the printer. *FoomaticRIPPostPipe: "| rlpr -Plp@printserver" directs your jobs to the LPD printer queue lp on the machine named printserver. See also http://www.openprinting.org/direct-doc.html PRINTING WITH SPOOLERSee the documentation on the OpenPrinting Web site: http://www.openprinting.org/CONFIGURATION FILEThe file /usr/local/etc/cups/foomatic-rip.conf or if it is not readable the file /usr/local/etc/foomatic/filter.conf is read whenever foomatic-rip is executed. It allows one to configure the behavior of foomatic-rip as follows (lines beginning with # are comments and therefore get ignored):
FILES
EXIT STATUSfoomatic-rip returns 0 unless something unexpected happens.AUTHORTill Kamppeter <till.kamppeter@gmail.com> with parts of Manfred Wassmanns's <manolo@NCC-1701.B.Shuttle.de> man pages for the Foomatic 2.0.x filters.BUGSNone so far.Please send bug reports to the OpenPrinting bug tracker: http://bugs.linuxfoundation.org/ Use "OpenPrinting" as the product and "cups-filters" as the component.
Visit the GSP FreeBSD Man Page Interface. |