chore: add bin scripts
This commit is contained in:
parent
ed913cfac8
commit
a1231503df
1
bin/prnetscape.cmd
Normal file
1
bin/prnetscape.cmd
Normal file
@ -0,0 +1 @@
|
||||
C:/ARCHIV~1/Netscape/NAVIGA~1/Program/netscape.exe /print("%1")
|
15
bin/rc.ksh
Normal file
15
bin/rc.ksh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/ksh
|
||||
|
||||
#
|
||||
# ./netscape.exe /print$name
|
||||
SpoolPath="c:/tmprpts/spool"
|
||||
SpoolCtrl="c:/tmprpts/ctrl.spl"
|
||||
date > $SpoolCtrl
|
||||
echo "Borrando Spooler ........... " >> $SpoolCtrl
|
||||
for nomLP in `ls $SpoolPath`
|
||||
do
|
||||
echo "Cola de $nomLP ..." >>$SpoolCtrl
|
||||
rm $SpoolPath/$nomLP/* 2>>$SpoolCtrl
|
||||
echo "0" >$SpoolPath/$nomLP/seq
|
||||
done
|
||||
echo "Fin del Borrando del Spooler" >> $SpoolCtrl
|
13
bin/scanhtml.ksh
Normal file
13
bin/scanhtml.ksh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/ksh
|
||||
#
|
||||
# ./netscape.exe /print$name
|
||||
SpoolPath="c:/tmprpts/spool"
|
||||
NETSCAPE="prnetscape.cmd"
|
||||
for nomLP in `ls $SpoolPath`
|
||||
do
|
||||
for html in `ls $SpoolPath/$nomLP/*.html`
|
||||
do
|
||||
$NETSCAPE "file://"$html
|
||||
rm $html
|
||||
done
|
||||
done
|
Loading…
Reference in New Issue
Block a user