k2pdf没有检测到我想提取5-10页
sudo /bin/k2pdfopt Mer.pdf -p 5-10 -s -ui- -o Con.pdf
我得到错误:
No pages to convert (-p 5-10)!
手册:https://manpages.ubuntu.com/manpages/lunar/man1/k2pdfopt.1.html
例子:https://www.willus.com/k2pdfopt/help/custom3.shtml
https://www.willus.com/k2pdfopt/help/filesize.shtml
简化命令到
sudo /bin/k2pdfopt -ui- -wrap- -col 1 -fc- -w 1s -h 1s -ocr- -bpc 2 -p 1-6 Mer.pdf -o Con.pdf
它有2页而不是6页,并且只分析了3页:
SOURCE PAGE 3 (3 of 3) (8.3 x 11.7 in) ... 0 pages saved
2 pages written
尝试了许多包含选项-p的简单命令,或者没有,决定解决方案是重新安装k2pdf
。在Linux中,它意味着用packagist删除旧的安装,下载自[https://www.willus.com/k2pdfopt/download/?-1680282346][1]粘贴到bin
sudo chmod 777 /bin/k2pdfopt
工作![1]: https://www.willus.com/k2pdfopt/download/? - 1680282346