public static void Print(string p_printerName, ushort p_copyCnt) { WordProcessingMergerPINVOKE.Print(p_printerName, p_copyCnt); if (WordProcessingMergerPINVOKE.SWIGPendingException.Pending) { throw WordProcessingMergerPINVOKE.SWIGPendingException.Retrieve(); } }