[cups.general] Print to a file
Jerome Alet
alet at librelogiciel.com
Mon Jun 23 09:47:31 PDT 2008
On Mon, Jun 23, 2008 at 09:11:39AM -0700, Steve Hoyle wrote:
> Thanks Jerome,
>
> I'll download and install it, think its just what I need... as
> long as it can take STDIN as a variable and print it to a specific
> directory i'll be more than happy...
It doesn't read STDIN specifically, but where the CUPS print job
comes from (usually it is STDIN, but for raw jobs it is not). This
is made transparent by Tea4CUPS for your own scripts though, you
simply have to read from the file pointed to by the $TEADATAFILE
environment variable, made available by Tea4CUPS to all its
subprocesses (i.e. your own scripts)
> Presume however Tea4CUPS is integrated in the CUPS GUI or are
> there CLI commands..??..
Depending on your release of CUPS (you need >1.1.14) Tea4CUPS will
appear in the printer's device drop down list in CUPS' web UI or not.
Anyway, Tea4CUPS is entirely "hidden" since you don't launch it from
the command line, but only as a CUPS backend.
bye
Jerome Alet
More information about the cups
mailing list