VeryDOC Website, Convert documents
Partners Contact US Site Map Blog
A professional PDF Converter, PDF Writer, PDF Creator, PDF Editor, HTML Converter, Postscript Converter, AutoCAD DWG Converter, as well as PCL Converter, etc.  

MS Internet Explorer Header/Footer

If you want to customize your header and footer information for printing webpages, you need to understand what Internet Explorer 6 thinks it means by all this "&b&P" business. The header and footer "code" is a shorthand Explorer uses to indicate which information to print in the header and footer. The complete list of codes is given below.

&& = & in the header / footer (no fooling. Really)
&b = any text in header / footer aligned on right hand side after the &b
&b&b = centers text in header / footer between the two &bs.
&D = longer date format
&d = short date format
&p = current page number
&P = total page number
&T = 24 hr time format for time of printing
&t = time of printing
&u = webpage URL address
&w = webpage title

So the default header entry "&w&bPage &p of &P" translates as "webpage title, with the current page number and total number of pages aligned on the right side of the header." It takes a bit of playing around with Internet Explorer 6’s Page Setup to fully understand how the header and footer entries will look when printed. Check it out by changing the header and footer, then examining the page with Print Preview.

When printing a web page using IE (Internet Explorer), there is page information printed in each page header (the top of printed page) and footer (the bottom of printed page). The information in the header and footer may vary for different web browsing software, but usually it includes the web page title, web page address (URL), the current page number, total number of pages and the date of printing.

Depending on the tasks you are solving by printing web page, there might be a necessity to include additional or remove unnecessary information from the header and footer. Internet Explorer allows to configure header / footer information (by using printing codes), or alternatively remove header and footer information completely.
 
Code Description Preview
&w Window title Internet Explorer header / footer...
&u Page address (URL) http://www.verypdf.com/
&d Date in short format specified by Regional Settings in Control Panel 12/3/2005
&D Date in long format specified by Regional Settings in Control Panel Saturday, December 3, 2005
&t Time in the format specified by Regional Settings in Control Panel 10:41:06
&T Time in 24-hour format 10:41:06
&p Current page number 1
&P Total number of pages 2
&& A single ampersand (&) &
&b Separates preceding and following text into different sections left &b center &b right
text Custom text (can be used in combination with printing codes) Custom text

To configure print header / footer, click File, select Page Setup and enter appropriate codes (special characters) into Headers and Footers section. Note that Internet Explorer header / footer codes are case sensitive.
 
Relative Hyperlinks:
Internet Explorer Header / Footer Print Codes
How to Convert a HTML file or Web Pages to PDF file via Command Line?
Internet Explorer 7 Controlling Headers and Footers
 
Relative Products:
HTMLPrint Command Line: Batch print HTML, MHTML and web pages to Windows Printer.
HTMLPrint to Any Converter Command Line: Batch print HTML, MHTML and web pages to Windows Printer and SPL (Windows Spool File Format), EMF, WMF, XPS, PCL, Postscript (PS), PDF, JPG, BMP, PNG, TIFF, GIF, etc. formats.
HTML to PDF Converter: Convert HTML files and URLs to PDF, PS, EPS, TIFF, JPEG, PNG, BMP, TGA, etc. files.
DocConverter COM: Convert HTML files and URLs to PDF files by PDFcamp Printer.
docPrint Pro: Batch Convert any printable documents to PDF, PS, EPS, WMF, EMF, TIFF, JPEG, PNG, BMP, etc. files.
HTML to Image Converter: Convert HTML files to JPEG, TIFF, BMP, PNG, WMF, EMF files.
View All VeryPDF Products...
 
See Also:
PDF to Image Converter :: PDF Extract TIFF :: HTML Converter :: PDFcamp Printer :: DocConverter COM :: PDF to Word Converter :: PDF to Text Converter :: Image to PDF Converter :: Image to PDF OCR :: PDF to HTML Converter :: AutoCAD DWG and DXF to PDF Converter :: PCL to PDF Converter :: Document Printer (docPrint) :: VeryPDF PDF Editor :: PDF Password Remover :: Encrypt PDF :: PDF Split-Merge :: PDF Stamper :: VeryPDF PDFPrint :: Advanced PDF Tools :: PDF Editor Toolkit :: Text to PDF Converter :: PowerPoint to Flash :: PowerPoint Converter

Home | Site Map | VeryPDF.com | VeryPCL.com | Contact | Blog
Copyright © 2002- VeryDOC.com Company. All Rights Reserved.