プリンタ選択

解決


ガオ〜  2008-02-07 13:55:55  No: 29701  IP: 192.*.*.*

Windows Vista
Delphi 2007
以上の環境なのですが、
PrintDialogでプリンタを選択した時に
選択したプリンタ名称が何なのか、かわかるような
プロパティなどはあるのでしょうか。

編集 削除
DEKO  2008-02-07 15:56:32  No: 29702  IP: 192.*.*.*

usesにPrintersを追加し、
Printer.Printers[Printer.PrinterIndex]
を参照してみて下さい。

編集 削除
ガオー  2008-02-08 09:14:22  No: 29703  IP: 192.*.*.*

DEKOさんご回答ありがとうございます。
早速試したところ、想定通りの動きをしてくれました。
ありがとうございます。

編集 削除