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

PrinterSetting Property

Gets PrinterSetting object.

Type

IPrinterSetting (read-only)

Remarks

PrinterSetting object changes printer setting globally. If you want to change the setting just for the current print job, use PDFSetting object (obtained from one of the PrintJob objects) instead.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oSetting = oPrinter.PrinterSetting
oSetting.LayoutPaperSize = PRN_PAPER_A4
oSetting.LayoutPaperOrientation = PRN_PAPER_ORIENT_LANDSCAPE
oSetting.FontEmbedding = PRN_FONT_EMBED_NONE
oSetting.Save