home *** CD-ROM | disk | FTP | other *** search
/ The CIA World Factbook 1992 / k3bimage.iso / sel / 04 / 0034 / iso_0122.iso < prev    next >
Encoding:
Text File  |  1991-12-02  |  2.9 KB  |  58 lines

  1. Command:  PRINT                         Type: DOS external command
  2.  
  3. Purpose:  Prints, in the background, a queue of text files on a printer
  4.  
  5. Syntax:   print [/d:device][/b:size][/u:value][/m:value][/s:timeslice]     
  6.           [/q:qsize][/t][/c][/p] [drive:][pathname]
  7.  
  8. Switches:
  9.           /d:device      Specifies the output print device name. Default is
  10.                          LPT1. Other possible devices are PRN, LPT2, LPT3,
  11.                          COMx where x= 1 to 4.
  12.  
  13.           /b:size        Sets the size in bytes of the internal print buffer
  14.                          Minimum value is 512; maximum value is 16,386.
  15.  
  16.           /u:value       Value specifies the number of clock ticks that
  17.                          PRINT will wait for a printer. If the printer is
  18.                          not available within the time specified, the job
  19.                          will not run. The default value = 1.
  20.  
  21.           /m:value       Value specifies the number of clock ticks that
  22.                          PRINT will take to print a character. Valid range
  23.                          of value is 1 to 255. Default value is 2.
  24.  
  25.           /s:timeslice   The interval if time to be used by the MS-DOS
  26.                          scheduler to the PRINT command.
  27.  
  28.           /q:qsize       Sets the maximum size of the print file queue. The
  29.                          minimum is 4; the maximum is 32; the default is 10.
  30.  
  31.           /t             Delete all files in the print queue. If a file is
  32.                          currently being printed, it is cancelled, however
  33.                          all characters currently in the printers' buffer
  34.                          will still be printed.
  35.  
  36.           /c             Turns on the cancel mode and removes the preceding
  37.                          filename and all the following filenames from the
  38.                          print queue.
  39.  
  40.           /p             Turns on the print mode and adds the preceding
  41.                          filename and all the following filenames to the
  42.                          print queue.
  43.  
  44.           * The  /d, /b, /q, /s, /u, and /m options can only be specified
  45.           the first time PRINT is executed at which time PRINT becomes
  46.           resident in memory. If /D is not specified the first time PRINT is
  47.           called, a prompt is displayed requesting entry of the print device
  48.           name.
  49.  
  50.           Global file name characters are allowed and multiple files may be
  51.           specified. PRINT with no arguements displays the files currently
  52.           in the print queue. A form feed follows each file on the printer.
  53.           Tab characters are expanded to the next 8-column boundary. The
  54.           disk containing the files to be printed must remain in the drive
  55.           until all printing is finished. The printer cannot be used while
  56.           files remain in the print queue. Printing stops when the computer
  57.           is working.
  58.