Using the PRINT command, you can set up one or more files to print and
to use other programs (often referred to as background printing).
/C - Provides a way to select which files to cancel. A filename
the print queue that precedes this option will be suspended. Names of
(already in the print queue) that follow this option will be canceled.
also list more files to print as part of the same PRINT command by
/P option followed by the filenames to print.
/P - Sets the print mode. The preceding filename and all following
will be added to the print queue. You can also list files to cancel as
the same PRINT command by entering the /C option followed by the
/T - Deletes all files in the print queue (those waiting to be
After the print files are canceled, the program displays a cancellation
If a file is being printed as the PRINT command is used with this option,
printing will stop immediately.
The following options are allowed only the first time you run the PRINT
/D (device) - Specifies the print device. If not specified, PRINT
prompt you to enter the name of a print device. The default is PRN.
/B (buffersize) - This parameter sets the size (in bytes) of the
memory used by the PRINT buffer. Increasing this value speeds up the
of the PRINT command. If you do not use the /B option, the PRINT buffer
set to 512 bytes.
/M (maxtick) - Specifies how many computer clock ticks PRINT can have
print a file. The value of /M can be from 1 to 255. If you do not use
option, this parameter will be set to 2.
/Q (value) - Specifies the maximum number of files that are allowed in
print queue (from 4 to 32). If you do not use the /Q option, this
will be set to 8.
/S (timeslice) - Specifies the time slice (the interval of time used
to schedule PRINT jobs). If you do not use the /S option, this parameter
be set to 8.
/U (busytick) - Specifies the number of computer clock ticks that DOS
wait for a printer that is not available. If the wait is longer than
value, DOS gives up its time slice (refer to option /S above). If you do
use the /U option, this parameter will be set to 1.
If you use the PRINT command without entering any options , the current
of the print queue is displayed. This does not change the status of the
currently in the PRINT queue. If you do not enter any of the forward
options (/), the /P option is assumed.
The first time you use the PRINT command, the following prompt appears
you specify the /D parameter):
Name of list device [PRN:]
Whatever device you enter becomes the PRINT output device. Press the
to accept the default (PRN).
During use of the PRINT command, one or more messages may be displayed.
message and its meaning are summarized below.
Message: List output is not assigned to a device
Meaning: The name of the printer you specified was not valid.
Message: PRINT queue is full
Meaning: You attempted to enter more than 10 files in the PRINT
Message: PRINT queue is empty
Meaning: There are no files in the print queue.
Message: No files match d:(filename)
Meaning: No files match the filename specification you entered.
Message: All files canceled by operator
Meaning: You entered the /T (terminate) option to cancel all the files
currently in the PRINT queue.
Message: File canceled by operator
Meaning: You entered the /C (cancel) option to cancel the file currently
To stop printing and cancel the print queue, enter
To remove the files LETTER.TXT, START.EXE, and RATE.COM (all on drive B)
the PRINT queue, enter
print b:letter.txt/c b:start.exe b:rate.com
To remove the file SALES.DOC from the PRINT queue and, at the same time,
files OLDSALE.DOC and NEWSALE.DOC, enter