0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

linux / gv > フォルダ内にあるpsファイルをすべて連結してpdfファイルにする > gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sPAPERSIZE=a4 -dNOPLATFONTS -sOutputFile=tmp.pdf $(ls *.ps)

Last updated at Posted at 2016-11-08
動作環境
Xeon E5-2620 v4 (8コア) x 2
32GB RAM
CentOS 6.8 (64bit)
openmpi-1.8.x86_64 とその-devel
mpich.x86_64 3.1-5.el6とその-devel
gcc version 4.4.7 (とgfortran)
NCAR Command Language Version 6.3.0

1024個のpsファイルを作成した。
それを別処理したpsファイルと比較したい。

とりあえず連結してpdfファイルとすることにした。

2つのpsファイルを連結する方法は以下で見つけた。情報感謝です。
http://vikslinuxtips.blogspot.jp/2007/08/pspdf.html

それを流用して、以下を実行した。

$ gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sPAPERSIZE=a4 -dNOPLATFONTS -sOutputFile=tmp.pdf $(ls *.ps)

これですべてのpsファイルが連結したものがtmp.pdfとして作成される。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?