printer_defaults

プリンターのリダイレクトが有効になっている場合に、特定のデフォルト プリンターの設定を指定します。
注: このチューナーは .NET COBOL でのみサポートされます。

Visual Studio では、これらの詳細を構成ファイルで設定します。

構文:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
 <configSections>
  
  <sectionGroup name="MicroFocus.COBOL.Runtime">
   <section name="Tunables" type="System.Configuration.NameValueSectionHandler" />
   <section name="Switches" type="System.Configuration.NameValueSectionHandler" />
  </sectionGroup>
</configSections>


 <MicroFocus.COBOL.Runtime>
  <Tunables>
   <add key="printer_redirection" value="true" /> 
   <add key="printer_defaults" value="size=20;font=Courier New;printer.name=\\svr-ptr\office-ptr" /> 
  </Tunables>
  <Switches></Switches>
 </MicroFocus.COBOL.Runtime>
</configuration>

パラメーター:

font
フォントの名前
size
フォントのサイズ
title
スプーラー ジョブの名前
printer.name
Windows で認識されるプリンターの名前

プロパティ:

デフォルト: 未設定
IDE での相当機能: なし

説明:

このチューナーは、プリンターのリダイレクトがオンになっている場合に適用されます。プリンターのリダイレクトをオンにするには、printer_redirection チューナーを設定するか、PC_PRINTER_REDIRECTION_PROC ルーチンを呼び出します。