Print Page - Remove Headers and Footers

Tech-Archive recommends: Fix windows errors by optimizing your registry



I need to print a web page. It is my preference that my users just do a
File/Print from explorer. That way my users will get the print dialog that
will allow them to select the fax printer. The only problem with doing this
is that a header (name of the page and Page x of x) and footer (actual page
filename the date) are included. I am proficient with using Crystal Reports
v10 (developers version) which will create a PDF file for you to print
without the header and footer I am trying to avoid. The problem for our
company with using Crystal reports is that they want to charge us $1600 (to
update to their advance developers version) to use Crystal on another web
server (we have already used our one license that comes with the developers
version of Crystal Reports v10).

I also looked at using window.print(); but it also prints the header and
footer that I am trying to avoid. I have also tried using
Response.ContentType = "application/msword" . This solution does work and
excludes the header and footer; but the user may have to use Citrix to get to
the intranet page and this would mean installing Word on a Citrix server
(then we would have to pay Microsoft for a license to install Word on Citrix
just to be able to print a page from explorer).

Does anyone know how to suppress the header or footer when printing from
explorer; or is their a cheap way to move a aspx page to PDF format (the way
Crystal does) , or move the page programmatically to some other reader
application that would allow for printing (would be nice if MS had a Word
reader that would cost nothing to put on a server).

Thanks for any help.

Robert

.



Relevant Pages

  • Re: Print Page - Remove Headers and Footers
    ... File/Print from explorer. ... I am proficient with using Crystal Reports ... without the header and footer I am trying to avoid. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: unlink Footer/Header in VBA
    ... AutoText it will bring the section break with it. ... Header, a footer and Bibliography all in one. ... Bibliography" and another for "Footer for Bibliography". ...
    (microsoft.public.word.vba.general)
  • Re: Header and Footer with RichTextBox Control
    ... I send the footer and header to RTB when it is prining but I ... In that case the RTB will print its contents within that area of the page and you will know exactly what the minimum top and bottom margins of the printed pages will be. ... If the above is approximately what you are currently doing then all you need to do is print the header and the footer within the specified top and bottom margins, normally with the "nearest to the edge" vertical position of the header or footer text about half of the margin size from the edge of the page. ...
    (microsoft.public.vb.general.discussion)
  • Re: MS Word 2007 .dotx can not remember Password protection on re-
    ... (I select the all area of the Document, except Header and Footer to be fully ... Than I put Save as .dot or .dotx. ... before the input the Source code in that Document or what. ...
    (microsoft.public.word.docmanagement)
  • Fixer Footer pro Seite mit schwarzem Rand rundherum
    ... Ich will Mehrspaltensatz mit Header und Footer erreichen, ... ganze Seite mit einem schwarzen Rand umgeben ist. ... | Footer bla fasel di dingsbums und so weiter mit viel Text | ...
    (de.comp.text.tex)