blob: 2dce848e267debbf83fda00e31845e6e776182fe [file] [log] [blame]
osdl.org!shemmingeraba5acd2004-04-15 20:56:59 +00001#! /bin/bash
2# $1 = Temporary file . "string"
3# $2 = File to process . "string"
4# $3 = Page size . ie: a4 , letter ... "string"
5# $4 = Number of pages to fit on a single sheet . "numeric"
6
7if type psnup >&/dev/null; then
8 echo "psnup -$4 -p$3 $1 $2"
9 psnup -$4 -p$3 $1 $2
10elif type psmulti >&/dev/null; then
11 echo "psmulti $1 > $2"
12 psmulti $1 > $2
13else
14 echo "cp $1 $2"
15 cp $1 $2
16fi