~ubuntu-branches/ubuntu/quantal/lprfax/quantal

« back to all changes in this revision

Viewing changes to .pc/debian-changes-0.6-28/scripts/banner-filter

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2010-06-24 14:09:53 UTC
  • Revision ID: james.westby@ubuntu.com-20100624140953-kdf25x7jnkf8f1d4
Tags: 0.6-28
xpdf dependency -> poppler-utils

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
. /usr/lib/lprfax/init
 
4
 
 
5
Script_Init $@
 
6
 
 
7
PF="$(cat $SPOOLD/$ACCOUNTING_FILE | grep ^$JOB | awk '{i+=$2;j++} END {print j " " i}')"
 
8
FILES=$(echo $PF | cut -f1 -d\ )
 
9
let PAGES=$(echo $PF | cut -f2 -d\ )+1
 
10
 
 
11
ID=$(Get_Faxid)
 
12
Lookup_Names $NUMBER
 
13
 
 
14
Test_Number
 
15
 
 
16
Make_Coverpage >banner.g3
 
17
 
 
18
Erun 2 g3join -s 1 banner.g3
 
19
 
 
20
exit 0