Procedure TWPCustomRtfEdit.UpdatePrinterProperties(aPrinter:TPrinter; PaintPageNr:Integer; pw:Integer; ph:Integer)

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • aPrinter:TPrinter
  • PaintPageNr:Integer
  • pw:Integer
  • ph:Integer

Description

Updates the printer with the current print parameter. It tries to select the correct paper in the printer by comparing the paper sizes. It allows and error of 1.5 mm.