473,406 Members | 2,217 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,406 software developers and data experts.

Monitor a Network Printer

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).

The printer is an HP LaserJet and of course I want to do this with c#.

Thanks everybody.

Jan 16 '07 #1
3 3461
Wow--I'm not sure that this is even possible. What you're trying to do is
modify a document either before it hits the print spooler or after it's
already in the spooler, and there are going to be quite a few complications.

If you can attach yourself to the program printing the document, your life
will be much easier, since you can intercept it.

Ulitmately, this is going to be very difficult to solve and is probably
better fixed by modifying the document or changing processes.

Robert

"george" <js****@gmail.comwrote in message
news:11**********************@38g2000cwa.googlegro ups.com...
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).

The printer is an HP LaserJet and of course I want to do this with c#.

Thanks everybody.
Jan 18 '07 #2
The fact is that it is not possible to do that from the program that
generates the document..thatīs why I posted this message.
Anyone knows how to modify a printing process from the printer spool?
Robert May ha escrito:
Wow--I'm not sure that this is even possible. What you're trying to do is
modify a document either before it hits the print spooler or after it's
already in the spooler, and there are going to be quite a few complications.

If you can attach yourself to the program printing the document, your life
will be much easier, since you can intercept it.

Ulitmately, this is going to be very difficult to solve and is probably
better fixed by modifying the document or changing processes.

Robert

"george" <js****@gmail.comwrote in message
news:11**********************@38g2000cwa.googlegro ups.com...
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).

The printer is an HP LaserJet and of course I want to do this with c#.

Thanks everybody.
Jan 22 '07 #3
Hello George,
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).
The printer is an HP LaserJet and of course I want to do this with c#.
You may be interested in FinePrint (www.fineprint.com), particularly their
SE (Server Edition). They claim to be able to alter document significantly
before sending them to a 'real' printer.

If you are going to attempt to do this yourself, I think the easiest way
would be create a virtual printer and have the application / users in question
print to your new virtual printer. Then, you could modify the print stream
and send it on its way. This is (very) roughly what the FinePrint product
does.

You could also alter the client's printer to produce PostScript to a file,
then have your program monitor the folder where the PostScript is written,
open the PostScript and insert the signature that way and send to the 'real'
printer.

Good Luck,
Mark
Feb 7 '07 #4

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

Similar topics

1
by: Maileen | last post by:
Hi, I have 2 questions : 1. - I want to print from my ASP page directly to my network printer. For this i use the following code, but everytime, my document to print is sent to local and...
0
by: KohlerTommy | last post by:
In my application I need to give the user the ability to print duplex if the selected printer supports duplex printing. Many of the printer options do not make much sense in my application, and...
5
by: Ken | last post by:
Hello Everyone, I think that there is no way to add a network printer in .Net. I have tried ,as an alternative, using windows API AddPrinter. This was not successful. Does anybody have a...
0
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...
0
by: Dawn | last post by:
My application is coded to create a report using Excel and I would like to send it directly to a pre-determined network printer. (My intention is to pass the printer name in a variable.) However,...
8
by: Philip Wagenaar | last post by:
I need to send printjobs to a printqueue under diffrent usernames. The printsoftware on the queue is not very 'secure' so I can create a user on 1 system and send a printjob under it's name to the...
0
by: jigsmshah | last post by:
i am working on a project (windows service using VB.Net and C#) which gets the check details and check images from the database and prints the check to a printer. Printer name is configured in a...
1
by: ekynox | last post by:
Hi guys, have been playing with WMI to add a network printer connection to a Windows XP pc. My environment consists of a server running Windows Server 2003 and Visual Studio 2005 and a test pc...
2
by: jawaid alam | last post by:
Hi all forum Member, I am facing very tropical type of problem. I devoloped a intranet web project. I want to print crystal report by selecting network printer. I accessed all network printer...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...

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.