PRINT + Printing FilesAllows you to set up a print queue for printing files while
continuing to work in DOS.
VERSION
PC-DOS 2.0+
MS-DOS equivalent: PRINT (2.0+)
TYPE
External
SYNTAX
[d:][path] PRINT [/D:device][/B:buffsiz]
[/U:busytick][/M:maxtick][/S:timeslice][/Q:quesiz]
[P][/T] [pd:][ppath]pfilename(...)
OPTIONS
[d:][path] Specifies the drive
letter and path of the
PRINT command file.
/D:device Specifies the print
device. If not used, PRN
is assumed. The /D
parameter can only be
specified the first time
the PRINT command is
invoked.
/B:buffsiz Specifies the size in
bytes of the internal
buffer. The default is
512 bytes. The /B
parameter can only be
specified the first time
the PRINT command is
invoked.
/U:busytick Specifies the number of
clock ticks until the
print device is
available. The default
value is 1. The /U
parameter can only be
specified the first time
the PRINT command is
invoked.
/M:maxtick Specifies the number of
clock ticks for which the
print device is available
to the PRINT command. The
default is 2, and the
value can be between 1
and 255. You need only
specify the /M parameter
the first time the PRINT
command is invoked.
/S:timeslice Specifies the time slice
value. The default is 8
time slices, and the
value can be between 1
and 255. The /S parameter
can only be specified the
first time the PRINT
command is invoked.
/Q:quesiz Specifies the number of
files you can place in
the print queue. The
default is 10, and the
value can be between 1
and 32 files. The /Q
parameter can only be
specified the first time
the PRINT command is
invoked.
/C Specifies which file or
files are to be removed
from the print queue
(canceled). The preceding
file name and all
subsequent file names on
the command line are
canceled until a /P
parameter is encountered
on the command line.
/P Specifies that the
preceding file name as
well as any file names
following the /P are to
be added to the print
queue, until another /C
occurs in the command
line.
/T Removes all files from
the print queue. Cancels
printing of the file
currently printed,
displays cancellation
message, and advances
paper to the next page.
[pd:][ppath]pfilename(...) Specifies the file(s) to
be printed.
EXAMPLES
PRINT BUSINESS.RPT
prints the file BUSINESS.RPT.
PRINT BUSINESS.RPT *.BAS
prints the file BUSINESS.RPT as well as all files with the
extension .BAS in the current directory.
MESSAGES
Cannot use PRINT - use NET PRINT
PRINT cannot be used with a network fileserver; use NET PRINT
instead.
Errors on list device indicate that
it may be off-line. Please check
This message appears only when a new PRINT command is entered
while the device is off-line.
File not in print queue
The file you specified to cancel is not in the queue.
List output is not assigned to a device
The device is not valid; enter the PRINT command again, this time
using a valid device name.
xxxx error on file yyyy
While trying to read data from file yyyy, a disk error (type
xxxx) occurred. Check to make sure that the disk drive is ready
and issue the PRINT command again.
UNDO
To cancel all files in the print queue, enter
PRINT /T
To remove specific files from the print queue, use the /C
parameter. For example, the command
PRINT /C ACCTS.*
removes all files named ACCTS, regardless of extension, in the
current directory from the print queue.
NOTE
The first time you use the command, you will be asked to
specify the name of the device; do not use a colon at the end of
the device name. When you add files to the queue, they must be in
the current directory. However, you can change to another
directory and then add files to the queue. The PRINT command
increases the resident size of DOS by approximately 3600 bytes.
------------------------------------------------------------------
[For related topics, press R]
SEE ALSO
ASSIGN Command
ATTRIB Command
COPY Command
DEL (DELETE) and ERASE Commands
DIR Command
Displaying of Text with Batch Files
RENAME EN) Command
REPLACE Command
SHARE Command
TYPE Command
VERIFY Command
XCOPY Command
file: /Techref/dos/command/print.htm, 7KB, , updated: 1999/2/20 10:24, local time: 2024/11/22 19:25,
18.118.137.96:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/dos/command/print.htm"> dos command print</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.