制作双面 pdf 布局,每张有多页

问题描述 投票:0回答:1

假设我有所附的pdf,有八个A6(即105 x 74.25毫米)页(标记为,例如A A'B B'C C'D D'),我想制作一个有两个A5(即210页)的pdf x 148.5 毫米)可进行双面打印的页面。所以基本上这两页应该是

-----------
| A  | B  | 
-----------
| C  | D  | 
-----------

-----------
| B' | A' | 
-----------
| D' | C' | 
-----------

我尝试了

pdf2ps test.pdf test1.ps; psbook -s4 test1.ps test2.ps; psnup -w21cm -h14.85cm -W10.5cm -H7.43cm -4 test2.ps test3.ps; ps2pdf test3.ps
,但没有成功。在 ChatGPT 之后,我也尝试了
pdfjam --paper a5paper --landscape --nup 2x1 --outfile output.pdf test.pdf 1,2 3,4 5,6 7,8
,但也没有成功。任何想法?预先感谢!

pdf layout postscript
1个回答
0
投票

得到如下结果:-

您可以使用跨平台的Coherent Graphics cpdf,有可下载的二进制文件和API / SDK版本可用。 https://github.com/coherentgraphics

每个文件的命令将类似于 3 个步骤(重新排序、组装、重新缩放)

cpdf -merge "/path to/test.pdf" 1,3,5,7,4,2,8,6 AND -impose a4landscape AND -scale-to-fit a5landscape -o "/path to/output.pdf"
© www.soinside.com 2019 - 2024. All rights reserved.