Subversion Repositories OpenARM Single-board Computer

Rev

Rev 302 | Rev 304 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 302 Rev 303
Line 58... Line 58...
58
        filename=${file##*/}
58
        filename=${file##*/}
59
        shortname=${filename%.*}
59
        shortname=${filename%.*}
60
        gschem -p -o $pdf_dir/$shortname.ps -s $pdf_dir/print.scm $sch_dir/$shortname.sch
60
        gschem -p -o $pdf_dir/$shortname.ps -s $pdf_dir/print.scm $sch_dir/$shortname.sch
61
        if [ -x /usr/bin/psnup ]
61
        if [ -x /usr/bin/psnup ]
62
        then
62
        then
63
            /usr/bin/psnup -p a3 -l -m -1.25cm $pdf_dir/$shortname.ps $pdf_dir/$shortname-trimmed.ps
63
            /usr/bin/psnup -p a3 -l -m -1.20cm $pdf_dir/$shortname.ps $pdf_dir/$shortname-trimmed.ps
64
        fi
64
        fi
65
        if [ -x /usr/bin/ps2pdf14  ]
65
        if [ -x /usr/bin/ps2pdf14  ]
66
        then
66
        then
67
            /usr/bin/ps2pdf14 -sPAPERSIZE=a3 $pdf_dir/$shortname-trimmed.ps $pdf_dir/$shortname.pdf
67
            /usr/bin/ps2pdf14 -sPAPERSIZE=a3 $pdf_dir/$shortname-trimmed.ps $pdf_dir/$shortname.pdf
68
        fi
68
        fi