Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting print jobs from the queue
Message
From
03/03/1999 16:06:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Deleting print jobs from the queue
Miscellaneous
Thread ID:
00193758
Message ID:
00193758
Views:
40
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
Next
Reply
Map
View

Click here to load this message in the networking platform