Groups | Blog | Home
all groups > dotnet general > october 2004 >

dotnet general : print a from a webpage control


Logan McKinley
10/6/2004 11:21:45 PM
I am creating a report and loading it into a web control in my C#
application. I need to change some printer settings, specifically, change
paper type to legal and the orientation to landscape and then print it. I
know how to change the settings through Drawing.Printing.PrintDocument but I
don't know hot to send a webpage to it. I also know how to bring the
printdialog up through JavaScript but don't know how to automatically change
the settings.
Any help would be appreciated
~Logan

Ignacio Machin ( .NET/ C# MVP )
10/7/2004 8:32:13 AM
Hi,

Basically you cannot, All you can do is using window.print() in the client
, nor can you remove the footer or header IE put (with code)

the only solutions may be an ActiveX running in the client.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


[quoted text, click to view]

AddThis Social Bookmark Button