FREE MAGAZINES FREE WEB HOSTING DLL-DOWNLOADS.COM LINUXBOOTDISKS.COM How to build a PC? Web Hosting Directory Set as Home PageSet as Home Page Add to Favorites    Back to Home Make payments with PayPal - it's fast, free and secure!
Translate to: | Chinese | English | French | German | Italian | Japanese | Korean | Norwegian | Portuguese | Spanish |
How to seep up your computer
Donate Funds/Hardware
Windows Installation Guide
Windows XP Error Codes
Free Magazines
Get Anti-Virus Tools
Get BootDisks
Get Essential Tools
Get VBRUN Files
Get FreeDOS
Get Network BootDisks
Get Service Packs
BIOS Error Codes
BIOS Control Keys
Batch Programming
Batch Programming FAQ's
Hard Drive Glossary
SCSI Glossary
ATA Standards
Networking Glossary
The OSI Model
The TCP/IP Model
Download Service Packs
Windows Crash Analysis
What is my IP Address?
Network IP Calculator
Standards Organizations
Virus Information
Online Virus Scanners
Online Port Scanners
Bandwidth Speed Test
Global Traceroute Tool
FCC ID Lookup
Windows Install Guide
External Links
Contact Us Web Hosting Directory
Budget Hosting MS SQL Hosting Ecommerce Hosting FrontPage Hosting
Windows Hosting MySQL Hosting UNIX/Linux Hosting ASP/ Hosting
PHP Hosting JAVA Hosting Cold Fusion Hosting Virtual Private Servers
BSD Hosting Managed Hosting Sun Solaris Hosting Cobalt RaQ Hosting

Print was first introduced in MS-DOS 2.0 as PRINT.COM and later was changed to PRINT.EXE in MS-DOS 5.0 and above. This command allowed users to print a text file to a line printer, in the background.

Syntax & Example
print /d:device /b:size /u:ticks1 /m:ticks2
/s:ticks3 /q:size /t 
drive:\path\ filename /c /p


/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.

 Link of the Day!

© All Rights Reserved        Reference URL:
Privacy Statement Company or Trademark Names referenced it in site belong to their rightful owners.