Windows 7: NET PRINT via prnjobs command

NET PRINT functionality no longer exists in Windows 7.  The decision to deprecate the functionality was based on usage data and the fact that there were multiple ways to perform the same tasks. The NET PRINT command: NET PRINT \\computername\sharename [\\computername] job# [/HOLD | /RELEASE | /DELETE] Although NET PRINT is no more, there’s a VBScript which […]

NET PRINT functionality no longer exists in Windows 7.  The decision to deprecate the functionality was based on usage data and the fact that there were multiple ways to perform the same tasks. The NET PRINT command: NET PRINT \\computername\sharename [\\computername] job# [/HOLD | /RELEASE | /DELETE]

Although NET PRINT is no more, there’s a VBScript which can be found in : %windir%\System32\Printing_Admin_Scripts\en-US that can be used to perform similar tasks. The name of the scripts is prnjobs.vbs.  The help information is below.  Run prnjobs.vbs –? to display the help info. Usage: prnjobs [-zmxl?] [-s server][-p printer][-j jobid][-u user name][-w password]