Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the number of jobs in print queue
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00737034
Message ID:
00742969
Views:
35
The EnumJobs function works with three different structures: JOB_INFO_1, JOB_INFO_2, and JOB_INFO_3, depending on the information level value: 1..3 you call this function with.

Here is a MSDN link for the JOB_INFO_1:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_6gvm.asp

The first member for each structure is JobId -- DWORD. Check FoxPro declaration for this function and a sample code at http://www.news2news.com/vfp/?function=564

A number of jobs sample code (using GetPrinter function, not EnumJobs)
http://www.news2news.com/vfp/?example=367
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform