Hitachi

EUR 帳票出力 EUR Designer/EUR Viewer編


PrinterNameプロパティ

帳票を出力するプリンタ名を指定,または取得します。

〈このページの構成〉

対象

Application

解説

PrinterNameプロパティを指定しないで,DocumentオブジェクトのPrint/PrintOutメソッドを実行すると,Windowsで通常使うプリンタとして指定してあるプリンタに印刷されます。

データ型

String

記述例

帳票を出力するプリンタ名を指定します。

rpt.Application.PrinterName = "Printer name"