print a from a webpage control

  • Thread starter Thread starter Logan McKinley
  • Start date Start date
L

Logan McKinley

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
 
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,
 
Back
Top