Share on Facebook

In computing, PRINT is a command in the command line interpreters (shells) of DOS, OS/2 and Microsoft Windows. It is used to add a text file to the print queue.[1] Because of the text file limitation it is not equivalent to the lpr command in the Berkeley printing system or the lp command in the System V printing system (both available in the CUPS printing system).[2][3] The command was introduced in MS-DOS version 2.[4] Another option to print files is to use the COPY command to copy files to one of the printer ports LPT1: to LPT3:.

Papercraft x Variations royal mail Supporting Ligature, Loop and Stem and as he walked away, he left history behind him.... Fort McCoy Day for Kids event attracts 400 participants - FMWRC - US Army - 101007 USAG Humphreys takes top honors for excellence in social media communications USAG Humphreys takes top honors for excellence in social media communications Messy Electronics Separating fitness fact from fiction - FMWRC - US Army - 100920 Student scientists get their hands on Army technology Student scientists get their hands on Army technology Student scientists get their hands on Army technology Student scientists get their hands on Army technology Atmostheory prints Moses Commands the Sea of Reeds or Red Sea,  Holy Bible Etching, 1885 (this bible is now in Puerto Vallarta, Mexico) Moses Commands the Sea of Reeds, Red Sea, Bible etching,  Holy Bible Etching, 1885 (this bible is now in Puerto Vallarta, Mexico) 0067 Archive: Command and Service Module Separation (NASA, Marshall, 07/69) Shalikashvili Mission Command Center dedication Printer won Central command center. So many screens. Stevie Moses commands a storm in Egypt, illustration from the Holy Bible Viscount Sydney, "He received the Royal Commands and  lengthened the skirts of the Ballet." RepRap-Evolution of the cone iPhone Development in Debugger The Marquis of Hartington, "His ability and industry would deserve respect even in a man; in a Marquis they command admiration." looking opposite the main stage from the "50 yard line" Tiny Letterpress Gallery Spool! †each Children His Word: Deu 6:6-7 Sky Soldier Memorial-17 Sky Soldier Memorial-23 Sky Soldier Memorial-15 Sky Soldier Memorial-11 Sky Soldier Memorial-16 Sky Soldier Memorial-9 Sky Soldier Memorial-13 Sky Soldier Memorial-14 Sky Soldier Memorial-25 Sky Soldier Memorial-10 Sky Soldier Memorial-19 Sky Soldier Memorial-22 Sky Soldier Memorial-18 Sky Soldier Memorial-27 Sky Soldier Memorial-12 Sky Soldier Memorial-20 Sky Soldier Memorial-24 Sky Soldier Memorial-26 Sky Soldier Memorial-8 Sky Soldier Memorial-21
Images Source: Flickr. Images licensed under the Creative Commons CC-BY-SA
From Wikipedia, the free encyclopedia
  (Redirected from Print (command))
Jump to: navigation, search

In computing, PRINT is a command in the command line interpreters (shells) of DOS, OS/2 and Microsoft Windows. It is used to add a text file to the print queue.[1] Because of the text file limitation it is not equivalent to the lpr command in the Berkeley printing system or the lp command in the System V printing system (both available in the CUPS printing system).[2][3] The command was introduced in MS-DOS version 2.[4] Another option to print files is to use the COPY command to copy files to one of the printer ports LPT1: to LPT3:.

Contents

Syntax[edit]

Microsoft Windows[edit]

Syntax to print a file:

PRINT [/D:device] [[drive:][path]filename[...]]

Arguments:

  • /D:Device This command-line argument specifies the print device.
  • drive:\path\filename Specifies the location of the file to be printed.

OS/2[edit]

Syntax to print a file:

PRINT [/D:device][/B] [drive:][path] filename[...]

Syntax to cancel a file that is printing or queued:

PRINT [/D:device][/C or /T]

Arguments:

  • /D:device This argument specifies the print device, for example: /D:LPT1.
  • drive:\path\filename Specifies the location of the file to be printed.

Options:

  • /B Specifies the file is a binary file.
  • /C Cancels the file that is currently printing.
  • /T Cancels all files from the print queue, including the file that is currently printing.

DOS[edit]

Arguments:

  • /D device Specifies the name of the print devices. Default value is LPT1.
  • /P filename Add files in the print queue.
  • /C filename Removes a file from the print queue.

Options:

  • /T Removes all files from the print queue.

Example[edit]

PRINT C:\DOCS\LETTER.TXT

See also[edit]

References[edit]

  1. ^ Microsoft, Microsoft Windows Client TechCenter, retrieved on 17.Dec.2010
  2. ^ cups.org, CUPS 1.4 lp documentation, retrieved on 17th December 2010.
  3. ^ cups.org, CUPS 1.4 lpr documentation, retrieved on 17th December 2010.
  4. ^ Computer hope, MS-DOS print command help, retrieved on 17th December 2010.
Wikipedia content is licensed under the GNU Free Document License or Creative Commons CC-BY-SA
Loading...
Loading...