468,113 Members | 2,139 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,113 developers. It's quick & easy.

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

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
0 1524

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bobby C. Jones | last post: by
3 posts views Thread by Randy | last post: by
3 posts views Thread by enahar | last post: by
3 posts views Thread by Igor | last post: by
1 post views Thread by Dave Cullen | last post: by
3 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.