|
-
June 13th, 2001, 06:16 PM
#1
Visual Basic and Windows Print Manager
Hi I haven't done much VB programming and I was just wondering if it would be possible to retrieve a list of jobs queued in Print Manager from my vb program? For instance if I wanted to check to see if a certain file was in the queue and then take some sort of action if it was?
-
June 14th, 2001, 10:21 PM
#2
Re: Visual Basic and Windows Print Manager
You'll need to use the Windows API "EnumJobs" to get that information. Go to http://www.codehound.com/vb and search for EnumJobs. You'll find lots of examples. Or send me your email address and I'll email you a complete VB project that has practically all print spool management functions you might need.
Brent Dirks
[email protected]
-
October 19th, 2001, 07:33 AM
#3
Re: Visual Basic and Windows Print Manager
See http://www.merrioncomputing.com/Prog...g/PrintJob.htm for an anootated example of EnumPrintJobs and GetJob that does all this.
HTH,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|