473,221 Members | 1,903 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 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 890

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: trint | last post by:
Instead of just sending one document at a time, I need to send multiple documents as a print job because our laserprinter will only stack and staple one printjob it receives at a time. I need to...
13
by: Mike L | last post by:
I have a child form frmDataEntry call up another child form frmDealerSearch. If the user clicks on cancel on frmDealerSearch, I want to close frmDealerSearch and put the focus on txtDealerNum on...
14
by: clintonG | last post by:
This is an appeal for peer support sent to Microsoft as will be noted in closing. The Login control does not include a Cancel button. The only option is to convert the Login control to a...
2
by: notregister | last post by:
Hi i have a printer that is connected to my PC using a t100base lan cable instead of the usual usb or parallel port cable. how do i send a printjob directly to the printer using VB.Net??
0
by: Philip Wagenaar | last post by:
I want to change the Username/owner of a printjob in the spoolfile. I know I have to use the SetJob function in the winspool.drv and that I have to declare this by adding the following to my...
1
by: Philip Wagenaar | last post by:
How can I move a printjob from one printqueue to another. The printqueue's both have the same printerdriver.
0
by: Roger | last post by:
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...
2
by: Coen | last post by:
Hi, can anyone tell me how to cancel the printing of the current page while in the Printdocument.PrintPage event. I don't want to cancel the whole printjob! I need this for printing only the user...
5
by: ghjk | last post by:
I have "cancel" button in php files. I want to write common javascript function for cancel button. When user click cancel button I want to clear php form data. Is it possible? <input id="Cancel"...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.