473,842 Members | 1,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Printer spool monitor

Hi all,

I need to monitor printer spool. What I want to do is. When ever user
try to print something from any application , the print job should be
paused in the spool and it should popup a dialog asking for a
authorization code. If the authorization code is valid then the printer
job will be send for printing . If the authorization code is not
correct then the print job will be removed from the queue.

The operating system is Windows 98

I can program in C#, VB.net , VB6

I tried WMI but the same code working in XP but not working on a windos
98 box. I have downloaded the WMI core also.

I am looking for another option of creating a hook to the printer
dialog. When ever the printer dialog will popup another dialog will
popup asking for the code. I don't know its possible or not.

Please suggest me...... I have tried a lot without any luck :(

-Prithvis

Nov 27 '05 #1
0 1632

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

Similar topics

0
963
by: Samuel Lee | last post by:
I have created a print button in my windows and web applications. I have two printers. One printer is located at server and another one is at client. The problem is every times I print at client it will spool to my server printer. I wanted to force print directly to my client's local printer. Could anyone show me vb.net codes to solve this problem?
1
1954
by: Deadly_Bait | last post by:
I'm working on an office application that's going to need to print out 300+ billing statements. Since that seems like a lot, I'm thinking that will slow things down, which would be bad. So then I thought that it would be cool if I could just send a billing statement to the printer when the printer wasn't busy printing. Send them to the printer one-at-a-time. System.Drawing.Printing.PrintDocument.EndPrint seemed to be the event I...
0
6136
by: prithvis.mohanty | last post by:
Hi all, I need to monitor printer spool. What I want to do is. When ever user try to print something from any application , the print job should be paused in the spool and it should popup a dialog asking for a authorization code. If the authorization code is valid then the printer job will be send for printing . If the authorization code is not correct then the print job will be removed from the queue. The operating system is Windows...
13
21719
by: Susan Beebe | last post by:
I have downloaded the code described in Microsoft article Q154078. I am trying to send raw ZPL (zebra barcode printer) code from Microsoft access. It works just fine if I hard code the actual data in the string being sent to the printer. However, if I prompt the user for data or if I insert data from a particular record/field in a form Access crashes/closes on its own. I have included the code below, if anyone has any suggestions,...
4
1465
by: OZI | last post by:
by using C how can I read printer spool ? I wanna convert the data that sent to the printer to jpg format..Is this possible?
3
3485
by: george | last post by:
Hi group, I am new to this group and since I didn´t find anything on Internet related to my problem I wanted to know if anyone know or may help me. What I have to do is: - Monitor a Network Printer - When a specified document is printed (perhaps it can be identified by the name), add a signature at the end of the document. This signature can be any type of digital image (gif, jpg, tiff, etc).
1
6072
by: =?Utf-8?B?Sm9obiBHcmF2ZXM=?= | last post by:
Does any one know how to caputer text data sent to a printer to a file. I have seen a window service that captures text data sent to a printer on the server and save it to a file. I would like to know how to do this. I have many reports that are produced on an IBM mainframe as text that I would like to send to a Windows' sever as printer output but capture to a text file. Currently we use an FTP process and a print to printer would reduce...
1
4235
by: Steve | last post by:
Hi All I am using vb.net 2005 in a windows forms application I send data to the selected windows printer using a PrintDocument object Is there any way to detect if the Printer is not responding e.g turned off, out of paper etc, via code I want to display a warning if the printer needs attention rather than just
2
3418
by: wassimdaccache | last post by:
Dear all I am using windows server 2003 sp1. I am connecting a printer called BIRCH prp080 to my pc using the serial port. the printer is working well when I install the driver but the problem is when I restart the computer the printer won't work. Right click properties in my printer driver will show me the message below The prp-080 printer driver is not installed on this computer. Some properties will not be accessible unless...
0
9876
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9717
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
10950
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...
1
10681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10318
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9459
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
7862
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
5886
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4506
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

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.