Displaying 1 result from an estimated 1 matches for "pdfcountfil".
Did you mean:
pdfcountfile
2004 May 28
0
Samba PDF printer...
...# Username supplied to samba for creating filename
echo "SambaUserName: $3">>/tmp/pdfdebug
# Options are not essential, but useful to control finer features of pdf's
OPTIONS="-dSubsetFonts=true -dEmbedAllFonts=true"
# Counter ensures meaningless but unique filenames
PDFCOUNTFILE=/etc/pdf/"pdfcount"
if [ -f $PDFCOUNTFILE ] ; then
COUNT=`cat $PDFCOUNTFILE`
else
COUNT=0
fi
let COUNT=COUNT+1
# write counter to /etc/pdf/pdfcount
echo "$COUNT">$PDFCOUNTFILE
# filename for pdf output based on Windows Username and COUNT number
OUTPUTFILENAME=$NAMEFILE-$CO...