biz-Streamマニュアルダイレクト印刷ガイド第5章 ログ機能・その他の設定5.2 プロパティの設定

5.2 プロパティの設定

その他の設定

ログ設定のほか、ダイレクト印刷機能に関わる設定には以下の項目があります。


  1. SilentPdfPrinter.xmlの設定


    <?xml version="1.0" encoding="UTF-8"?>
    <properties>
    	<section key="Application">
    		<entry key="browserset" type="string">iexplore=iexplore,firefox=firefox,chrome=chrome,browser_broker=Edge,RuntimeBroker=Edge</entry>
    		<entry key="maxprocessnum" type="string">10</entry>
    		<entry key="port" type="string">3000</entry>
    		<entry key="processname" type="string">DirectPrintService</entry>
    		<entry key="retry" type="string">5</entry>
    		<entry key="retryinterval" type="string">5000</entry>
    		<entry key="timeout" type="string">20000</entry>
    		<entry key="waitloopmsec" type="string">1000</entry>
    	</section>
    </properties>
    
    

    設定項目

    キー 既定値 説明
    browserset iexplore=iexplore,firefox=firefox,chrome=chrome,
    browser_broker=Edge,RuntimeBroker=Edge
    SilentPDFの起動元としてチェックOKとなるプロセス名と、そのプロセス名で起動された時の返信先ブラウザのセット
    maxprocessnum 10 SilentPdfPrinterの同時並行起動数最大値
    port 3000 ダイレクト印刷実行モジュールのポート番号
    processname DirectPrintService ダイレクト印刷実行モジュールのプロセス名
    retry 5 ダイレクト印刷実行モジュールへの接続失敗時のリトライ回数
    retryinterval 5000 ダイレクト印刷実行モジュール起動失敗時の再起動待機時間(ミリ秒)
    timeout 20000 ダイレクト印刷実行モジュールへの接続時のタイムアウト(ミリ秒)
    waitloopmsec 1000 並行起動チェックで他の処理が終了するのを待機する際のループの待機時間(ミリ秒)
    • プロパティの設定は、システム管理者からの指示があった場合のみ変更してください。
    • SilentPdfPrinterの同時並行起動数最大値を上回る数の印刷データの同時受信はできません。


  2. DirectPrintService.xmlの設定


    <?xml version="1.0" encoding="UTF-8"?>
    <properties>
    	<section key="Application">
    		<entry key="browserset" type="string">iexplore=iexplore,firefox=firefox,chrome=chrome,browser_broker=Edge,RuntimeBroker=Edge</entry>
    		<entry key="cpucheckloopmax" type="string">20</entry>
    		<entry key="cpucheckpercentage" type="string">70</entry>
    		<entry key="defaultBrowser" type="string">iexplore</entry>
    		<entry key="exitTimerEnabled" type="string">true</entry>
    		<entry key="exitTimerLimit" type="string">30</entry>
    		<entry key="histMax" type="string">100</entry>
    		<entry key="holdTime" type="string">86400</entry>
    		<entry key="port" type="string">3000</entry>
    		<entry key="queueSize" type="string">100</entry>
    		<entry key="responseTemplate" type="string">C:\ProgramData\brainsellers\DirectPrint\html\response.html</entry>
    		<entry key="spoolTimeOut" type="string">10000</entry>
    		<entry key="sppPass" type="string"></entry>
    		<entry key="timeOut" type="string">10000</entry>
    		<entry key="tmpFolderPath" type="string">C:\ProgramData\brainsellers\DirectPrint\tmp</entry>
    	</section>
    </properties>
    
    

    設定項目

    キー 既定値 説明
    browserset iexplore=iexplore,firefox=firefox,chrome=chrome,
    browser_broker=Edge,RuntimeBroker=Edge
    SilentPDFの起動元としてチェックOKとなるプロセス名と、そのプロセス名で起動された時の返信先ブラウザのセット
    cpucheckloopmax 20 CPU使用率チェックでの最大待機ループ回数
    cpucheckpercentage 70 印刷キューからの要求取り出しを行う時のCPU使用率閾値
    defaultBrowser iexplore デフォルトブラウザ識別子
    exitTimerEnabled true 時間経過によるキュー待ちスレッド終了
    exitTimerLimit 30 キュー待ちスレッドタイムアウト(秒)
    histMax 100 印刷履歴保持最大数
    holdTime 86400 印刷履歴の最大保持時間(秒)
    port 3000 ダイレクト印刷実行モジュールのポート番号
    queueSize 100 印刷キュー保持数
    responseTemplate C:\ProgramData\brainsellers\DirectPrint\
    html\response.html
    レスポンスひな形htmlファイル名
    spoolTimeOut 10000 スプーラ監視タイムアウト(ミリ秒)
    sppPass 空文字 sppファイル復号パスワード
    (base64エンコーディング済み)
    timeOut 10000 印刷タイムアウト(ミリ秒)
    tmpFolderPath C:\ProgramData\brainsellers\DirectPrint\tmp 一時ファイル作成フォルダパス
    • プロパティの設定は、システム管理者からの指示があった場合のみ変更してください。
    • 一時ファイル作成フォルダは、印刷実行者が書き込み権限を持っている必要があります。