[cups.general] What file is fax log data stored in?

Michael Sweet msweet at apple.com
Thu Apr 26 08:40:37 PDT 2012


David,

Currently the files are just dumps of the raw IPP attributes for the jobs, so you can use the CUPS IPP APIs to read and parse them.  The CUPS sources have a unit test program (cups/testipp) that can read and dump the contents of the files as well.


On Apr 26, 2012, at 8:25 AM, David wrote:

> Thanks Michael!
> 
> After I enabled the root user, I was able to go into /volumes/<different volume>/var/spool/cups and see the "c" files.  But then I discovered they're binary files.  : (
> 
> Is there a utility or Unix command that would allow me to search through the "c" files (like how grep allows me to search through plaintext files)?
> 
> 
> 
>> David,
>> 
>> On Apr 24, 2012, at 11:19 PM, David wrote:
>>> When I go to http://localhost:631/printers/Internal_Modem?which_jobs=all , I see a log of the faxes I have sent.  This log has seven columns of data:  ID, Name, User, Size, Pages, State and Control. The "Name" column contains the filename, and also sometimes the name of the application from which the fax was sent.
>>> 
>>> My question is, what file is this data stored in?  It doesn't seem to be in any of the files found in /var/log/cups.
>> 
>> This is part of the job history in the "c" files in /var/spool/cups.
>> 
>>> Here is my motivation for wanting to know:  my hard drive has three partitions, allowing me to boot from Leopard, Tiger, or Panther.  Presumably when I look at the CUPS web interface fax log, I can only see faxes sent from the OS version I'm currently booted into.  But I want access to this data on the other partitions, without rebooting.
>> 
>> That's not generally possible since each OS is running a different version of CUPS with a different notion of the current jobs, job information, etc.
>> 
>> _________________________________________________________
>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>> 
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list