BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

Save Method

Saves all Internet Explorer setting changes.

Sub Save()

void Save()

void Save() throws PrinterException

Parameters

N/A.

Return Values

N/A.

Remarks

You need to call this method to have the changes applied for the current print job. Note that method also saves the changes globally (subsequent IEPrintJob will have the same setting).

This method writes to the registry, which is not thread-safe. This function is not safe to call in a multi-threaded server environment. Settings should be saved before printing.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.IEPrintJob
Set oIESetting = oPrintJob.IESetting

' Make changes to IE's setting
oIESetting.Footer = ""
oIESetting.Header = ""

' ...

' Save the above changes before calling PrintOut method.
oIESetting.Save

oPrintJob.PrintOut "C:\test\input.htm", "C:\test\output.pdf"