home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
dos
/
multtsk
/
cpm25d
/
lsttest.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-04-28
|
1KB
|
44 lines
{$I cpmswitc.inc}
{--------------------------------------------------------------------------
LSTTEST.PAS (Demonstration: Print spooler)
This program requires the CPMULTI Multitasking Toolkit and Turbo Pascal
5.0 or later.
January 1994
Copyright (C) 1994 (USA) Copyright (C) 1989-1994
Hypermetrics Christian Philipps Software-Technik
PO Box 9700 Suite 363 Duesseldorfer Str. 316
Austin, TX 78758-9700 D-47447 Moers
Germany
This demo uses the MTPrint unit to demonstrate a simple print
spooler.
---------------------------------------------------------------------------}
program LstTest;
uses CRT, CPMulti, MTPrint;
var N : Byte;
{----------------------------------------------------------------}
begin
RestartSpooler(10000);
Writeln('Printer buffer = ',PrintBufferAvail,' characters');
Writeln('PrinterReady = ',PrinterReady);
for N := 1 to 20 do
Writeln(Lst,'This is a printer test.');
Write(Lst,#12);
Writeln('Buffer filled = ',PrintBufferFilled);
Sleep(1);
repeat
Write('+');
until not SpoolerBusy;
end.