471,337 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

cancel a printjob via code?

Hi,
Im trying to cancle a specific printjob via code on a remote machine.
the remote machine i a win2000 machine.

Ive tried using System.Management , wmi but apparently im only allowed to
delete jobs if the remote machine is a win XP machine.

Ive also found some native api's for this.. however , those do not allow
username and password so i assume they make the call as the current user
(which is not allowed to delete jobs in my case)
is there ANY solution to delete remote printjobs on a win2k machine?
(i really really dont want to make some webservice that can make the api
call from a server)
ps.
the calls will be made from our users machines..

//Roger
Jul 21 '05 #1
0 848

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Mike L | last post: by
2 posts views Thread by notregister | last post: by
reply views Thread by Philip Wagenaar | last post: by
1 post views Thread by Philip Wagenaar | last post: by
reply views Thread by Roger | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.