473,799 Members | 3,267 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

network print queue intercep

hi,

i wanted to know how can we read and intercep printing job queue in our
system which will be forward to a print server?

senario:
assume there is a network of computer. 10 pc.
1 of the pc.. is setup with a printer. and the printer is share among all pc
in the network.

let say other pc in the network wanted to print some document. example like
word document. the print job will be send to the host with the printer
(print server).

is there anyway or method i can access or intercep the print job at the pc
and count the pages of printing job and prompt the user for comfirmation
before it is send to the print server to be printed out? And also be able to
cancel or delete the print job.

i wanted to do a print queue manager that can be run on a network.

Hope some one can really help me on this
thanks
Choo
Nov 20 '05 #1
0 1710

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

Similar topics

0
1870
by: James R. Saker Jr. | last post by:
I've got a: "start server thread > Queue object, start server thread <> Queue object, start parsing client < Queue object" application that's got me puzzled. Probably an easy threads issue, but after digging thru Programming Python and Python Recipes sections on Threading class and running thru the examples, I'm still missing something. My Server/Server/Client app is a syslog collector app (syslog input in, zope control web interface to...
1
2740
by: Kim Hamilton | last post by:
Hello, I'm using a C++ program to write out a file using sopen(). The file is pointed to a network drive. Some times the network goes down, and the file errors out. Is there any way to spool the file locally, and when the network returns, rewrite the file out to the network ? I can probably write some code to do all of that, but didn't know if there were any API calls, say setting to output file as a print spool type.
0
1723
by: Dmitry Akselrod | last post by:
Hello Everyone, I have an almost well working Print Queue Monitoring software written. The software works quite well with typical Windows printing situations. However, there's a problem when a job is submitted to a print queue via LPD printing. I have a couple of server with Print Services for Unix installed (Windows 2000 SP4+). These servers are able to receive print jobs as Unix-type LPD print queue. Whenever a job is submitted...
3
5070
by: Yan ZHANG | last post by:
1. In a network, there are a number of nodes. Each node has a queue and a thread, performing the discrete event simulation. class CNode {... queue q; CWinThread* pthread; void Start();//to execute the thread .... }; where CWinThread is the thread class in MFC.
2
5836
by: Ollie | last post by:
I have a COM+ queued component written in C# and I'm trying to get it to run under the 'NETWORK SERVICE' account, it runs perfectly fine under the 'interactive user' as this happens to be a admin account (this is my development machine) but when I switch the identity in the component services MMC I get an error when trying to start the queued component, see below (this is copied out of the event log) I am using windows 2003 server with...
0
3259
by: Tessa | last post by:
Is there any security reason why you cannot print to a network printer from ASP.NET under IIS6 on Windows 2003 server? I'm using ASP.NET code to print to a server print queue using PrintDocument.Print() (.NET framework v 1.1) I can print to a local printer plugged into LPT1 on the web server, but not to a network printer. The same printing code to a network printer works in a .NET web app when
4
4599
by: j_depp_99 | last post by:
Thanks to those guys who helped me out yesterday. I have one more problem; my print function for the queue program doesnt work and goes into an endless loop. Also I am unable to calculate the length of my queue. I started getting compilation errors when I included a length function. <code> template<class ItemType> void Queue<ItemType>::MakeEmpty() {
2
7999
by: RB0135 | last post by:
Hi All, Is this possible: 1) An application prints to a printer/print queue (mainly XP). 2) A vb.net application monitors the print queue (I know this can be done) 3) Retrieve the RAW information from the PrintJob (Cant seem to find anything on this) 4) Delete the Job when I have the RAW information (I know this can be done)
0
1367
by: davy zhang | last post by:
I wrote this server to handle incoming messages in a process using multiprocessing named "handler", and sending message in a Thread named "sender", 'cause I think the async_chat object can not pass between processes. My project is a network gate server with many complex logic handler behind, so I use multiprocessing to handle them separately and send back the clients later when done. To use the server multicore cpu I tried to separate...
0
9546
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.