Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ print(CMD) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought


     PRINT(DOS)        UNIX System V         PRINT(DOS)



     Name
          print - prints a file while other MS-DOS commands are  being
          processed


     Syntax
               print  [drive:][pathname][/d:device]   [/b:size]
               [/q:value] [/t][/c][/p]


     Description
          You can use print only if you have a lineprinter attached to
          your computer.  If you do have a lineprinter you can use the
          following switches with this command:

          /d:device Specifies the print device name.  If you  do  not
                    give  this  switch,  print  prompts  for  a  print
                    device.  If you do not specify  one,  the  default
                    device   is   PRN   (the  first  parallel  printer
                    connected to your computer).

                    Other possible print device names are  AUX,  LPT1,
                    LPT2,  LPT3,  COM1, and COM2.  These represent the
                    first, second, and third  parallel  printers,  and
                    the  first and second serial printers connected to
                    your computer.

          The following switches are allowed only the first  time  you
          run the print command after starting MS-DOS:

          /b:size   Sets the size in bytes of the internal buffer.  To
                    speed up the print command, you increase the value
                    of /b.

          /q:value  Specifies the number of files allowed in the print
                    queue  -  if  you  want more than 10.  The minimum
                    value for the /q switch is 4, the maximum 32,  and
                    the default, 10.

          /t        Deletes all files in the print queue (those  files
                    waiting to be printed).

          /c        Turns on cancel mode  and  removes  the  preceding
                    filename  and  all  following  filenames  from the
                    print queue.

          /p        Turns  on  print  mode  and  adds  the   preceding
                    filename  and all following filenames to the print
                    queue.

          The print command, when used without options,  displays  the
          contents of the print queue on your screen without affecting
          the queue.


     Examples
          The following command empties the print queue for the device
          named LPT1:

               print /t /d:LPT1

          The following command removes the pencil.tst file  from  the
          default print queue:

          print a:pencil.tst /c

          The next two commands show how to remove the file pencil.tst
          from the queue and then add the file pen.tst to the queue:

          print pencil.tst /c
          print pen.tst /p


     Notes
          Each  print  queue  entry  may  contain  a  maximum  of   64
          characters,  including  the  drive  name.  So if you want to
          print files in deep subdirectories (many levels  down),  you
          may need to change directories.

          print is an external command.


     PRINT(DOS)           (printed 8/16/89)            PRINT(DOS)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026