Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Queue Monitor
Message
From
17/01/2005 03:34:09
 
 
To
17/01/2005 03:13:13
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00977227
Message ID:
00977671
Views:
34
Morning Phil,

>Hi Jim,
>
>Thats great, i really appreciate your help, it works perfectly.

You're welcome.

>What i was hoping to do was to be able to select a printer in the list and provide another list of what jobs that printer has in the queue, listing the job details including the document name etc. I beleive i need to use the getjob() and encorporate the JOB_INFO_n structure somehow but i dont know where or how to do this, if you could instruct me on how to do this or point me in the right direction I would be very gratefull
>

One pointer would be to http://www.news2news.com/vfp/?group=57&function=564 where most of the work has already been done for you. Unfortunately, member's only access to the samples. It might be worth it to you if it can save you time. Otherwise, take a closer look at your "lcbuffer" after your WS_EnumJobs API call. If there are pending jobs, it should contain what you are looking for. The JOB_INFO structures should help you decipher the content.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform