我正在按照在线说明操作并尝试旋转顺时针90度的所有页面
pdftk in.pdf cat 1E output out.pdf
但后来我收到以下错误
Error: Unexpected text in page range end, here:
1
Exiting.
Acceptable keywords, for example: "even" or "odd".
To rotate pages, use: "north" "south" "east"
"west" "left" "right" or "down"
Errors encountered. No output created.
Done. Input errors, so no output created.
我无法想象我做错了什么
答案 0 :(得分:2)
指南针的方向应该是完整的(EAST
而不是E
)。
要旋转第一页:
pdftk t/helloworld.pdf cat 1EAST output out.pdf
要旋转所有页面(页面范围1-end
):
pdftk t/helloworld.pdf cat 1-endEAST output out.pdf