WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -3589,12 +3589,11 @@ { Console.WriteLine($"📄 正在打印到 {printerName}: {Path.GetFileName(filePath)}"); string command = $"lpr -P {printerName} \"{filePath}\""; // 使用 lp 命令,添加 -o raw 选项 string command = $"lp -d {printerName} -o raw \"{filePath}\""; ExecuteShellCommand(command); } /// <summary> /// 执行 Shell 命令 /// </summary>