Killing something in the printing queue? (XP)

Windows specific forum
Kaiser
Enthusiast
Enthusiast
Posts: 118
Joined: Tue Jan 11, 2005 8:36 am

Killing something in the printing queue? (XP)

Post 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 :D
Kaiser
Enthusiast
Enthusiast
Posts: 118
Joined: Tue Jan 11, 2005 8:36 am

Post by Kaiser »

Aw, don't tell me there is not :(?
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

Moin Kaiser,

for network printers, shell to CMD and check out 'NET PRINT'
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Kaiser
Enthusiast
Enthusiast
Posts: 118
Joined: Tue Jan 11, 2005 8:36 am

Post by Kaiser »

Heeey that's a cool command xD what if the printer is local, though?
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post 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 ?
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Kaiser
Enthusiast
Enthusiast
Posts: 118
Joined: Tue Jan 11, 2005 8:36 am

Post 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 :D hehe thanks for that idea ^^
EDIT: Perhaps you can start your research here: http://msdn.microsoft.com/library/defau ... l_2uci.asp ?
Thanks for that too, I'll look into it :D
Post Reply