printing

Add and delete custom printer forms

To distribute applications that use reports with custom paper size you have to create custom printer forms on every destination PC that runs Windows 2000 or later. The MS KB article Q157172 explains how it can be done manually. However there's a way to do that programmatically using Windows API.

Enumerating printer forms

Enumerating of printer forms can be done with Windows API EnumForms function.

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

VFP 9.0 Report Writer

Links to the articles that cover new features in VFP 9.0 Report Writer