/d:device /b:size /u:ticks1 /m:ticks2 | |
/s:ticks3 /q:size /t | |
drive:\path\ filename /c /p |
Options: | |
/d:device | Name of printer device Printer Ports: LPT1, LPT2 orLPT3 Serial Ports: Com1, Com2, Com3 or Com4 |
/b:size | Sets size (in bytes) of internal buffer. Default=512 with range of 512 to 16384. |
/u:ticks1 | Maximum number of clock ticks PRINT is to wait for a printer to become available. Default=1 with a range of 1 to 255. |
/m:ticks2 | Maximum number of clock ticks PRINT can take to print a character or printer. Default=2 with a range of 1 to 255. |
/s:ticks3 | Maximum number of clock ticks allocated for background printing. Default=8 with range of 1 to 255. |
/q:qsize | Maximum number of files allowed in print queue. Default=10 with range of 1 to 255. |
/t | Removes files from the print queue. |
drive:\path\ filename | Location and filename of file to be printed. |
/c | Removes files from the print queue. |
/p | Adds files to the print queue. |
print c:\file.txt /c /d:lpt1 - Prints the file file.txt to the parallel port lpt1.
The print command is only able to print ASCII text.
The /d, /b, /u, /m, /s and /q switches
can only be used once. If a different value needs to be used the
computer must be restarted.
APPEND | ARP | ASSOC | AT | ATTRIB | BREAK | CACLS | CALL | CD |
CHCP | CHDIR | CHKDSK | CHKNTFS | CLS | CMD | COLOR | COMMAND | COMP |
COMPACT | CONTROL | CONVERT | COPY | DATE | DEBUG | DEL | DELTREE | DIR 2 |
DIR ... | DISKCOMP | DISKCOPY | DOSKEY | ECHO | EDIT | EDLIN | ERASE | EXIT |
EXPAND | FC | FDISK | FIND | FOR | FORMAT | FTP | GRAFTABL | HELP |
IPCONFIG | LABEL | LOADFIX | MD | MEM | MKDIR | MODE | MORE | MOVE |
MSCDEX | NBTSTAT | NET | NETSTAT | NLSFUNC | NSLOOKUP | PATH | PATHPING | PAUSE |
PING | PROMPT | RD | REN | RENAME | RMDIR | ROUTE | SET | |
SETVER | SHARE | SHUTDOWN | SORT | SUBST | TIME | TREE | TYPE | UNLOCK |
VER | VERIFY | VOL | XCOPY |