HOME > > 莢ц膰吾鴻鴻

莢ц膰吾鴻鴻

靎≦激с鴻х研吾鴻鴻篏帥< Ubuntu 10.04 医ghostscript цс鐚篏睡潟 Ryumin-Light-UniJIS-UTF8-V絎吟с SazanamiMincho-Regular х舟鐚CUPS с医激薈ps2pdf12 pdf 医激с潟<

UTF-8 鴻<ゃ鴻罨<激с鴻綣違筝罔羣阪鴻鴻冴筝茵絖違 nkf -fw 篏ф

障絎膂≦cс

#!/bin/sh
lines=30
lnum=`wc -l $1 | cut -d\  -f1`
if [ `expr $lnum % $lines` -ne 0 ]
  then pages=`expr $lnum \/ $lines + 1`
  else pages=`expr $lnum \/ $lines`
fi
cat <<EOF
%!PS-Adobe-2.0
%%BoundingBox: 0 0 841 595
%%EndComments
%%BeginProlog
/mincho /Ryumin-Light-UniJIS-UTF8-V findfont def
/S {save gsave 18 18 translate mincho 11 scalefont setfont 760 500 moveto} def
/N {currentpoint exch 20 sub exch pop 500 moveto} def
/E {grestore restore showpage} def
%%EndProlog
%%BeginSetup
<</PageSize [841 595]>> setpagedevice
%%EndSetup
EOF
n=0
while [ $n -lt $pages ]
do
  p=`expr ${n} + 1`
  echo "%%Page:${p} ${p}"
  echo "S"
  b=`expr $n \* $lines + 1`
  e=`expr $b + $lines - 1`
  sed -ne "$b,$e {s/^/N (/; s/$/) show/; p}" $1
  echo "
E"
  n=`expr $n + 1`
done

evince 茵腓冴c鴻若潟激с鐚膰絨鐚Unicode cс潟帥潟罩c頫腓冴

罨≠
HOME


紕膣
薤藕

茯絖
沿
ユ茯


遵医