goldman@mbcl.rutgers.edu (04/11/91)
I'm using ftp sofwares pc/tcp for os/2, which seems to work quite well (& wasn't a big hassle to install). But I want to be able to print to remote printers automatically, as I don't have a printer connected directly to the machine. Their software supports the Berkely lpr routines, so if I print the file to disk, then I can do "lpr -P printer -S node file.name" without any problem. But I'd rather have a little daemon sitting there waiting for the "file.names" to show up & then printing them. I wrote a .CMD file that loops waiting for a file to show up & then trying to print it. But I don't know how to get it to pause. Ideally what it would do is wait say 5 minutes, look for the file, if it could, print it, if not, go to sleep again. But I don't know how to make it go to sleep, so my .CMD just loops over & over again & consumes quite a chunk of cpu. Any suggestions? Adrian -- Adrian Goldman | Internet: Goldman@MBCL.Rutgers.Edu Molecular Biology Computing Laboratory | Bitnet: Goldman@BioVAX Waksman Insitute, | Phone: (908) 932-4864 Rutgers University, | Fax: (908) 932-5735 Piscataway, NJ 08855 USA |