home *** CD-ROM | disk | FTP | other *** search
- i="-tt -faaaaa -x1 -h -m -tiny- -wide-"
- :loop
- drop (b,c,d,e)
- dialogbox("Miscellaneous Printing","menuprnt.dlg")
- if b+c+d+e+f>@false then goto SomethingSelected
- Display(3,"Nothing Selected","Select at least one checkbox, or Cancel")
- goto loop
- :SomethingSelected
- if b then run ("EnvLJ.pif","")
- if c then run ("Reset.pif","")
- if d then run ("Eject.pif","")
- if e then run ("Spooler.pif","")
- if f==@false then exit
- if a<>"NOFILESELECTED" then goto continue
- Display(5,"File Selection Required","You cannot print a file unless you select it")
- goto loop
- :continue
- file=strcat(dirget(),"\",a)
- if h==1 then run ("cprint.pif","cp %file%")
- if h==2 then run ("laserlst.pif",file)
- if h==3 then run ("4up.pif",file)
- if h==4 then run ("4print.pif","%file% %i%")
- exit