if(!DevExpress.XtraPrinting.PrintHelper.IsPrintingAvailable)
{
MessageBox.Show("打印机不可用...", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);}