Promotic

Preconfiguration "Barcode representing entered value by defined standard (PmgCanvas)"



This preconfiguration can be activated when creating a new Pmg object and is included in the group: "/ Technology / QR code, Bar code - PmgCanvas".

New PmgCanvas object or group of objects is created that can be used for entering the value, standard and bar code line width.

The PmgCanvas object has following variables:
BarString - data source for displaying of barcode
Norm - specifies the standard to be used for barcode rendering. At the beginning of the script in the "onDraw" method, all available barcode standards are described in the comment
BarWidth - width of barcode line (in pixels)
These can be connected to data source.
These configurators can be set before the preconfiguration is created:
The name of created objectName (identifier) of the Pmg object. It is used for obtaining the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
Create button for value inputCreates compound object with button for setting or simple Pmg object rendering barcode representing the value
Barcode valueData binding or constant barcode value
Barcode processing standardBarcode processing standard
Code 128
Code 93
Code 39
Interleaved 2 of 5
Codabar
UPC-A - raw
UPC-A auto check digit
EAN - 13 - raw
EAN - 13 auto check digit
EAN - 8 - raw
EAN - 8 auto check digit
Barcode column line widthBarcode column line width

History:
Pm8.03.16: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.