pdaccountコマンドでInfoPrintサーバーのアカウンティング情報を収集する方法

InfoPrintサーバーのアカウントログサポートをアクティブにするには、log-accounting-dataを変更してください。デフォルトでは、InfoPrint Manager値はlog-accounting-data=falseで、実宛先のデフォルトでは、サーバーの設定を使用します。従って、以下のようにlog-accounting-data属性を設定してください。

  • サーバー上のすべての宛先のアカウンティングをアクティブにするには、以下の操作を行います。

    サーバーのlog-accounting-data属性をTrueに設定します(実宛先でこの属性を指定していなかった場合、サーバーのlog-accounting-data属性が使用されます)。

  • 指定の実宛先のアカウンティングをアクティブにするには、以下の操作を行います。

    その特定の実宛先のlog-accounting-data属性をTrueに設定します。または、サーバーのlog-accounting-data属性値が使用されます。

  • サーバー上のすべての宛先のアカウンティングを非アクティブにするには、以下の操作を行います。

    特定の実宛先のlog-accounting-data属性をFalseに設定します(実宛先でこの属性を指定していなかった場合、サーバーのlog-accounting-data属性が使用されます)。

  • 指定の実宛先のアカウンティングを非アクティブにするには、以下の操作を行います。

    その特定の実宛先のlog-accounting-data属性をFalseに設定します。または、サーバーのlog-accounting-data属性値が使用されます。

log-accounting-data属性は、pdsetコマンドまたはInfoPrint Manager アドミニストレーション GUIを使用して変更できます。InfoPrint Manager アドミニストレーション GUIについては、 RICOH InfoPrint Manager for Linux:スタートガイドを参照してください。

デフォルトでは、pdaccountコマンドは、InfoPrint Managerサーバーから以下のアカウンティング情報を取得します。

  • actual destination name
  • job owner
  • global job-id
  • submission time
  • completion time
  • pages-completed
  • octets-completed
  • data stream
  • job name

アカウンティングログバージョンを使用するには、accounting-log-version値を設定してください。デフォルトでは、accounting-log-version値は設定されていません。サーバー上のすべての実宛先に同じaccounting-log-version値を使用する場合は、サーバーのaccounting-log-version属性を目的のテキスト値に設定し、実宛先でaccounting-log-version属性が設定されていないことを確認します。

accounting-log-version属性は、値が設定されている場合だけログに記録されます。accounting-log-version属性を設定することで、ログに記録された属性の現在の固定セットの後に新しいフィールドが追加され、追加アカウンティングデータの以前のレイアウトが移動します。

実宛先属性additional-accounting-log-attributesには、各宛先のアカウンティングログに記録するために定義したジョブ属性と文書属性があります。実宛先属性additional-accounting-log-attributesを使用すると、ログに含める追加のジョブ属性と文書属性を定義できます。属性は次のとおりです。

  • accounting1-text
  • accounting2-text
  • accounting3-text
  • account-text
  • actual-destinations-requested
  • address1-text
  • address2-text
  • address3-text
  • address4-text
  • auxiliary-sheet-selection
  • base-printer
  • building-text callback-number
  • chars
  • color-bits-per-plane
  • color-mapping-table
  • color-profile
  • color-rendering-intent
  • color-toner-saver
  • copy-count
  • creation-time
  • default-input-tray
  • default-medium
  • department-text
  • destination-accounting1-text
  • destination-accounting2-text
  • destination-accounting3-text
  • destination-company-text
  • destination-locations-requested
  • destination-models-requested
  • destination-name-requested
  • destination-pass-through
  • destinations-used
  • document-comment
  • document-content
  • document-file-name
  • document-finishing
  • document-type
  • email-from-address
  • email-to-address
  • font-resolution
  • form-definition
  • halftone input-tray-select
  • job-batch
  • job-client-id
  • job-comment
  • job-copies-completed
  • job-deadline-time
  • job-discard-time
  • job-finishing
  • job-media-sheet-count
  • job-originator
  • job-page-count
  • job-priority
  • job-retain-until
  • job-retention-period
  • media-sheets-completed
  • modification-time
  • mvs-destination
  • mvs-forms
  • mvs-segment-id
  • name-of-last-accessor
  • name-text
  • node-id-text
  • number-of-documents
  • number-up
  • octet-count
  • originating-company-text
  • output-format
  • page-count
  • page-definition
  • page-select
  • plex
  • print-quality
  • processing-time
  • programmer-text
  • promotion-time
  • queue-assigned
  • record-count
  • resource-context
  • results-profile
  • room-text
  • sheet-range
  • sides
  • started-printing-time
  • subject-text
  • title-text
  • user-id-text
  • user-locale
  • user-name
  • x-image-shift
  • x-image-shift-back
  • y-image-shift
  • y-image-shift-back
注意: accounting-log-version属性は、pdaccount—t allを指定した場合だけ取得できます。

ユーザー定義のアカウンティング情報は、現在のアカウンティング情報ログの末尾に追加されます。ジョブの最初の印刷可能文書の属性のみがログに記録されます。

1999年9月20日の午前8時から1999年9月27日の午前8時にServer1という名前のInfoPrint Managerサーバー上の宛先別に要約情報を要求する場合は、コマンドラインで次を指定します。

pdaccount  -t destination  -s '08:00:00 09/20/99'  -e '08:00:00 09/27/99'
Server1

InfoPrintは次のようなフォーマットで応答情報を表示します。

Destination Name,Pages Completed,Octets Completed
Printer1,12997,1989787763
Printer2,2455,17676836
Printer3,86673,189808083

ここで、Printer1は実宛先を意味し、12997は指定期間内の完了ページ数を意味し、1989787763は指定期間内の完了オクテット数を意味します。

pdaccountコマンドを使用する方法は、RICOH InfoPrint Manager:リファレンスまたはpdaccountのマニュアルページを参照してください。

種々の実宛先用DSSは、pages-completedを報告します。たとえば、PSF DSSを 使用して作成された実宛先は、データ中にあるbegin-pageend-pageの構造化フィールドのペア数に基づいて印刷されたIntelligent Printer Data Stream(IPDS)ページ数を報告します。従って、両面印刷の場合は、印刷された用紙ごとに2ページカウントとなります。 ただし、CUPS DSS により実宛先を作成した場合、印刷されたそれぞれの面は 1 ページとしてカウントされます。したがって、両面印刷の場合は、印刷された用紙ごとに2ページカウントとなります。