TPrinter.Write function
Writes the specified values to the print device.
Declaration
function Write(const Buffer; Count: Integer; out Written: Integer)
: Boolean; virtual
function Write(const s: ansistring): Boolean; overloadArguments
Buffer | Untyped buffer written in the method. |
Count | Number of bytes from the buffer written in the method. |
Written | Number of bytes actually written in the method. |
s | AnsiString value written in the method. |
Function result
True when the specified value are successfully written in the method.Description
Write is an
Boolean function used to write the
specified values to the printer device. Overloaded variants of the method
allow the values to be specified as an
AnsiString data type or an
untyped buffer.
Buffer is the untyped buffer written in the method.
Count indicates the number of bytes in Buffer to use in the write
operation.
Written contains the actual number of bytes handled in the write
operation.
S is the AnsiString value written in the method.
The return value is True when the specified values are successfully written in the method.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
