By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Have C# PrintDocument and VC++6 DLL printing on the same print job

P: n/a
Ann
I have a C# application that uses PrintDocument and PrintPage to draw
reports. Now I need to integrate a tax form printing from a legacy VC++
DLL into the C# application. One of the important requirements is that
the printing of the reports (implemented by C#) and the tax form
(implemented by VC++) to be on the same print job. For example, if
there are 10 clients we need to print the reports and tax form for,
then 10 print jobs will be sent out to printer. Each print job will
print both reports and tax form.

The printing from the VC++ DLL was handled via PCL. I have a C# wrapper
that wraps this VC++ DLL.

How should I implement this in C#? If I just put the

this.PrintDocument.Print(); //handle the reports printing
taxform.Print(); //handles the tax form printing.

They send out 2 print jobs to the printer.
Thanks in advance for your help.

Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.