#!/bin/bash

. /usr/lib/lprfax/init

Script_Init $@

PF="$(cat $SPOOLD/$ACCOUNTING_FILE | grep ^$JOB | tail -1l)"
FILES=$(echo $PF | cut -f2 -d\ )
let PAGES=$(echo $PF | cut -f3 -d\ )+1

ID=$(Get_Faxid $(echo $PRINTER | cut -f1 -d_))
Lookup_Names $NUMBER

Test_Number

Make_Coverpage >banner.g3

Erun $REMOVE $JOIN banner.g3

Erun $ABORT echo -n -e "banner$SEPS"

exit 0
