How to remove the header/footer from HTML pages

 

 

The BiBatchConverter Desktop application and BiBatchConverter Service use the Microsoft Internet Explorer .NET control to convert HTML files.

 

To remove the header/footer from HTML pages, you need to change the Internet Explorer setting that is used by the .NET control, please follow these steps:

 

  1. If you are using the BiBatchConverter Service, please log in with the administrator account that is running the BiBatchConverter Service.

  2. Open the web page in Internet Explorer (not Edge).

    Note: Internet Explorer does not open automatically in Windows 11/10 and Windows Server 2025/2019.

     

    To open Internet Explorer, please follow these steps:

    1. Open Notepad: Search for "Notepad" and open it.

    2. Paste the Script: Copy and paste the following code into Notepad, replacing about:blank with your desired starting URL if needed.

      vbscript

      Set objIE = CreateObject("InternetExplorer.Application")

      objIE.Navigate "about:blank" ' Or your specific URL

      objIE.Visible = True

    3. Save the File:

                                              1.    Go to File > Save As.

                                              2.    Choose "All Files (.)" from the "Save as type" dropdown.

                                              3.    Name the file LaunchIE.vbs (or similar) and save it.

    4. Run the Script: Double-click the LaunchIE.vbs file to open Internet Explorer.

  3. Click on the Gear icon:



  4. Click Print > Print Preview:

     

     

  5. On the Print Preview window, click on the Gear icon again:

     

     

  6. On the Page Setup dialog, set all Headers and Footers to Empty:

     

     

  7. Click OK, and print the document manually to the BiBatchConverter Printer.

 

From this point, HTML documents converted through BiBatchConverter Desktop or the BiBatchConverter Service will use these settings.