Hey I am in the middle of writing a tiny bash script (so that I can use mpage to make my HP DeskJet500C print double sided and two per page). I was just wondering if anyone knew how to divine the number of pages contained in a postscript file (a script-friendly way, ie without looking at the file in ghostview). I need that for padding with blank pages (to get the write number of pages for the double sided thing). Thanks Stephen -- Depend on the rabbit's foot if you will, but remember, it did not help the rabbit much -- R.E. Shay -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
