home *** CD-ROM | disk | FTP | other *** search
- PRINTER
-
- This option of the external MODE command allows you to control a
- standard printer port. You can control up to 3 of them.
-
- MODE LPT#[:][cpl][,[lpi][,ra]]
- MODE LPT#:] [COL[UMN]S=cpl] [LINES=lpi] [RETRY=ra] [/STA[TUS]] [new DOS 4.0]
-
- LPT# is the printer port that the printer you want to command is on.
- It can be LPT1, LPT2 or LPT3.
-
- cpl is the maximum length of a line, 132 or 80 (by default) characters.
-
- lpi is the vertical spacing, either 6 (by default) or 8 lines per inch.
-
- ra is the retry action to take when a status check detects a busy status.
- The default is not to do anything, and abandon the print operation. The
- Ctrl-Break key will force DOS to stop trying if busy (when the B or P
- option was specified), if you want to abandon the print operation.
- E - Return error [new DOS 4.0]
- B - Same as P for DOS 3.31 and before [new DOS 4.0]
- P - Continue trying to send characters if busy [before DOS 3.31]
- R - Return ready anyway [new DOS 4.0]
-
- /STA or /STATUS will display status information for the port.