printing
Add and delete custom printer forms
By Sergey - Posted on May 12th, 2008
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
By Sergey - Posted on May 9th, 2008
Enumerating of printer forms can be done with Windows API EnumForms function.
Get number of jobs in print queue
By Sergey - Posted on May 9th, 2008
The number of jobs in print queue can be retrieved by simplified version of Enumerating jobs in print queue
Enumerating jobs in print queue
By Sergey - Posted on May 8th, 2008
Enumerating jobs in print queue can be done with
- WMI Win32_PrintJob class
- Windows API EnumJobs function.
How to delete all Print Jobs from a print queue
By Sergey - Posted on May 8th, 2008
All jobs from a print queue can be deleted with
- WMI Win32_Printer class and CancelAllJobs method
- Windows API SetPrinter function.
VFP 9.0 Report Writer
By Sergey - Posted on January 1st, 2008
Recent comments
2 weeks 2 days ago
2 weeks 3 days ago
2 weeks 3 days ago
5 weeks 3 days ago
10 weeks 21 hours ago
10 weeks 21 hours ago
10 weeks 6 days ago
11 weeks 5 days ago
13 weeks 20 hours ago
13 weeks 23 hours ago