Winform C# print spool monitor modification

I need a print spool monitor that allows me to then print a footer image + text.

As soon as a single print job is complete I wish to then print my own footer image and text directly afterwards using the printdocument class.

If possible I would like access to the original text that has been printed first by placing it into some string variable.

Use .NET 3.5 and C#, Visual Studio 2008

See here to get started

[url removed, login to view]

The trick here is to make sure the monitor application is not triggered when the footer is printed otherwise it goes into an endless loop as the footer printing itself triggers the monitor.

Deliverables are the above application with the ability to print footer text and image after a print job from any other Windows application.

Here is the sample code for printing the footer using a bitmap in a PictureBox on the form.

private void printImage()


PrintDocument pdPrint = new PrintDocument();

[url removed, login to view] += new PrintPageEventHandler(pdPrint_PrintPage);

// Change the printer to the indicated printer.

[url removed, login to view] = printerName;

if ([url removed, login to view])


[url removed, login to view] = "Testing";

// Start printing.

[url removed, login to view]();



// The event handler function when [url removed, login to view] is called.

// This is where the actual printing of sample data to the printer.

private void pdPrint_PrintPage(object sender, PrintPageEventArgs e)


float x, y, lineOffset;

[url removed, login to view] = [url removed, login to view];

// Draw the bitmap

x = 79;

y = 0;

[url removed, login to view]([url removed, login to view], x, y, [url removed, login to view] - 13, [url removed, login to view] - 10);

// Indicate that no more data to print, and the Print Document can now send the print data to the spooler.

[url removed, login to view] = false;


Compétences : .NET, Programmation C#, Impression

en voir plus : print monitor, print spooler, monitor print spooler, printer spooler, spooler, print spooler monitor, print spooler printing event, printer monitor, monitor printer, spool, Print spool, monitor spooler, spool printer, monitor spool, print spool monitor, spooler monitor, spooler printer, print job monitor, print winform, printer spooler monitor, spool monitor, printing winform, monitor printing job using, print monitor net, monitor print

Concernant l'employeur :
( 1 commentaire ) Belfield, Australia

Nº du projet : #1018153

Décerné à:


You have a very interesting idea. A fully tested executable program will be delivered to you within two days of the acceptance of this bid. Once you are happy with the final version, you will receive the complete C# Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 2 jours
(1 Évaluation)

4 freelance font une offre moyenne de $212 pour ce travail


I'm Professional in C# ,so please let me do it.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(42 Commentaires)

[login to view URL]

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(0 Commentaires)

Complete payment only on successful completion.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(0 Commentaires)