Print a file or files to a local or network printer.
Syntax
PRINT [/D:device] [pathname(s)]
Key
device : either a local printer (LPTx, COMx )
or a network printer by its sharename (\\servername\print_share)
pathname : The file or files to be printed
The default device is PRN. The values PRN and LPT1 refer to the
same parallel port.
To delete a print job:
Use Control Panel, Printers (GUI) or use
NET PRINT job# /DELETE
It is possible to delete the relevant .spl and .shd files from
%SystemRoot%\system32\spool\PRINTERS
but the .spl file for a print job at the top of the print queue will be locked and so cannot be deleted.
Printing requires the Spooler service to be running
Related:
NET PRINT - View and Delete print jobs
Print
Migrator -
Microsoft tool for moving print queues.
Defptr - Default Printer. (Win 2K ResKit)
PRNCNFG - Display, configure or rename a printer
WMIC PRINTER - Set printing options through WMI.
Print Notification - this is set under Control Panel, Printers, File, Server
Properties, Advanced
Q246868 - New TCP/IP
Printing Options in the Windows Standard Port Monitor
Q234270 - Group Policies
to Control Printers
Resource Kit: prncnfg.vbs,
prndrvr.vbs,
prnjobs.vbs,
prnmngr.vbs,
prnport.vbs,
prnqctl.vbs,
pubprn.vbs
Powershell:
Out-Printer - Send the output to a printer (lp)
Equivalent bash command (Linux): printf - Format and print data