Category : Printer Utilities
Archive   : QLABEL.ZIP
Filename : QLABL_V1.PAS
var
line1,line2,line3,line4,line5,line6 : string[50];
x,y : integer;
ch,size : char;
procedure bar;
begin;
for x:=1 to 79 do begin
write ('_');end;
writeln;writeln;
end;
procedure format;
begin;
gotoxy (1,4);
write (' ');
gotoxy (1,4);
end;
procedure welcome;
begin;
clrscr;
textcolor (yellow);
writeln ('Ingas Label Program..... by Andy Frish (c) 1986');
textcolor (2);
bar;
writeln;
bar;
end;
procedure GetText;
begin;
textcolor(3);format;
write ('Are you printing [');
textcolor(6+blink);write ('L');textcolor(3);write(']arge (1 7/16") or [');
textcolor(6+blink);write ('S');textcolor(3);write(']mall (15/16") labels? ');
repeat read (kbd,size) until upcase(size) in ['L','S'];size:=upcase(size);writeln(size);writeln;
textcolor (magenta);writeln;
write ('Enter text for line 1: '); readln(line1);
write ('Enter text for line 2: '); readln(line2);
write ('Enter text for line 3: '); readln(line3);
write ('Enter text for line 4: '); readln(line4);
if size = ('L') then begin;
write ('Enter text for line 5: '); readln(line5);
write ('Enter text for line 6: '); readln(line6);
end;end;
procedure StartPrint;
begin;
textcolor (2);bar;
textcolor (red);format;
write ('How many labels would you like to print? '); readln(y);
writeln; writeln;format;
textcolor (yellow);
write ('Press [');
textcolor (2+blink); write ('Y');
textcolor (yellow); write('] to begin printing, or [');
textcolor (12+blink); write ('N');textcolor (yellow);
write ('] to abort : ');
end;
procedure check;
begin;
repeat
read (kbd,ch)
until upcase(ch) in ['Y','N'];
write (upcase(ch));
if upcase(ch)<>'Y' then
begin
welcome;gettext;startprint;check;
end;
end;
procedure print;
begin;
writeln; writeln;textcolor (1);format;
write ('Printing... (Press [');textcolor(yellow+blink);write('Ctrl-C');textcolor(1);write('] to abort)...');
for x:=1 to y do
begin
writeln (lst,line1);
writeln (lst,line2);
writeln (lst,line3);
writeln (lst,line4);
if size = ('L') then begin;
writeln (lst,line5);
writeln (lst,line6);
writeln (lst);
end;
writeln (lst);writeln (lst);
end;end;
procedure more;
begin;
writeln;writeln;textcolor (15);format;
write ('Do you have more labels to print? ');write('Press [');
textcolor (2+blink);write ('Y');textcolor(15);write ('] or [');
textcolor (12+blink);write ('N');textcolor (15);write ('] : ');
repeat
read (kbd,ch) until upcase(ch) in ['Y','N'];
write (upcase(ch));
if upcase (ch)='Y' then
begin
welcome;gettext;startprint;check;print;more;
end;end;
procedure done;
begin;
writeln;writeln;textcolor (5);format;
write ('All done.... Have a nice day... Love, Andy');textcolor(yellow+blink);writeln('!');
gotoxy (1,6);
for x:=1 to 10 do begin;
for y:=1 to 79 do begin;
write (' ');end;
writeln;end;
end;
begin
welcome;
GetText;
StartPrint;
Check;
Print;
more;
done;
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/