Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use EnumJobs function
Message
 
 
À
16/11/2003 07:05:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00850409
Message ID:
00850497
Vues:
31
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform