*** pstoepsi.orig Fri Mar 23 11:16:48 2001 --- pstoepsi Fri Mar 23 11:27:39 2001 *************** *** 11,14 **** --- 11,15 ---- # use directives incompatible with this coversion. # -2x Use 2x resolution + # -bbonly Do not include the preview bitmap # # Note in the USAGE line below, the source PostScript file must end *************** *** 26,31 **** # Fri Sep 1 14:32:15 EDT 2000 - William C. Cheng # Make the default STYLE to be "ppm". ! USAGE="Usage: $0 [ -gs | -news ] [ -strip ] [ -2x ] .ps .epsi" ########################## Edit these variables ##################### --- 27,35 ---- # Fri Sep 1 14:32:15 EDT 2000 - William C. Cheng # Make the default STYLE to be "ppm". + # Fri Mar 23 11:18:17 PST 2001 - William C. Cheng + # Handles the "-bbonly" command line argument. ! USAGE="Usage: $0 [ -gs | -news ] [ -strip ] [ -2x ] [-bbonly] \ ! .ps .epsi" ########################## Edit these variables ##################### *************** *** 37,40 **** --- 41,45 ---- STRIP='false' HIRES='false' + PREVIEWBITMAP='true' PSTORAST='./pstorast' ###################################################################### *************** *** 58,61 **** --- 63,69 ---- shift ;; + -bbonly) PREVIEWBITMAP='false' + shift + ;; *) break ;; *************** *** 133,137 **** $PBMTOEPSI -scale 0.5 ${BASE}.ppm > $TMP1 fi ! cat $TMP1 $TMP3 > $2 else $PSTORAST -in $TMP3 -out $TMP1 --- 141,150 ---- $PBMTOEPSI -scale 0.5 ${BASE}.ppm > $TMP1 fi ! if [ "true" = "$PREVIEWBITMAP" ] ; then ! cat $TMP1 $TMP3 > $2 ! else ! head -2 $TMP1 > $2 ! cat $TMP3 >> $2 ! fi else $PSTORAST -in $TMP3 -out $TMP1