Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プリンターの情報を取得しようとしています。WMI を使用すると、一部の情報を取得できますが、ジョブが送信された場合に限られます。
ジョブを送信する前に、プリンターの用紙がなくなっていないか確認する必要があります。
これは可能ですか?
私はそれを自分で使用したことはありませんが、ここを見てください:
http://msdn.microsoft.com/en-us/library/system.printing.printqueue.isoutofpaper.aspx