schplot.bat
Batch file to print schematic files
{Summary}
Content revision history:
Article first written:
Updated:
Corrected:
@echo off
set AppDrv=U
if not [%AppDrv%] == [U] goto ErrEnv
call waste off
logpos /SAVE /lf=$schedit
if exist !entry.bat call !entry.bat SCHPLOT
cd %AppDrv%:\
netlog Start SchPLOT in %%CD
cd %AppDrv%:\apps\PSchema\plot
logpos /GET /lf=$schedit
%AppDrv%:schplot
netlog End SchPLOT
if exist !exit.bat call !exit.bat SCHPLOT
REM Send plot file to printer ...
for %%A in (*.scp) do call FPrint %%A
goto Exit
:ErrEnv
@echo Error: Insufficient environment space
@echo discovered by %0.
goto Exit
:Exit