home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1995 November
/
PCWK1195.iso
/
inne
/
podstawy
/
dos
/
4dos
/
4uzytki
/
4dpsetdj.exe
/
PSET.BTM
< prev
next >
Wrap
Text File
|
1993-01-22
|
2KB
|
68 lines
@echo off
color bri yellow on black
cd \bin\pset
setlocal
:START
set arg=%@SUBSTR[%@select[action0,2,40,10,50,PSET],15,1]
IFF %arg==A THEN
:RESET
echos E&l0A&l0O&l1L&l0O(&k5W(10U(s0P(s12H(s10V(s8T(s1Q>PRN
echo Printer now reset to standard defaults
IFF %arg==A THEN
GOTO END
ENDIFF
goto START
ENDIFF
IFF %arg==B THEN
echo Load the envelope NOW.
pause
echos &l81A&l0O((10U(s0P(s12H(s8T>PRN
copy/Q DOWN PRN
echos &a40L>PRN
emacs @pset prn
goto RESET
ENDIFF
IFF %arg==C THEN
input Left Margin ? %%margin
IFF "%margin"=="" THEN
set margin=0
ENDIFF
echos &a>PRN
echos %margin>PRN
echos L>PRN
goto START
ENDIFF
IFF %arg==E THEN
echos &l0L>PRN
echos &k6W>PRN
echo Text scaling enabled: 66 lines per page
goto START
ENDIFF
IFF %arg==D THEN
echo FONT SELECTION:
goto FONT
goto start
ENDIFF
:END
endlocal
color white on black
cd -
cancel
:FONT
set font=%@SUBSTR[%@select[actionp,2,40,20,58,STYLE─────────CPI],0,17]
IF "%font"=="Prestige Elite 12" echos &l0O((10U(s0P(s12H(s10V(s8T>PRN ^ echo %font ^ goto START
IF "%font"=="Prestige Elite 24" echos &l0O((10U(s0P(s24H(s10V(s8T>PRN ^ echo %font ^ goto START
IF "%font"=="Letter Gothic 12" echos &l0O((10U(s0P(s12H(s12V(s6T>PRN ^ echo %font ^ goto START
IF "%font"=="Letter Gothic 24" echos &l0O((10U(s0P(s24H(s12V(s6T>PRN ^ echo %font ^ goto START
IF "%font"=="Courier 5" echos &l0O((10U(s0P(s5H(s12V(s3T>PRN ^ echo %font ^ goto START
IF "%font"=="Courier 10" echos &l0O((10U(s0P(s10H(s12V(s3T>PRN ^ echo %font ^ goto START
IF "%font"=="Courier 17" echos &l0O((10U(s0P(s16.67H(s12V(s3T>PRN ^ echo %font ^ goto START
IF "%font"=="Courier 20" echos &l0O((10U(s0P(s20H(s12V(s3T>PRN ^ echo %font ^ goto START
IF "%font"=="Courier 10l" echos &l1O((10U(s0P(s10H(s12V(s3T>PRN ^ echo %font ^ goto START
IF "%font"=="Courier 17l" echos &l1O((10U(s0P(s16.73H(s12V(s3T>PRN ^ echo %font ^ goto START
IF "%font"=="Courier 20l" echos &l1O((10U(s0P(s20H(s12V(s3T>PRN ^ echo %font ^ goto START
IF "%font"=="CG Times PS" echos &l0O((10U(s1P(s12V(s4101T>PRN ^ echo %font ^ goto START
IF "%font"=="─────portrait────" goto FONT
IF "%font"=="────landscape────" goto FONT
echo FONT UNCHANGED^goto START