Đã hoàn thành

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;


Kĩ năng: .NET, Lập trình C#, In ấn

Xem nhiều hơn: 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

Về Bên Thuê:
( 1 Nhận xét ) Belfield, Australia

ID dự án: #1018153

Được trao cho:


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# Thêm

$250 USD trong 2 ngày
(1 Nhận xét)

4 freelancer đang chào giá trung bình $212 cho công việc này


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

$250 USD trong 2 ngày
(42 Nhận xét)

[url removed, login to view]

$150 USD trong 10 ngày
(0 Nhận xét)

Complete payment only on successful completion.

$199 USD trong 10 ngày
(0 Nhận xét)