Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!cit-vax!news From: news@cit-vax.Caltech.Edu (Usenet netnews) Newsgroups: comp.sys.ibm.pc Subject: Re: printing > 10 files Message-ID: <1371@cit-vax.Caltech.Edu> Date: Thu, 18-Dec-86 19:51:22 EST Article-I.D.: cit-vax.1371 Posted: Thu Dec 18 19:51:22 1986 Date-Received: Fri, 19-Dec-86 02:41:14 EST References: <88@bcsaic.UUCP> Reply-To: tim@tomcat.caltech.edu (Tim Kay) Organization: California Institute of Technology Lines: 35 Summary: use copy rather than print Organization : California Institute of Technology Keywords: From: tim@tomcat.Caltech.Edu (Tim Kay) Path: tomcat!tim michaelm@bcsaic.UUCP (Michael Maxwell) writes: >make some kind of a loop like the following in a batch file: > for %F in * print1 %F >The file print1.bat would contain something like: > print %1 >>--taking advantage of the fact that "print", w/o any arguments, just tells you >what's in the queue. But there are several problems with this idea; how do >you get DOS to sleep? (I'd like to not worry about programming in assembler, > [etc.,etc.,...] Rather than print file why don't you use copy file prn This will print the file and then return to the batch file. You might have to add a command to page eject after each file, such as echo ^L > prn Is this what you are after? Timothy L. Kay tim@csvax.caltech.edu Department of Computer Science Caltech, 256-80 Pasadena, CA 91125