To create the batch file, you must use the Batch tool that is started by the Batch button on the main CASPER window.

To start CASPER in batch mode, simply use the following command at the shell prompt:
$ CASPERBYou will be asked to supply a batchfile name (if you give the root name, the .bat prefix will be appended for you). This file should be available in the directory $CASPER_PERSONAL_BATCH and should be a file created using the Batch File Creation tool.
A PostScript Target plot will be produced for each item in the batchfile, along with a text file containing more information about each plot. These will be placed in the directory $CASPER_PERSONAL_BATCHRUN.
You will be asked if you want to PRINT these files. These automatically send the plots to the default printer (the first printer in the casper_printers.dat file) during the batch run.
You are then asked to enter a root name for the files. Pressing RETURN will simply use "temp" as a root. The filenames are numbered and have prefixes added. As an example, if you have 2 items in your batch file and you choose rhea_flyby as your root name, you will create rhea_flyby_001.ps and rhea_flyby_002.ps containing the PostScript plots, and rhea_flyby_001.txt and rhea_flyby_002.txt containing the additional information for the plots.
Here is a sample batch mode run:
raptor.LPL.Arizona.EDU> CASPERB
IDL. Version 4.0.1b (OSF alpha).
Copyright 1989-1996, Research Systems, Inc.
All rights reserved. Unauthorized reproduction prohibited.
Installation number: 4152-1.
Licensed for use by: LUNAR & PLANETARY LAB, CASSINI ISS
Restoring the pre-compiled version of CASPER
CASPER restored - starting Main Routine
Enter the name of the batchfile to run: rhea_flyby_t1
tour read in = /casper/casper_2//kernels//spk/tour/T1.bsp
Running batch mode now...
PRINT results? [Y (default) or N] :
Enter root name for files [default = temp]:
Processing Entry : 1
Creating image file : /casper/casper_save//batch/results/temp_001.ps
Creating text file : /casper/casper_save//batch/results/temp_001.txt
Printing Image File
Result = Job Number is: 710
Printing Text File
Result = Job Number is: 711
Processing Entry : 2
Creating image file : /casper/casper_save//batch/results/temp_002.ps
Creating text file : /casper/casper_save//batch/results/temp_002.txt
Printing Image File
Result = Job Number is: 712
Batch Processing Completed