Printing Problems - CSharp
This is a discussion on Printing Problems - CSharp ; I have an unmanaged C++ program that displays a printer dialog and then
asks my C# program to perform the printing operation. What printer info
do I pass to my C# program? It looks like I need to establish values ...
-
Printing Problems
I have an unmanaged C++ program that displays a printer dialog and then
asks my C# program to perform the printing operation. What printer info
do I pass to my C# program? It looks like I need to establish values in
the PrinterSettings property of a PrintDocument object. But how?
I think I should be able to use the print DC, but I don't see a way
to apply it to the PrinterSettings property.
I have tried passing the DEVMODE and DEVNAMES handles from the PRINTDLG
structure to use in the SetHdevmode() and SetHdevnames() functions -
it did not work.
Any ideas?
Thanks,
Mike
-
Re: Printing Problems
Why not display the dialog in C#
--
Ciaran O'Donnell
There are 10 types of people in this world. Those that understand binary and
those that don't
<MLM450@hotmail.com> wrote in message
news:1133536988.556059.75270@z14g2000cwz.googlegroups.com...
>I have an unmanaged C++ program that displays a printer dialog and then
>
> asks my C# program to perform the printing operation. What printer info
>
> do I pass to my C# program? It looks like I need to establish values in
>
> the PrinterSettings property of a PrintDocument object. But how?
>
>
> I think I should be able to use the print DC, but I don't see a way
> to apply it to the PrinterSettings property.
>
>
> I have tried passing the DEVMODE and DEVNAMES handles from the PRINTDLG
>
> structure to use in the SetHdevmode() and SetHdevnames() functions -
> it did not work.
>
>
> Any ideas?
>
>
> Thanks,
> Mike
>
Similar Threads
-
By Application Development in forum Adobe Photoshop
Replies: 1
Last Post: 10-20-2007, 09:46 PM
-
By Application Development in forum Adobe Acrobat
Replies: 1
Last Post: 02-13-2007, 04:38 AM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 12-01-2005, 03:22 PM
-
By Application Development in forum basic.visual
Replies: 3
Last Post: 08-26-2004, 09:18 PM
-
By Application Development in forum Graphics
Replies: 1
Last Post: 04-28-2004, 10:57 AM