[Samba] Logging Pring Jobs

2003-12-17 Thread Bodhi
I found the general log that was recommended in

/var/spool/lpd/printer/acct

however someone mentioned the %j feature that would allow the printing of
the file name.  Where do I configure this, so that the acct file reflects
that?

Or let me pose this idea...does anyone know of any 3rd party gpl software
to do the trick if I can't use smb?

-Bodhi

It is fate to be born free,
 It is a privilege to live free,
 It is a responsibility to die free.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Logging Print Jobs

2003-12-16 Thread Bodhi
I am a technology coordinator for a school in Western Ohio, and I am
wanting to log print jobs to a file for review (ensuring students and
staff) are utilizing our equipment properly (At the request of my boss).

I found this in a thread..but I need some more information...or clearer
instructions.  I just want to output this same informaton to a file for
each printer.  Thanks in Advance. -Bodhi

--
I have been given the task of logging everything which is printed on my
samba server.  I thought I would test this out on a pdf printer I'm using
with samba.  I enter the following line for the print command.
  %u has printed %s from %m to %p at %T  /tmp/smbprintlog 
/usr/bin/printpdf %s
The result is similar to the following.
  joe has printed smbprn.004603.Zqq9tZ from wilmsn44 to pdftech at
2003/11/09 12:26:03
The resulting log entry is very good with the exception of %s which gives
the spool file name and not the name of the actual file.  Is there a
method
to place the actual filename of the printjob into this type of log?

--
-Bodhi

It is fate to be born free,
 It is a privilege to live free,
 It is a responsibility to die free.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Logging Print Jobs

2003-12-16 Thread Bodhi
I am using lpd I think.  My smb.conf file reads printing=lprng.  /shrug.
I hope that helps.



-Bodhi

It is fate to be born free,
 It is a privilege to live free,
 It is a responsibility to die free.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba