Method: Print - Syntax 2

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

Syntax:

function Print(Barcode: string; BarColor, SpaceColor: TAlphaColor; ShowQuietZone: Boolean; Left, Top, Module: Single; Angle: Single = 0; Opacity: Single = 1; BarcodeWidth: Single = 0; BarcodeHeight: Single = 0): Integer; overload; virtual;

Description:

Prints a barcode symbol that is specified by the parameters of this method 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