wmi

Get number of jobs in print queue

The number of jobs in print queue can be retrieved by simplified version of Enumerating jobs in print queue

Enumerating jobs in print queue

Enumerating jobs in print queue can be done with

How to delete all Print Jobs from a print queue

All jobs from a print queue can be deleted with

Changing Windows default printer

Tagged:

Sometimes it's necessary to change Windows default printer from within VFP application. It can be done with WIN API, WSH or WMI.