如何使用此设置加载 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 一起使用?如果是,如何?