Windows Server 2008 makes command-line administration practical for Windows administrators. You can perform almost all administration tasks from a command line—printers included. Use the following list of commands and scripts to get started.
Print. Prints the specified text file to the specified printer.
Lpr. Prints the specified text file to the specified LPD print queue.
Net print. Displays information about the specified print queue or print job. Can also hold, release, or delete print jobs.
Lpq. Displays information about the specified LPD print queue.
Net start. Starts the specified service. You can use the
Net start spooler and
Net stop spooler commands to start or stop the spooler service.
To view a ...