Syntax
WritePrinter <printer-name> <text>Description
Write text to a specified printer.Parameters
<printer-name>
- The name of the printer.
<text>
- The text to write to the printer.
Example
WritePrinter "\\server\textprinter" "A line of text."The above statement causes the string "A line of text." to be printed on the network printer "\\server\textprinter"