home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
APPS
/
TEKST
/
FONTL12A
/
EMTEX
/
FLI_FAX.CMD
next >
Wrap
OS/2 REXX Batch file
|
1990-09-23
|
2KB
|
69 lines
@echo off
rem fli_fax.cmd
rem This should be done before running this batch file:
rem mfjob all m=FAX
rem mfjob latex m=FAX
rem mfjob emsy m=FAX
set fli_opt=
:next_arg
if "%1"=="/v" goto set_v
if "%1"=="/V" goto set_v
if "%1"=="-v" goto set_v
if "%1"=="-V" goto set_v
if "%1"=="test" goto test
if "%1"=="TEST" goto test
if "%1"=="Test" goto test
if "%1"=="" goto usage
if "%2"=="" goto start
:usage
echo Usage: fli_fax [/v] source_directory\
echo Usage: fli_fax test
goto end
:set_v
set fli_opt=/v
shift
goto next_arg
:start
set fli_opt=%fli_opt% /b204 /f%EMTEX%\emtex\fontlist
fontlib /c %fli_opt% fax_0 =%1%%rdpi :0 +*.pk 163.2 +*.pk 183.6 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% fax_h =%1%%rdpi :h +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% fax_1 =%1%%rdpi :1 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% fax_2 =%1%%rdpi :2 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% fax_3 =%1%%rdpi :3 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% fax_4 =%1%%rdpi :4 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% fax_5 =%1%%rdpi :5 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% fax_sli =%1%%rdpi :6 +*.pk :7 +*.pk :8 +*.pk :9 +*.pk
if errorlevel 1 goto error
:test
fontlib /t %fli_opt% fax_0
if errorlevel 1 goto error
fontlib /t %fli_opt% fax_h
if errorlevel 1 goto error
fontlib /t %fli_opt% fax_1
if errorlevel 1 goto error
fontlib /t %fli_opt% fax_2
if errorlevel 1 goto error
fontlib /t %fli_opt% fax_3
if errorlevel 1 goto error
fontlib /t %fli_opt% fax_4
if errorlevel 1 goto error
fontlib /t %fli_opt% fax_5
if errorlevel 1 goto error
fontlib /t %fli_opt% fax_sli
if errorlevel 1 goto error
goto end
:error
echo *** Error!
:end
set fli_opt=