Sign in Join
FPDoc Onlineexperiment

TPrinter.DoSetCopies procedure

Member of TPrinterprotectedIn unit Printers

Performs actions needed to set the number of copies for each printed page.

Declaration

pascal
procedure DoSetCopies(aValue: Integer); virtual

Arguments

aValue

Number of copies to use for the print device.

Description

DoSetCopies is a virtual procedure used to perform actions needed to set the number of copies for each page printed on the device. DoSetCopies is called when a new value is assigned to the Copies property.

In TPrinter, DoSetCopies has an empty implementation. It must be overridden in a descendent class to perform actions needed for the operating system / widgetset / printer-related technology used to implement the printer capability.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.