1psplit(1NCARG) NCAR GRAPHICS psplit(1NCARG)
2
3
4
6 psplit - a tool for splitting PostScript files with multiple frames
7 into individual PostScript files, or simply determining the number of
8 pages in a file.
9
11 usage: psplit [-c] input_file [output_file_root]
12
14 "psplit" takes a PostScript file as input (that may have multiple
15 pictures) and splits it into individual PostScript files having a
16 single frame each. If the original file has a %%BoundingBox comment in
17 it, then that comment will be inserted into each output file and the
18 output files will be EPS (encapsulated PostScript) conforming. If the
19 original file does not have a %%BoundingBox comment, then the output
20 files will not have one either. In that case, if you want the output
21 files to be EPS files, use the "ps2epsi" utility that is based on
22 GhostScript. If the -c option is present, then only the number of
23 pages in input_file is reported.
24
25 "psplit" is primarily intended to be used with PostScript files that
26 have been produced directly by NCAR Graphics, or produced from NCAR
27 Graphics by running "ctrans" with a PostScript graphcap. However,
28 "psplit" will also work on most PostScript files adhering to PostScript
29 Document Structuring Conventions (DSC).
30
31 By default the output files are named in sequence as "pict0001.ps",
32 "pict0002.ps", and so forth. If you want to specify a different root
33 name for the output files (i.e. a name different from "pict"), you can
34 specify that by entering the optional second argument.
35
37 Copyright (C) 2000
38 University Corporation for Atmospheric Research
39
40 This documentation is free software; you can redistribute it and/or
41 modify it under the terms of the GNU General Public License as
42 published by the Free Software Foundation; either version 2 of the
43 License, or (at your option) any later version.
44
45 This software is distributed in the hope that it will be useful, but
46 WITHOUT ANY WARRANTY; without even the implied warranty of
47 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
48 General Public License for more details.
49
50 You should have received a copy of the GNU General Public License along
51 with this software; if not, write to the Free Software Foundation,
52 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
53
54
55
56
57UNIX August 2001 psplit(1NCARG)