Creates a custom sized paper.
Sub CreatePaper(PaperName As String,
Width As Double,
Height As Double)
void CreatePaper(string PaperName,
void CreatePaper(String PaperName,
double Height) throws PrinterException
This method will just return paper with the same name that already exists, even if its width and height are different than the ones you specified.
Set oPrinter = CreateObject("easyPDF.Printer.8") Set oSetting = oPrinter.PrinterSetting oSetting.CreatePaper "My Custom Paper", 10.0, 10.0 oSetting.LayoutPaperSize = oSetting.GetPaperSize("My Custom Paper") oSetting.Save