pdftk 를 이용해 pdf 파일 rotation하기

· 13년 전 · 2134
 
 
os: centos5.5 
 
 
[root@oracle data3]# rpm -ivh pdftk-1.44-2.el5.rf.i386.rpm
warning: pdftk-1.44-2.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
        jre-gcj is needed by pdftk-1.44-2.el5.rf.i386
        libgcj.so.7rh is needed by pdftk-1.44-2.el5.rf.i386
 
solve)
yum -y install java-1.4.2-gcj-compat-devel
yum -y install libgcj-devel
 
 
[root@oracle data3]# rpm -ivh pdftk-1.44-2.el5.rf.i386.rpm
warning: pdftk-1.44-2.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:pdftk                  ########################################### [100%]
 
아래 파일을 회전시켜보자
 
첫번째 페이지 회전시켰다.
[root@oracle data3]# pdftk webserver_guide_krcert.pdf cat 1D output test.pdf
 
확인하니 뒤집어져 있다. ^^
 
D: 180º.
 
L: 90º to the left.
 
R: 90º to the right.
 
 
|
댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
Linux 13년 전 조회 2,225
Linux 13년 전 조회 2,892
Linux 13년 전 조회 2,073
Linux 13년 전 조회 2,003
Linux 13년 전 조회 2,327
Linux 13년 전 조회 2,601
Linux 13년 전 조회 1,751
Linux 13년 전 조회 8,256
Linux 13년 전 조회 1,724
Linux 13년 전 조회 2,218
Linux 13년 전 조회 1,650
Linux 13년 전 조회 1,747
Linux 13년 전 조회 1,900
Linux 13년 전 조회 2,039
Linux 13년 전 조회 2,135
Linux 13년 전 조회 2,448
Linux 13년 전 조회 6,027
Linux 13년 전 조회 1,474
Linux 13년 전 조회 2,333
Linux 13년 전 조회 2,038
JavaScript 13년 전 조회 2,418
Linux 13년 전 조회 1,845
JavaScript 13년 전 조회 3,333
PHP 13년 전 조회 3,824
기타 13년 전 조회 2,766
jQuery 13년 전 조회 5,176
MySQL 13년 전 조회 3,047
PHP 13년 전 조회 2,356
Linux 13년 전 조회 1,818
Linux 13년 전 조회 1,745