Re: Newbie: Printing

From: Dmitriy Lapshin [C# / .NET MVP] (x-code_at_no-spam-please.hotpop.com)
Date: 12/01/04


Date: Wed, 1 Dec 2004 16:44:49 +0200

Hi,

Web Forms are run on the server side, so you obviously cannot control the
printing which happens on the client side. What you can do is using the
"@media" CSS feature (not sure about the correct syntax) which allows to
have one view of a page when it's rendered on the screen and another one
when the page is printed.

-- 
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx
"Calvin KD" <CalvinKD@discussions.microsoft.com> wrote in message 
news:8ECABFAE-7D22-4E00-B7BB-2513687EEC14@microsoft.com...
> Hi everyone,
> I'm new to the .NET technology. I have a Web Form with data fields which I
> want to print to the printer. I don't want to use the IE's default print
> because I can't have my own Header & Footer. Does anyone know if there's
> anything else that I can use to print which allow me to insert my custom
> Header & Footer?
>
> Many thanks in advance.
> KD 


Relevant Pages

  • Page printing - margin problems
    ... there have been some printing problems related to the ... the header and footers have now moved out of the printable ... Changing the top and bottom margins does not have an efffect upon where the ... header and footer are located. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: WebBrowser Control Print and Preview Headers and Footers
    ... The header and footer are stored in the registry and are used for all instances. ... you can read those values before printing and store them in a variable. ... Is there a way to turn off the IE Page Setup headers and footers using C# before using the WebBrowser control's ShowPrintPreviewDialogor ShowPrintDialogmethods so that the report formatting isn't thrown off by the Print Setup header and footer settings? ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Oops again. Problem with page numbering.
    ... When Vanguard asked what application ....? ... will see in the middle the Header and footer information defaults. ... And the application from where you are printing would be? ...
    (microsoft.public.windowsxp.basics)
  • Re: Oops again. Problem with page numbering.
    ... In the window that opens ... will see in the middle the Header and footer information defaults. ... And the application from where you are printing would be? ...
    (microsoft.public.windowsxp.basics)
  • Word Template
    ... a client that has their logo with address in the header ... and a tagline in the footer. ... the logo information cannot be manipulated at all. ... client now wants to have the letter go onto ...
    (microsoft.public.word.pagelayout)

Loading