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>
デフォルト: | 未設定 |
IDE での相当機能: | なし |
このチューナーは、プリンターのリダイレクトがオンになっている場合に適用されます。プリンターのリダイレクトをオンにするには、printer_redirection チューナーを設定するか、PC_PRINTER_REDIRECTION_PROC ルーチンを呼び出します。