Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know if print job was completed successfully or n
Message
 
À
31/05/2002 07:49:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00663342
Message ID:
00663369
Vues:
16
Mark,
If those printer error codes are available in the OS, then you should be able to use WAITFORSINGLEOBJECT in combination with CREATEPROCESS within VFP to launch print jobs and check for error codes from the OS. I've found the following articles very useful:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q191584
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q153904
>Hello all, I had originally post this question under Vfp general category (#662621) and I got some good feedback but experts suggsted to see if there is any API call to know this. I would appreciate this if someone can help me here. thanks in advance
>
>Hello All,
>
>I would very much appreciate if someone can help me here.
>
>I am writing a check printing program and I have a lPrinted field in my dbf file to see if check was printed or not. and we will use that to help user determine what checks have to be printed. so to do , I guess first of all i can't print bunch of checks together. because then due to any reason printing stops in middle, i won't know how many were printed and how many not. correct?
>
>so i guess the logic should be i have to do scan..endscan and print one check at a time and check each one's print status whether it was printed successfully or not? i mean printing could have stopped due to any resons ( print out of paper, printer jammed, electricity failure (worst case!). so is there any way i can know that above print job was completed successfully or not?
>
>thank you very much for your help in advance
>
>Mark
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform