PRINT (command)

From Wikipedia, the free encyclopedia
  (Redirected from Print (command))
Jump to: navigation, search

The PRINT command was introduced in MS-DOS/IBM PC DOS 2.0 in order to provide single-user print spooling capability roughly similar to that provided by the UNIX System V lp and BSD lpr print spooler systems.

Background[edit]

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

Description[edit]

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

Retrospect[edit]

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.[3] 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.[2]

References[edit]

  1. ^ Dickinson, John (11 November 1986). "Mastering Your Printer's Options". PC Magazine. p. 363. 
  2. ^ a b Rubenking, Neil J. (29 June 1993). "Moving PRINT.COM". PC Magazine. 
  3. ^ a b Norton, Peter (July 1983). "The Dark Side of PC-DOS 2.0". PC Magazine. p. 290. 
  4. ^ a b c d Cooper, Jim (2002). Using MS-DOS 6.22 (3rd ed.). Que. pp. 322–325. ISBN 0-7897-2573-8. 
  5. ^ Ivens, Kathy (2005). "Network Printing and MS-DOS". Home Networking Annoyances. O'Reilly. p. 117–118. ISBN 0-596-00808-2. 
  6. ^ Using the Xerox 9700 Page Printer. Memo 800. University of Michigan Computing Center. September 1988. p. 37.