[2442] in Enterprise Print Delivery Team

home help back first fref pref prev next nref lref last post

Re: Accounting perl script

daemon@ATHENA.MIT.EDU (Rocklyn E. Clarke)
Tue Apr 9 18:38:22 2002

Mime-Version: 1.0
Message-Id: <p05010402b8d91042dc39@[18.152.2.129]>
In-Reply-To: <5.0.2.1.2.20020401201354.00ab0cf0@hesiod>
Date: Tue, 9 Apr 2002 18:38:18 -0400
To: "Lynne E. Durland" <durland@MIT.EDU>
From: "Rocklyn E. Clarke" <rclarke@MIT.EDU>
Cc: Enterprise Printing Delivery Team <PRINTDEL@MIT.EDU>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Hi Lynne,

Well, I printed jobs from both the web and via klpr and it the job 
submitted via the web has the accounting information and the one 
submitted via klpr does not.  For the record, "accounting 
information" includes the following:

      account number (i.e. cost object)
      media
      printer (i.e. logical destination)
      sides
      copy count
      remote address (i.e. the IP address from which the job was submitted)

All of these are concatenated together (separated by "___") in the 
accounting database.  The code that does this lives in:

      /var/https/cgi-bin/mitjobsub.pl

We should probably capture this in our documentation.

I will need some time to incorporate this code into the filter that 
handles klpr submissions.  I should be able to do it by Friday April 
19.

Rocklyn

-------
At 8:16 PM -0500 4/1/02, Lynne E. Durland wrote:
>Rocklyn,
>
>I am trying to understand where the account number information is 
>falling off the stuff.
>
>I would like to know at the top of the acctrpt.pl file is a use 
>GetPrinter, where and/or what is this?
>
>there is a get_printers.pl in the /var/https/cgi-bin directory, but 
>when I do a find on GetPrinter or GetPrinter.pl I find nothing.
>
>how do I read the information in the jobticket file?
>
>Thanks
>
>Lynne
>
>Lynne E. Durland
>Information Systems
>Database Services Team
>W91-109
>P:258-5857
>E: durland@mit.edu
>H: 603-421-0940
>H: KB1FEM
>
>
>"When speaking to a Bear of Very Little Brain, remember that long 
>words may Bother Him."
>			--A.A. Milne


home help back first fref pref prev next nref lref last post