Index | Syntax | Notes  



PRINT--Examples

To view the status of the print queue, type the following at the command prompt: print MS-DOS displays the name of the file being printed (if any), the names of files in the queue, and an error message, if an error condition exists. The following command removes the PENCIL.TST file from the print queue: print a:pencil.tst /c The next command shows how to remove the file PENCIL.TST from the queue and add the file PEN.TST to the queue: print pencil.tst /c pen.tst /p The remaining examples use switches that work only with the first PRINT command you use after starting MS-DOS. The following command sets up the print queue for printing on LPT1: print /d:lpt1 To specify that the PRINT command is to wait 60 clock ticks for a printer to be available and that the MS-DOS scheduler is to allocate 25 clock ticks to the PRINT command for background printing rather than the default value of 8 clock ticks, type the following command: print /u:60 /s:25 The following example specifies that PRINT has 4 clock ticks available to print each character rather than the default value of 2 clock ticks: print /m:4 To change the default maximum number of files for the print queue, use the PRINT command with the /Q switch, as the following example shows: print /q:32
-Top- | Syntax | Notes