Killing something in the printing queue? (XP)
Killing something in the printing queue? (XP)
Yeah, there must be some kind of API thing to kil a process in the printer queue list? I don't care if it pauses, gets properties or not, just need to know how to cancel a determined process in it (with name, ID, or something that can be identifyable from the printer manager itself). Thanks in advance guys 
			
			
									
									
						- 
				dell_jockey
 - Enthusiast

 - Posts: 767
 - Joined: Sat Jan 24, 2004 6:56 pm
 
- 
				dell_jockey
 - Enthusiast

 - Posts: 767
 - Joined: Sat Jan 24, 2004 6:56 pm
 
one quick way would be to share the local printer, then you could use 'PRINT NET' with the share name and using \\localhost as hostname.
I'll delve into this deeper and report back.
EDIT: Perhaps you can start your research here: http://msdn.microsoft.com/library/defau ... l_2uci.asp ?
			
			
									
									
						I'll delve into this deeper and report back.
EDIT: Perhaps you can start your research here: http://msdn.microsoft.com/library/defau ... l_2uci.asp ?
Well... the NET PRINT command was quite trickyone quick way would be to share the local printer, then you could use 'PRINT NET' with the share name and using \\localhost as hostname.
I'll delve into this deeper and report back.
Thanks for that too, I'll look into itEDIT: Perhaps you can start your research here: http://msdn.microsoft.com/library/defau ... l_2uci.asp ?