Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从 C 程序打印文件到打印机的正确方法是什么?
命令system("lpr /tmp/filename.prn");生成错误lpr: No file in print request。
system("lpr /tmp/filename.prn");
lpr: No file in print request
命令行中的相同命令完美运行。
操作系统是 Debian 9.2,内核 4.9.0,cups 是 2.2.1-8 版本