KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
Money will say more in one moment than the most eloquent lover can in years.
FrontPage › PDFManipulation
PDF ÆÄÀÏÀ» ÆíÁýÇϰųª ¼öÁ¤ÇÏ´Â °ÍÀº º¸Åë AdobeAcrobatÀ» ÀÌ¿ëÇÏ´Â °ÍÀÌ ÀϹÝÀûÀÌ´Ù. ±×·¯³ª ÀÌ ÇÁ·Î±×·¥Àº Àú·ÅÇÏÁö ¾ÊÀº »ó¾÷¿ë ÇÁ·Î±×·¥ÀÌ´Ù. AdobeAcrobatÀ» ÀÌ¿ëÇÏÁö ¾Ê°í PDF ÆÄÀÏÀ» ÆíÁýÇÏ´Â ¹æ¹ý¿¡ °üÇÑ ÆÁÀ» ¸ð¾Æº»´Ù.

¸ñÂ÷

1 PDF ÆÄÀÏ º¯È¯
1.1 n-up
1.2 Merge
1.3 PDF ÆÄÀÏ ÇÑÂʾ¿ ÇÕÄ¡±â
2 PDF Cropping
2.1 pdfcrop.pl
2.2 PDFTeX ÆÄÀÏÀ» ÀÛ¼ºÇÏ´Â ¹æ¹ý
2.3 ¿¹Á¦
3 PDF Select (³¹ÀåÃßÃâ)
3.1 ConTeXtÀÇ texexec¸¦ »ç¿ëÇÏ´Â ¹æ¹ý
3.1.1 ÀϺΠÆäÀÌÁö¸¸ ÃßÃâ
3.1.2 ÇÑ ÆäÀÌÁö¸¸ ÃßÃâÇÏ´Â Shell ½ºÅ©¸³Æ®
3.2 PDFPages¸¦ ÀÌ¿ëÇÏ´Â ¹æ¹ý
3.2.1 ÀϺΠÆäÀÌÁö ÃßÃâ
3.2.2 ÇÑ ÆäÀÌÁö¸¸ ÃßÃâÇÏ´Â Shell Script
3.3 pdftk¸¦ »ç¿ëÇÏ´Â ¹æ¹ý
3.3.1 ÀϺΠÆäÀÌÁö¸¸ ÃßÃâ
3.3.2 ¸ðµç ÆäÀÌÁö¸¦ °¢ À徿 ÃßÃâÇÒ·Á¸é
3.3.3 ¿©·¯ÀåÀÇ PDF¸¦ Çϳª·Î ¹­À¸·Á¸é
4 Booklet ¸¸µé±â
5 PDF º»¹® º¹»ç ¹æÁö
6 PDFJam
7 ±×¹ÛÀÇ À¯Æ¿¸®Æ¼

1 PDF ÆÄÀÏ º¯È¯

1.1 n-up

PDF ÆÄÀÏÀ» ÇÑ ÆäÀÌÁö¿¡ ¸î Âʾ¿ µé¾î°¡°Ô ÀμâÇÏ´Â °Í. PDFPages ÆÐÅ°Áö¸¦ ÀÌ¿ëÇÑ´Ù. KTUGOperate:4615

µÎ ÂÊÀ» ¸¶ÁÖº¸°Ô °¢ ÆäÀÌÁö¸¦ Ãà¼ÒÇؼ­ ¹è¿­ÇÏ´Â °æ¿ì, Áï 1x2 upÀÇ °æ¿ì¸¦ ¿¹·Î µé¾îµÐ´Ù. ¿ø·¡ÀÇ PDF ÆÄÀÏÀÌ testin.pdf¶ó°í ÇÒ ¶§, ´ÙÀ½°ú °°Àº testout.texÀ» ÀÛ¼ºÇÑ´Ù.
\documentclass[a4paper]{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-,nup=1x2,landscape,frame=false]{testin.pdf}
\end{document}

ÀÌ ÆÄÀÏÀ» PDFLaTeXÀ¸·Î ½ÇÇàÇÑ´Ù.
#> pdflatex testout

ÀÌ ¹æ¹ýÀº pdfpages.sty°¡ Á¦°øÇÏ´Â \includepdf ¸í·ÉÀ» ÀÌ¿ëÇϴµ¥, »ç¿ë·Ê¸¦ ¸î °¡Áö º¸ÀÌ¸é ´ÙÀ½°ú °°´Ù.
\includepdf[nup=1x2,landscape,pages=4-7]{foo.pdf}
\includepdf[nup=1x2,landscape,pages=4-7,turn=false]{foo.pdf}
\includepdf[nup=2x2,pages=1-4,column]{foo.pdf}

¦¼öÂʺÎÅÍ ½ÃÀÛÇÏ´Â °ÍÀ» ¹æÁöÇϱâ À§ÇÏ¿© óÀ½¿¡ ºó ÂÊÀ» ³ÖÀ¸·Á¸é
\includepdf[nup=2x2,pages={{},5-7}]{foo.pdf}

nupµÈ °¢ ÆäÀÌÁö¿¡ ÇÁ·¹ÀÓÀ» ³ÖÀ¸·Á¸é
\includepdf[nup=2x2,pages=1-4,frame]{foo.pdf}

°¢ ÆäÀÌÁöÀÇ ÀϺθ¦ trimÇÔÀ¸·Î½á ¿ø·¡ ÆäÀÌÁöÀÇ header³ª footer¸¦ Á¦°ÅÇÏ°í ½Í´Ù¸é
\includepdf[nup=2x2,pages=1-4,
            trim= 0 40mm 0 40mm,
            clip]{foo.pdf}

nupµÈ ÆäÀÌÁö¿¡ ÆäÀÌÁö ¹øÈ£¸¦ ºÙÀÌ°í ½Í´Ù¸é
\includepdf[nup=2x2,pages=1-4,pagecommand={\thispagestyle{plain}}]{foo.pdf}

1.2 Merge

See PDFMerge.

1.3 PDF ÆÄÀÏ ÇÑÂʾ¿ ÇÕÄ¡±â

µÎ °³ÀÇ PDF ÆÄÀÏÀ» °¢°¢ ÇÑ ÆäÀÌÁö¾¿ ±³Â÷ÇÏ¿© ÇÕÃļ­ ÇϳªÀÇ PDF ÆÄÀÏÀÌ µÇµµ·Ï ÇÏ´Â ¹æ¹ý from KTUGOperate:4663 (by Karnes)

ÀÌ ¹æ¹ýÀº µÎ ¹®¼­ÀÇ ÆäÀÌÁö¼ö°¡ °°°í ¸¶Áö¸· ÆäÀÌÁö¸¦ ¾Ë°í ÀÖ´Ù°í °¡Á¤ÇßÀ» ¶§ ÀÔ´Ï´Ù. °¢°¢ÀÇ ¹®¼­¸¦ ÄÄÆÄÀÏÇؼ­ a.pdf¿Í b.pdf¸¦ ¾ò¾ú°í, ÀÌ µÎ PDFÀÇ ÆäÀÌÁö°¡ ¿¹¸¦ µé¾î 10ÆäÀÌÁö¾¿À̶ó°í °¡Á¤ÇÏ°Ú½À´Ï´Ù.

´ÙÀ½°ú °°Àº total.texÀ» ÀÛ¼ºÇÕ´Ï´Ù.
\documentclass{article}
\usepackage{pdfpages}
\makeatletter
\def\for#1#2#3{\@ifnextchar[{\@for@{#1}{#2}{#3}}{\@for@{#1}{#2}{#3}[1]}}
\long\def\@for@#1#2#3[#4]#5{\setcounter{#1}{#3}\addtocounter{#1}{1}%
        \edef\for@loopend{\arabic{#1}}%
        \setcounter{#1}{#2}%
        \loop
        \ifnum \expandafter\the\csname c@#1\endcsname < \for@loopend\relax
        #5\addtocounter{#1}{#4}\repeat}
\newcounter{repeatcnt}
\makeatother

\begin{document}
\for{repeatcnt}{1}{10}{%
        \includepdfmerge{a.pdf,\therepeatcnt,b.pdf,\therepeatcnt}
}
\end{document}

ÀÌÁ¦ pdflatexÀ¸·Î total.texÀ» ÄÄÆÄÀÏÇϸé total.pdf¸¦ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. ÆäÀÌÁö ¼ö¿¡ ½Å°æ¾²½Ã°í, \includepdfmerge ¸í·É ¾È¿¡ ¸ðµç ÀÎÀÚ°¡ ÄÞ¸¶·Î ºÐ¸®µÇ¾î ÀÖ´Ù´Â Á¡¿¡ ÁÖÀÇÇÏ½Ã¸é µÉ °ÍÀÔ´Ï´Ù. ÀÌ ¿¹Á¦¿¡¼­´Â for Loop¸¦ ±¸ÇöÇÏ´Â ¿¹µµ º¸¿´½À´Ï´Ù.

2 PDF Cropping

PS ÆÄÀÏÀº PS2Eps¸¦ ¾²¸é Bounding Box¸¦ Á¶ÀýÇØÁÝ´Ï´Ù. PDF´Â Bounding Box°¡ ¾øÁö¸¸ /MediaBox Áö½ÃÀÚ·Î PSÀÇ Bounding Box¿Í µ¿ÀÏÇÑ È¿°ú¸¦ ³À´Ï´Ù. PDF ÆÄÀÏÀÇ Bounding Box¸¦ Á¤È®ÇÏ°Ô ¾Ë°í ½ÍÀ¸¸é ebb¸¦ ½ÇÇàÇغ¾´Ï´Ù.

ÀÌ MediaBox°¡ À߸øµÇ¾î ÀÖÀ» ¶§ À̸¦ ¼öÁ¤Çϰųª, ¿©¹éÀÌ Å« PDFÀÇ ¿©¹éÀ» À߶󳻴 ¹æ¹ýÀÔ´Ï´Ù.

2.1 pdfcrop.pl

Heiko Oberdiek ¾¾°¡ ÀÛ¼ºÇÑ Perl ½ºÅ©¸³Æ®ÀÔ´Ï´Ù. ´ÙÀ½Àº pdfcrop.pl --help È­¸éÀÔ´Ï´Ù.
PDFCROP 1.2, 2002/11/04 - Copyright (c) 2002 by Heiko Oberdiek.
Syntax:   pdfcrop [options] <input[.pdf]> [output file]
Function: Margins are calculated and removed for each page in the file.
Options:                                                    (defaults:)
  --help              print usage
  --(no)verbose       verbose printing                      (false)
  --(no)debug         debug informations                    (false)
  --gscmd _name_      call of ghostscript                   (gswin32c)
  --pdftexcmd _name_  call of pdfTeX                        (pdftex)
  --margins "left top right bottom"                 (0 0 0 0)
                      add extra margins, unit is bp. If only one number is
                      given, then it is used for all margins, in the case
                      of two numbers they are also used for right and bottom.
  --(no)clip          clipping support, if margins are set  (false)
  --(no)hires         using '%%HiResBoundingBox'            (false)
                      instead of '%%BoundingBox'
Examples:
  pdfcrop.pl --margins 10 input.pdf output.pdf
  pdfcrop.pl --margins '5 10 5 20' --clip input.pdf output.pdf

windows¿¡¼­ TeX Live 2010À» »ç¿ëÇÒ °æ¿ì pdfcrop.pl ´ë½Å pdfcrop À̶ó°í ºÎ¸£¸é µË´Ï´Ù.

2.2 PDFTeX ÆÄÀÏÀ» ÀÛ¼ºÇÏ´Â ¹æ¹ý

from KTUGOperate:4284 (by ÀÌ°øÈÆ) À§ÀÇ À¯Æ¿¸®Æ¼·Î À¢¸¸ÇÑ PDF´Â ´Ù º¯È¯ÀÌ µÇÁö¸¸, AdobeIllustrator¿¡¼­ ÇÑ±Û Font¸¦ Æ÷ÇÔÇÏ¿© ¸¸µé¾îÁø PDFÀÇ ÀϺΰ¡ Ghostscript¿¡¼­ ÀоîÁöÁö ¾ÊÀ» ¶§°¡ ÀÖ½À´Ï´Ù. ÀÌ·± °æ¿ì, ´ÙÀ½°ú °°Àº .tex ÆÄÀÏÀ» ÀÛ¼ºÇÏ¿© PDFTeXÀ» ½ÇÇàÇϸé PDF ÆÄÀÏÀ» ¿øÇÏ´Â Å©±â¸¸Å­ Àß¶ó³¾ ¼ö ÀÖ½À´Ï´Ù. ¿øº» ÆÄÀÏÀÌ ainput.pdfÀÎ °æ¿ì,
\def\pdffile{ainput.pdf}                % <-- file À̸§ ¼öÁ¤
\def\page #1 [#2 #3 #4 #5]{%
  \count0=#1\relax
  \setbox0=\hbox{%
    \pdfximage page #1{\pdffile}%
    \pdfrefximage\pdflastximage
  }%
  \pdfhorigin=-#2bp\relax
  \pdfvorigin=#3bp\relax
  \pdfpagewidth=#4bp\relax
  \advance\pdfpagewidth by -#2bp\relax
  \pdfpageheight=#5bp\relax
  \advance\pdfpageheight by -#3bp\relax
  \ht0=\pdfpageheight
  \shipout\box0\relax
}
\page 1 [40 290 552 552]             % <-- °ýÈ£ ¾ÈÀÇ BoundingBox ¼öÁ¤
\end
ÀÌ ÆÄÀÏÀ» ¿¹¸¦ µé¸é aoutput.texÀ¸·Î ÀúÀåÇÏ°í ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÕ´Ï´Ù.
#> pdftex aoutput

2.3 ¿¹Á¦

DVIPDFMx¸¦ ÀÌ¿ëÇÏ¿© ´ÙÀ½°ú °°Àº PDF ÆÄÀÏÀ» ¾ò¾ú½À´Ï´Ù. ( Uploads:pdfcroptestinput.pdf )
#> perl pdfcrop.pl --clip pdfcroptestinput.pdf pdfcroptestoutput.pdf
±× °á°ú ´ÙÀ½°ú °°Àº PDF ÆÄÀÏÀÌ ¸¸µé¾îÁ³½À´Ï´Ù. Uploads:pdfcroptestoutput.pdf

3 PDF Select (³¹ÀåÃßÃâ)

3.1 ConTeXtÀÇ texexec¸¦ »ç¿ëÇÏ´Â ¹æ¹ý

3.1.1 ÀϺΠÆäÀÌÁö¸¸ ÃßÃâ

cf. KTUGOperate:7332 (by DohyunKim)

ÇÑ ÆäÀÌÁö¸¸ ÃßÃâÇÏ·Á¸é texexec --pdfselect ¹æ¹ýÀ» ¾´´Ù. orig.pdfÀÇ 1ÆäÀÌÁö¸¸À» test1.pdf·Î ¾²·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.
#> texexec --pdfselect --selection=1 --batch --result=test1.pdf orig.pdf

µû¶ó¼­, 1ÆäÀÌÁöºÎÅÍ 10ÆäÀÌÁö±îÁö º°µµÀÇ PDF ÆÄÀÏ·Î ¸¸µé·Á¸é, PerlÀ» ÀÌ¿ëÇÏ¿©,
for(1..10) {
  system("texexec --pdfselect --selection=$_ --batch --result=test$_.pdf orig.pdf");
}

3.1.2 ÇÑ ÆäÀÌÁö¸¸ ÃßÃâÇÏ´Â Shell ½ºÅ©¸³Æ®

À§ÀÇ texexec·Î ÇÑ ÆäÀÌÁö¸¸ ÃßÃâÇÏ´Â °ÍÀ» Shell Script·Î ¸¸µç °Í.(Claus Gerhardt ¾¾)

#!/bin/sh
##
# pdfsel.sh
# pdfselect
#
# $1= selected pages either in form of a list x,y,z or in form of range x:y or as odd #resp. even
#filenename without suffix pdf, the resulting file is named filename-ext.pdf
# Claus Gerhardt
##


# EXTENSIONS : "*"
# OSTYPES    : "****"

for file; do
location=$(dirname "$file")
cd "${location}" && \
texexec --pdfselect --batch --silent --selection="$1" --result="${file}-ext.pdf" "${file}.pdf" \
&& rm -f "${file}-ext.tui" && rm -f "${file}-ext.tmp" && rm -f "texexec.tex" \
&& rm -f "texexec.tmp" && rm -f "texexec.tui" && rm -f "mprun.mp" rm -f "mpgraph.mp" \
&& rm -f "${file}-ext.log"
done

3.2 PDFPages¸¦ ÀÌ¿ëÇÏ´Â ¹æ¹ý

3.2.1 ÀϺΠÆäÀÌÁö ÃßÃâ

KTUGOperate:7342 (by ÀÌ°øÈÆ)

1ÆäÀÌÁöºÎÅÍ 10ÆäÀÌÁö±îÁö ÃßÃâÇÏ´Â ¹æ¹ý.

#!/usr/bin/perl

for(1..10) {
open(OUT,">test$_.tex") or die "Cannot write 'test$_.tex'";
print OUT << "EOF";
\\documentclass[a4paper]{article}
\\usepackage{pdfpages}
\\begin{document}
\\includepdf[pages=$_]{orig.pdf}
\\end{document}
EOF
close OUT;
system("pdflatex --interaction batchmode test$_");
unlink "test$_.tex","test$_.log","test$_.aux";
}

3.2.2 ÇÑ ÆäÀÌÁö¸¸ ÃßÃâÇÏ´Â Shell Script

pdfsel.sh
#!/bin/sh

PAGENUM=$1
OUTFILE=$2-ext-$1.tex

echo '\documentclass{article}' > $OUTFILE
echo '\usepackage{pdfpages}' >> $OUTFILE
echo '\begin{document}' >> $OUTFILE
echo '\includepdf[pages='$PAGENUM']{'$2'.pdf}' >> $OUTFILE
echo '\end{document}' >> $OUTFILE
pdflatex --interaction=batchmode $OUTFILE

#> sh pdfsel.sh 13 test
(ÀÔ·ÂÆÄÀÏÀÇ È®Àå¸í .pdf¸¦ ¾²Áö ¾ÊÀ½. ù¹ø° ÀÎÀÚ´Â ÃßÃâÇÏ·Á´Â ÆäÀÌÁö, µÎ¹ø° ÀÎÀÚ´Â ÀÔ·ÂÆÄÀÏ. °á°ú´Â test-ext-13.pdf¿Í °°ÀÌ ¸¸µé¾îÁø´Ù.)

µ¿ÀÏÇÑ DOS Batchfile.
@echo off
rem pdfsel.bat
echo \documentclass{article} > %2-ext-%1.tex
echo \usepackage[pdftex]{graphicx} >> %2-ext-%1.tex
echo \usepackage{pdfpages} >> %2-ext-%1.tex
echo \begin{document} >> %2-ext-%1.tex
echo \includepdf[pages=%1]{%2.pdf} >> %2-ext-%1.tex
echo \end{document} >> %2-ext-%1.tex
pdflatex --interaction=batchmode %2-ext-%1
del %2-ext-%1.aux
rem del %2-ext-%1.log
del %2-ext-%1.tex

(!) À§ÀÇ pdfsel.bat¸¦ ÀÌ¿ëÇÏ¿© Windows ¸í·ÉÇà¿¡¼­, 1ÆäÀÌÁöºÎÅÍ 10ÆäÀÌÁö±îÁö ÇÑ ÆäÀÌÁö¾¿ °¢°¢ ÇϳªÀÇ PDF·Î ¿øº» test.pdf¸¦ ÃßÃâÇÏ´Â ¹æ¹ý.
#> for /L %i IN (1,1,10) DO call pdfsel.bat %i test


3.3 pdftk¸¦ »ç¿ëÇÏ´Â ¹æ¹ý

PDFtk´Â http://www.accesspdf.com/pdftk/ ¿¡¼­ ¸¸µç freewareÀε¥ ¿©±â ¼³¸íÇÏ´Â ÆäÀÌÁö ÃßÃ⸻°íµµ PDF Merge, ¾Ïȣȭ µîÀÇ ´Ù¾çÇÑ ±â´ÉµéÀ» Á¦°øÇÑ´Ù.

3.3.1 ÀϺΠÆäÀÌÁö¸¸ ÃßÃâ

´ÙÀ½ ¿¹¸¦ ÀÎDz ÆÄÀÏÀÇ 1ÂÊ¿¡¼­ 12ÂʱîÁö ±×¸®°í 14ÂʺÎÅÍ ³¡±îÁö¸¦ ÃßÃâÇÏ´Â °ÍÀÌ´Ù.
pdftk A=in.pdf cat A1-12 A14-end output out.pdf
´ÙÀ½°ú °°Àº ÆÄÀÏ ÃßÃâ/¸ÓÁö(Çѱ¹¸»·Î ¹¹¶ó Çϳª¿ä?)µµ °¡´ÉÇÏ´Ù.
pdftk A=in1.pdf B=in2.pdf cat B1 A1-7even A1-7odd output out1.pdf

3.3.2 ¸ðµç ÆäÀÌÁö¸¦ °¢ À徿 ÃßÃâÇÒ·Á¸é

´ÙÀ½°ú °°Àº ¸í·É¾î¸¦ »ç¿ëÇÏ¸é µÈ´Ù.
pdftk input.pdf burst

3.3.3 ¿©·¯ÀåÀÇ PDF¸¦ Çϳª·Î ¹­À¸·Á¸é

´ÙÀ½°ú °°Àº ¸í·É¾î¸¦ »ç¿ëÇÏ¸é µÈ´Ù. in1.pdf, in2.pdf ¸¦ out1.pdf·Î ¸¸µé·Á¸é
pdftk in1.pdf in2.pdf cat output out1.pdf
or 
pdftk A=in1.pdf B=in2.pdf cat A B output out1.pdf
¸ðµç *.pdf¸¦ out1.pdf·Î ¹­À¸·Á¸é
pdftk *.pdf cat output out1.pdf
  • Ãâó : pdftk --help message

4 Booklet ¸¸µé±â

PDF BookletÀ̶õ ÇÑ ÂÊ¿¡ µÎ ÆäÀÌÁö¾¿ µé¾î°¡°Ô ÀμâÇÏ¿© ¾ç¸éÀμâÇÑ ÈÄ °¡¿îµ¥¸¦ öÇÏ¸é ¼ÒÃ¥ÀÚ°¡ µÇµµ·Ï ÇÏ´Â °ÍÀÌ´Ù. PDFPages ÆÐÅ°Áö, \includepdf ¸í·ÉÀÇ signature ¿É¼ÇÀ» ÀÌ¿ëÇÑ´Ù. ÁÖÀÇÇÒ Á¡Àº, signature °ªÀÌ 4ÀÇ ¹è¼ö°¡ µÇµµ·Ï ÇÏ´Â °ÍÀÌ´Ù. 11ÂÊ Â¥¸® PDF°¡ Çϳª ÀÖ°í, ÀÌ°ÍÀ¸·Î ¼ÒÃ¥ÀÚ¸¦ ¸¸µé·Á´Â °æ¿ì¸¦ »ý°¢Çغ¸ÀÚ. ¿ø ÆÄÀÏ À̸§ÀÌ doc.pdf¶ó ÇÏ°í, ´ÙÀ½°ú °°Àº aout.texÀ» ÀÛ¼ºÇÑ´Ù.
%%-----------
\documentclass{article}
\usepackage[pdftex]{graphicx}
\usepackage{pdfpages}

\begin{document}
\pagestyle{empty}
\includepdf[pages=-,signature=12,landscape]{doc.pdf}
\end{document}
%%------------

ÀÌ ¿øº» ÆÄÀÏ¿¡ ´ëÇÏ¿© PDFLaTeXÀ» ½ÇÇàÇϸé aout.pdf°¡ ¸¸µé¾îÁø´Ù. ÀÌ PDF¸¦ ¾ç¸éÀμâÇÏ¿© °¡¿îµ¥¸¦ Á¢¾î¼­ öÇغ¸ÀÚ.

signature ¿É¼ÇÀ» ÁÖ´Â °æ¿ì nup ¿É¼ÇÀº ¹«ÀǹÌÇÏ´Ù. Ç×»ó 1x2 ¶Ç´Â 2x1·Î PDF°¡ ¸¸µé¾îÁú °ÍÀÌ´Ù.

ÀÌ °úÁ¤À» ÀÚµ¿È­ÇØÁÖ´Â DohyunKim ´ÔÀÇ Perl Script. KTUGBoard:3167

5 PDF º»¹® º¹»ç ¹æÁö

KTUGOperate:12845
PDF / Encryption

DVIPDFMx¸¦ ÀÌ¿ëÇÏ¿© ¹®¼­ ¿­±â ¾ÏÈ£¸¦ °É°Å³ª Àμ⠶Ǵ ÅؽºÆ® º¹»ç/ÃßÃâÀ» Á¦ÇÑÇÏ´Â µî º¸¾ÈÀ» ¼³Á¤ÇÏ´Â ¹æ¹ý. ÀÌ°ÍÀº DVIPDFMx¸¸ÀÇ ±â´ÉÀÌ´Ù.


¸ñÂ÷


dvipdfmx.cfg¿¡ °£·«ÇÑ ¾È³»°¡ ÀÖ´Ù.
% Permission flag for PDF encryption: Revision will be 3 if the key size
% is greater than 40 bits.
%
% 0x0004 (Revision 2) Print the document.
%        (Revision 3) Print the document (possibly not at the highest quality
%        level, depending on whether bit 12[0x0800] is also set).
% 0x0008 Modify the contents of the document by operations other than those
%        controlled by bits 6[0x0020], 9[0x0100], and 11[0x0400].
% 0x0010 (Revision 2) Copy or otherwise extract text and graphics from the
%        document, including extracting text and graphics (in support of
%        accessibility to disabled users or for other purposes).
%        (Revision 3) Copy or otherwise extract text and grphics from the
%        document by operations other than that controlled by bit 10[0x0200].
% 0x0020 Add or modify text annotations, fill in interactive form fields,
%        and, if bit 4[0x0008] is also set, create or modify interactive
%        form fields (including signature fields).
%
% (Revision 3 only)
% 0x0100 Fill in existing interactive form fields (including signature
%        fields), even if bit 6 is clear.
% 0x0200 Extract text and graphics (in support of accessibility to disabled
%        users or for other purposes).
% 0x0400 Assemble the document (insert, rotate, or delete pages and create
%        bookmarks or thumbnail images), even if bit 4 is clear.
% 0x0800 Print the document to a representation from which a faithful digital
%        copy of the PDF content could be generated. When this bit is clear
%        (and bit 3 is set), printing is limited to a low-level representation
%        of the appearance, possibly of degraded quality.

±âº»°ªÀº P 0x003CÀε¥, ÀÌ°ÍÀº 40ºñÆ® º¸¾È¼öÁØ¿¡ ÇØ´çÇÏ´Â °ªµéÀ» ¸ðµÎ ´õÇÑ °ÍÀÌ´Ù. ÀÌ °¡¿îµ¥ 0x0010(Copy and Extract)¸¸ Çã¿ëÇÏÁö ¾ÊÀ¸·Á¸é ±âº»°ªÀÎ 0x003C¿¡¼­ 0x0010À» »©ÁÖ¸é µÈ´Ù.
#> dvipdfmx -S -P 0x002C foo
Æнº¿öµå¸¦ µÎ ¹ø¾¿ µÎ ¹ø ¹¯´Âµ¥, µÎ¹ø°(Áï ¼¼¹ø°) ¹¯´Â User Password¸¦ ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é ¹®¼­¸¦ ¿­ ¶§ Æнº¿öµå¸¦ ¹¯Áö ¾Ê°Ô ÇÒ ¼ö ÀÖ´Ù.

128ºñÆ® ¼öÁØÀÇ Revesion 3 º¸¾È ¿É¼ÇÀ» ÀÌ¿ëÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ µÈ´Ù.
#> dvipdfmx -K 128 -S -P 0x0D00 foo
ÇÁ¸°Æ®´Â Çã¿ëÇϸ鼭 ¿À·ÎÁö º»¹® º¹»ç/ÃßÃ⸸ ¹æÁöÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.
#> dvipdfmx -K 128 -S -P 0x082C foo


6 PDFJam

PDFJam = PDFPagesÀÇ ¸í·ÉÇà À¯Æ¿¸®Æ¼

7 ±×¹ÛÀÇ À¯Æ¿¸®Æ¼

TeX°ú ¹«°üÇÏÁö¸¸ PDF¸¦ ´Ù·ç´Â À¯Æ¿¸®Æ¼µéÀº ¸¹´Ù.
  1. PDFill

  2. PDFTools
    PDFµéÀ» ÇÕÄ¡´Â(Merge) pdcat, ÆäÀÌÁö¸¦ ÃßÃâÇÏ´Â pdsel, pdsplit, ÅؽºÆ®¸¦ PDF·Î ¹Ù²Ù´Â txt2pdf, ±×¹Û¿¡µµ ºÏ¸¶Å© Ãß°¡, ¸µÅ© Ãß°¡ µîÀ» ÇÒ ¼ö ÀÖ´Â À¯Æ¿¸®Æ¼¸¦ Á¦°øÇÑ´Ù.

  3. PDFtk
    PDF Toolkit. See PDFtk.

  4. Multivalent Tools
  5. [http]KLDPBBS Windows¿¡¼­ PostScript ÆÄÀÏ·Î ÇÁ¸°Æ® Çϱâ, PS ÆÄÀÏÀ» PDF·Î

  6. pyPDF


^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2011-09-28 13:40:31
Processing time 0.4913 sec