[cups.general] obtaining from the logs of cups

Klaus Singvogel kssingvo at suse.de
Fri May 14 16:53:01 PDT 2004


arcanox at msn.com wrote:
[...]

> I am found in almost all the archives that the field job-name appears like
> "stdin" not like representing this, or as profit to obtain or to register the
> name of the file that send to the printer.
> 
>   The impressions that are made solicit through OpenOffice or from Mozilla or to
> from the line of commandos of the Shell (bash)
> 
>  Soon also from http://localhost:631/jobs?which_jobs=completed that is the
> interface Web of cups I can find a registry of the impressions, but also stdin
> appears to me in the Name field the values or in the case of Acrobat it appears
> AcroQd8ojy
> 
> I appreciate you can illuminated to us much with your knowledge to be able to
> generate these reports of suitable form.

"stdin" is a basic knowledge in Linux/Unix: a program is sending
data via a pipe to another program. Example: lp < /etc/hosts

You cannot determine which program it was, neither what the name
of the printed file was, if any. Its impossible.

If you read filenames like "AcroQd8ojy" then its a temporary filename
generated by acrobat, where PDF data is transformed into PostScript
format. The file name is neither given to the print command.

I doubt that you can generate a useful report, as any program can
always pipe data to your printing command. This is one of the
fundamental basics in Unix/Linux.

I think NT (and successors) is offering the same feature.

Sorry.

Regards,
	Klaus.
-- 
Klaus Singvogel
SuSE Linux AG
Maxfeldstr. 5                     E-Mail: Klaus.Singvogel at suse.com
90409 Nuernberg                   Phone: +49 (0) 911 740530
Germany                           GnuPG-Key-ID: 1024R/5068792D  1994-06-27





More information about the cups mailing list