Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use EnumJobs function
Message
 
 
To
16/11/2003 07:05:38
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00850409
Message ID:
00850497
Views:
32
This message has been marked as the solution to the initial question of the thread.
See Enumerating jobs in print queue FAQ #21203

>Hi All,
>
>I want to be able to view on a VFP form all print jobs that were created on a particular printer so I can also save it into a table.
>
>I figured out how to use OpenPrinter, ClosePrinter, and EnumJobs API functions but cant get pass deciphering the contents of the pJob pointer parameter of EnumJobs bec of the DWORD, STRUCTs! Man, that's way over me...
>
<snip>
>
>I was able to get pJob into a character variable but it was full of all those unprintable characters although I can see the pPrintName, pMachineName, pUserName, pDocument contents in that variable.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform