The PRINT command was introduced in MS-DOS/IBM PC DOS 2.0 in order to provide single-user print spooling capability.It is roughly similar to that provided by the UNIX System V lp and BSD lpr print spooler systems. The command is also available in the DEC RT-11 operating system.
In early versions of DOS, printing was accomplished using the copy command: the file to be printed was "copied" to the file representing the print device. Control returned to the user when the print job completed. Beginning with DOS 2.0, the PRINT command was included to allow basic print spooling: the ability to continue to use the computer while printing occurred in the background, and the ability to create a queue of jobs to be printed.
The PRINT command allowed specifying one of many possible local printer interfaces, and could make use of networked printers using the NET command. A maximum number of files and a maximum buffer size could be specified, and further command-line options allowed adding and removing files from the queue. Margins, page lengths and number of copies could also be set, as well as a parameter to adjust between favoring printing speed versus computer responsiveness.
Users of the initial release of the print command commented on the slow print speed and high resource usage, as well as the lack of support for the newly introduced subdirectories. The command was among the first RAM-resident programs and was the first to achieve widespread use, with many users disassembling the binary in order to determine how RAM-resident programs should be written.
- Paterson, Tim (2013-12-19) . "Microsoft DOS V1.1 and V2.0: /msdos/v20source/PRINT.ASM". Computer History Museum, Microsoft. Retrieved 2015-10-01.
- Shustek, Len (2014-03-24). "Microsoft MS-DOS early source code". Software Gems: The Computer History Museum Historical Source Code Series. Retrieved 2015-10-01.
- Dickinson, John (11 November 1986). "Mastering Your Printer's Options". PC Magazine. p. 363.
- Rubenking, Neil J. (29 June 1993). "Moving PRINT.COM". PC Magazine.
- Norton, Peter (July 1983). "The Dark Side of PC-DOS 2.0". PC Magazine. p. 290.
- Cooper, Jim (2002). Using MS-DOS 6.22 (3rd ed.). Que. pp. 322–325. ISBN 0-7897-2573-8.
- Ivens, Kathy (2005). "Network Printing and MS-DOS". Home Networking Annoyances. O'Reilly. p. 117–118. ISBN 0-596-00808-2.
- Using the Xerox 9700 Page Printer. Memo 800. University of Michigan Computing Center. September 1988. p. 37.