string s = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");这个s就是当前时间的字符串然后找到你调用打印机的地方,加上去,看上去engine.Document是要打印的文件。