Testing the Ghostscript drivers (so called Ghostscript 'devices')
by running them with the Ghostscript example files
and other test files.

Basically what happens is (bash-like syntax):

gs_options="-q -r50 -dNOPAUSE -dBATCH -dSAFER -sOutputFile=/dev/null"
gs_devices=$( gs -h | sed -n -e '/alc1900/,/xes/p' | tr -s '[:space:]' ' ' )
example_files=$( ls -1 /usr/share/ghostscript/*/examples/*.p* )
for gs_device in $gs_devices
do for example_file in $example_files
   do echo "Testing $gs_device with $example_file"
      if gs $gs_options -sDEVICE=$gs_device $example_file
      then echo "Seems OK for $gs_device with $example_file"
      else echo "Failure for $gs_device with $example_file"
      fi
   done
done

See "gs -h" and "man gs".

Description
No description provided
Readme 37 KiB
Languages
RPM Spec 100%