472,993 Members | 3,144 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,993 software developers and data experts.

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 3876
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
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

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.