判断打印机是否可用

if(!DevExpress.XtraPrinting.PrintHelper.IsPrintingAvailable)

{

     MessageBox.Show("打印机不可用...""提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}

原文地址:https://www.cnblogs.com/djian/p/1885860.html