Method: Print - Syntax 1

Prints a barcode symbol to printer. The barcode symbol is specified by the properties of this barcode component. Please use the method between Printer.BeginDoc and Printer.EndDoc methods.

Syntax:

function Print(Left, Top, Module: Single; Angle: Single = -1; BarcodeWidth: Single = 0; BarcodeHeight: Single = 0): Integer; overload; virtual;

Description:

Prints current barcode symbol that is specified by the properties of this barcode component to the printer.

Parameters:
Return:

This method can return one of these values (these consts are defined in the pfmxCore2D unit):

Note:

Pelase use the method between Printer.BeginDoc and Printer.EndDoc methods. For example:

Printer.ActivePrinter.SelectDPI(600, 600);

Printer.BeginDoc;

... { Print other content }

Barcode_QRCode1.Print(...); { Print the barcode symbol }

... { Print other content }

Printer.EndDoc;

Contents