Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting print jobs from the queue
Message
De
03/03/1999 16:10:53
 
 
À
03/03/1999 16:06:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00193758
Message ID:
00193762
Vues:
15
>We have an application that prints letters or envelopes to either a network printer or to a local printer. It prints them one page at a time, so if you're printing 250 letters at a time it sends 250 one page jobs as opposed to one 250 page job.
>
>We want to add the ability to cancel printing. So if you started to print 250 letters and hit "cancel" at letter number 100 you can either let it finish the 100 or kill everything that's still in the queue.
>
>My question is: How do I cancel everything that's in the print queue using the printers that are setup in the Windows Print Manager? I've found gplib.fll but it seems to only deal with Netware print queues. We'll not only be using networked printers but also local printers.
>
>Is there an API function? Does anyone have an FLL that does this?
>
>We're using VFP5 under Windows 95. Thanks.
>
>paul

I'm pretty ignorant about Netware, but you can provide that VFP will combine all separate jobs into one common ('250 pages') and then send it to printer. Basically, VFP will print to local files, concatenate them and then COPY FILE to printer.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform