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

Home Posts Topics Members FAQ

hook virtual print driver

Hi groups,
I would like to hook print driver for manage the file that the MS
windows'user want to print.

I don't want to manage EMF file that the print spooler generate..

I have generate a virtual print driver which this command:

"rundll32 printui.dll,PrintUIEntry /if /b "Virtual Printer Test" /f
"%windir%\inf\ntprint.inf" /q /r "lpt1:" /m "driver" /z /u"

but i don't know which dll or which program manage the file send from
the program ( M$Word, notepad, M$excel...) to the virtual printer.

Thanks a lot.

Bye Riccardo.
Jun 27 '08 #1
1 3902
On 17 Mag, 14:03, riccardon...@gmail.com wrote:
Hi groups,
I would like to hook print driver for manage the file that the MS
windows'user want to print.

I don't want to manage EMF file that the print spooler generate..

I have generate a virtual print driver which this command:

"rundll32 printui.dll,PrintUIEntry /if /b "Virtual Printer Test" /f
"%windir%\inf\ntprint.inf" /q /r "lpt1:" /m "driver" /z /u"

but i don't know which dll or which program manage the file send from
the program ( M$Word, notepad, M$excel...) to the virtual printer.

Thanks a lot.

Bye Riccardo.
Sorry... my component must be a printer, to be used with the print
command in applications.
Jun 27 '08 #2

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

Similar topics

1
by: Wendy Elizabeth | last post by:
I am installing the microsoft virtual pc 2004 and the service pack 1 for the first time and I am getting the following message: Virtual PC could not open the Virtual Machine Network Services...
14
by: rogerclive | last post by:
Perhaps, there is no bigger sleazy company in the entire Maple Republic ( Canada ) than Matrox Graphics Inc. I paid $100+ through my nose circa 1999 for Matrox Millenium II and Mystique. It...
4
by: William LaMartin | last post by:
I have a vb.net win form where I want to output some text to a printer. Everything works fine when printing to my laser or inkjet printers. However when I print to the Acrobat PDFWriter printer...
7
by: jpierson | last post by:
Hi, I am tryin to create a keyboard hook that sends the keystroke ctrl + pause/break. I haven't used keyboard hooks before so I'm not too sure how to use them public int MyKeyboardProc(int...
5
by: Marcel Hug | last post by:
Hi NG ! I'm new in C# and I'm reading a book about the fundamentals and concepts. In the chapter Methods it's written to use virtual, if i would like to override the method in a subclass. This...
0
by: zeng.hui.stephen | last post by:
I download the demo http://msdn.microsoft.com/msdnmag/issues/02/10/cuttingedge/. I inherite the demo, and write my code. I want to use Hook to monitor C++ Edit change. I use a C# form...
0
by: FPlus | last post by:
Is it possible to create a virtual printer driver using .NET C# or must I delv into the murky depth of C++? I need to be able to Install the Virtual printer, intercept/process any incoming print...
7
by: =?Utf-8?B?TWlrZTk5MDA=?= | last post by:
I would like our app to print to PDF instead of the printer and then email the pdf. For example, we have a print preview of an invoice and if the user click to print the preview and selects the PDF...
4
by: steve | last post by:
When I print to a file using C# print what format is the file written out in? I am debugging a print routine and don't want to do the actual print but would like to open the output file in...
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
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,...
0
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...
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
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...

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.