473,657 Members | 2,530 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3482
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.c omwrote in message
news:11******** **************@ 38g2000cwa.goog legroups.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.c omwrote in message
news:11******** **************@ 38g2000cwa.goog legroups.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
4704
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 physical port LPT1 not to network printer :( '---- to print report on network printer ---
0
3264
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 many of the settings in the common printer dialog would have a negative impact on my printing process. To handle this strict printing constraint on which my application imposes I do not want to show the common print dialog. I want to be able to...
5
19766
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 possible solution in .NET? Thank You in Advance for Your Help, Ken
0
3247
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
0
2070
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, there is a suffix that is added to the printer name and the printer suffix is not consistent ...... "on Ne00" on my pc "on Ne01" on another pc Is there a way to consistently code the printer name ? mxlApp.ActivePrinter = "Dell Laser...
8
6731
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 printqueue. This is why I created a program that picks the username out for the .PRN file, creates a local user, copies the PRN file the network printer and deletes the user. I cannot get it to work. I tried first copying a normal text file...
0
1857
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 XML file. Printer names are names which are available to the system on which the service is running. Printers used are network printers and are added using Printers and Faxes -> Add a printer. To validate the printer I am using the following...
1
9631
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 running windows xp. Further, I have setup a full domain controller environment. I have managed to write the code to add the network printer and it works fine when installing the printer on the same machine the code is executing from i.e the server or...
2
2863
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 in dropdownlist in crystal report page. when i run crystal report page directly by set as startup page. Dropdownlist shows all network printer. but when i run my project through IIS Dropdownlist shows only localhost printers. its not showing
0
8325
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
8844
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
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6177
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
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
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...
1
2743
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
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1734
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.