通过 LibreOffice,我发现这是可能的。我想知道是否还有其他免费工具
soffice" --headless --invisible --norestore --convert-to pdf filename.rtf
Windows(您为其许可证付费)包含一个免费的 RTF 到 PDF 转换器。
write /pt file.rtf "Microsoft Print to PDF" "Microsoft Print to PDF" file.pdf