Sign in Join
FPDoc Onlineexperiment

TPrinter.SetPrinter procedure

Member of TPrinterpublicIn unit Printers

Makes the device with the specified name the current printer.

Declaration

pascal
procedure SetPrinter(aName: string)

Arguments

aName

Name of the print device selected in the method.

Description

aName contains the name of the printer to use as the active print device. It can contain a "wild-card" value '*' which selects the default printer (the first one in the list of available printers) as the active print device.

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