如何加载pdf文件并使用此设置进行打印?
PrintUtils.PrinterSettings.Communication.CommunicationType = CommunicationType.USB;
PrintUtils.PrinterSettings.ProgrammingLanguage = ProgrammingLanguage.ZPL;
PrintUtils.PrinterSettings.PrinterName = "PrinterName";
PrintUtils.AutoSetLabelLength();
PrintUtils.CutLabel();
示例:
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("FileName");
" doc.LoadFromFile(" FileName");"适用于新型动力学printutils?如果是,怎么样?