We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let args = vec![ "-sDEVICE=mswinpr2", // 指定为 Windows 打印设备 "-dNOPAUSE", // 禁止暂停 "-dNOPROMPT", // 禁止提示 "-dBATCH", // 支持批处理模式 "-sstdout=%stderr", // 将标准输出重定向到标准错误 output_file_arg.as_str(), "-sFONTPATH=C:/Windows/Fonts", // 指定使用系统字体路径 "-sSUBSTFONT=\"Microsoft 2222YaHei\"", // 指定使用微软雅黑作为替代字体 "-dPDFNOCIDFALLBACK", // 禁用内置 CID 字体回退(适合中文打印需求) "-dPDFUSEEMBEDDEDFONTS=false", // 使用嵌入的字体 pdf_path, ];
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: