PRINT (command)

Description of the PRINT command of RT-11SJ displayed on a VT100.

In computing, print command was introduced in MS-DOS/IBM PC DOS 2.0 in order to provide single-user print spooling capability.[1][2] 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 and Microsoft Windows operating systems.

Background

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.[3] Control returned to the user when the print job completed.[4] Beginning with DOS 2.0,[5] 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.[6]

Description

The print command allowed specifying one of many possible local printer interfaces,[6] and could make use of networked printers using the net command.[7] 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.[6] Margins, page lengths and number of copies could also be set,[8] as well as a parameter to adjust between favoring printing speed versus computer responsiveness.[6]

Retrospect

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.[5] 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.[4]

References

  1. Paterson, Tim (2013-12-19) [1983]. "Microsoft DOS V1.1 and V2.0: /msdos/v20source/PRINT.ASM". Computer History Museum, Microsoft. Retrieved 2015-10-01.
  2. 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.
  3. Dickinson, John (11 November 1986). "Mastering Your Printer's Options". PC Magazine. p. 363.
  4. 1 2 Rubenking, Neil J. (29 June 1993). "Moving PRINT.COM". PC Magazine.
  5. 1 2 Norton, Peter (July 1983). "The Dark Side of PC-DOS 2.0". PC Magazine. p. 290.
  6. 1 2 3 4 Cooper, Jim (2002). Using MS-DOS 6.22 (3rd ed.). Que. pp. 322325. ISBN 0-7897-2573-8.
  7. Ivens, Kathy (2005). "Network Printing and MS-DOS". Home Networking Annoyances. O'Reilly. p. 117118. ISBN 0-596-00808-2.
  8. Using the Xerox 9700 Page Printer. Memo 800. University of Michigan Computing Center. September 1988. p. 37.
This article is issued from Wikipedia - version of the 10/28/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.