Category : Files from Magazines
Archive   : VOL10N13.ZIP
Filename : LF.BAT
Output of file : LF.BAT contained in archive : VOL10N13.ZIP
REM This file will send up to 10 line feeds to the printer
REM This file requires a parameter, so test for %1
IF (%1)==() GOTO Syntax
REM Test %1 for a range of 1 to 10 and direct to proper batch line
FOR %%v IN (1 2 3 4 5 6 7 8 9 10) DO IF %%v==%1 GOTO Feed%1
REM IF %1 is not in the range 1 to 10
GOTO Syntax
:Feed10
ECHO ÿFF > PRN
:Feed9
ECHO ÿFF > PRN
:Feed8
ECHO ÿFF > PRN
:Feed7
ECHO ÿFF > PRN
:Feed6
ECHO ÿFF > PRN
:Feed5
ECHO ÿFF > PRN
:Feed4
ECHO ÿFF > PRN
:Feed3
ECHO ÿFF > PRN
:Feed2
ECHO ÿFF > PRN
:Feed1
ECHO ÿFF > PRN
GOTO END
:Syntax
ECHO LF.BAT syntax = LF NUMBER
ECHO ÿ
ECHO Where NUMBER is in the range 1 to 10
ECHO ÿ
:END
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/