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

Click here to load this message in the networking platform