我们如何统一所有PDF纸张尺寸
什么实用程序,其语法使用情况如何,可以以最简单的方式在Linux上统一所有PDF纸张,最好由CLI统一?
What utility, How's its syntax usage, which can uniform all PDF paper sizes on Linux the simplest way, preferably by CLI?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以给出 ghostscript 尝试;它是用于使用PDF文件的多功能工具。
这样的东西可能对您有用:
如果您想要的纸张大小不在已知的纸张尺寸,您可以通过
-ddevicewidthpoints
和-ddeviceheightpoints
给出点(1/72的一英寸)的自定义纸张尺寸。You could give Ghostscript a try; it is a versatile tool for working with PDF files.
Something like this might work for you:
If the paper size you want is not on the list of known paper sizes, you can give a custom paper size in points (1/72ths of an inch) by
-dDEVICEWIDTHPOINTS
and-dDEVICEHEIGHTPOINTS
.