TestIT:Programming Printer

From Nolek Wiki
Jump to navigation Jump to search

5.3.14 Printer

Print

Description:
It will print from a print device.

Code example:

Printer.Print(Printer,Done)
Parameters
Parameter Type Description
Device name String or String symbol The device name
Done Bool symbol Will be set when command is done

CollectionAdd

Description:
It will add values to a printer collection.

Code example:

Printer.CollectionAdd(Printer,Results,_ResultDate;_ResultMsg1;_ResultUnit,Done)
Parameters
Parameter Type Description
Device name String or String symbol The device name
Collection name String or String symbol The name of the printer collection to use
Values Symbol Array Array of symbols to insert the values from the selected printer collection
Result Bool symbol Will be set when command is done

CollectionClear

Description:
It will clear a printer collection.

Code example:

Printer.CollectionClear(Printer,Results,Done)
Parameters
Parameter Type Description
Device name String or String symbol The device name
Collection name String or String symbol The name of the printer collection to use
Result Bool symbol Will be set when command is done


Back to Programming - Commands