Page 1 of 1
Killing something in the printing queue? (XP)
Posted: Sun Oct 23, 2005 2:29 am
by Kaiser
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

Posted: Mon Oct 24, 2005 10:12 pm
by Kaiser
Aw, don't tell me there is not

?
Posted: Tue Oct 25, 2005 1:43 pm
by dell_jockey
Moin Kaiser,
for network printers, shell to CMD and check out 'NET PRINT'
Posted: Tue Oct 25, 2005 5:08 pm
by Kaiser
Heeey that's a cool command xD what if the printer is local, though?
Posted: Tue Oct 25, 2005 9:37 pm
by dell_jockey
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 ?
Posted: Tue Oct 25, 2005 11:24 pm
by Kaiser
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.
Well... the NET PRINT command was quite tricky

but somehow figured it out

hehe thanks for that idea ^^
Thanks for that too, I'll look into it
