Cicode Programming Reference > Cicode Function Categories > Display Functions Introduction > DspRichTextPrint

DspRichTextPrint

Prints the contents of the rich text object at animation point AN, to the port PortName.

Syntax

DspRichTextPrint(AN, sPortName)

AN:

The reference AN for the rich text object.

sPortName:

The name of the printer port to which the contents of the rich text object will be printed. This name needs to be enclosed within quotation marks "". For example "LPT1", to print to the local printer, or "\\Pserver\canon1" using UNC to print to a network printer.

Return Value

0 if successful, otherwise an error is returned.

Related Functions

DspRichText, FileRichTextPrint

Example

! This lines prints 
DspRichTextPrint(25,"LPT1:");

See Also

Display Functions