|
<< Click to Display Table of Contents >>
LJScript |
N1 |
0 (zero) |
N2 |
0 (zero) |
N3 |
0 (zero) |
N4 |
0 (zero) |
The value written to this Tag value must be a String containing a valid script in LJScript format, which is then sent to a printer.
NOTE |
Scripts with multiple lines can be sent by separating the commands with a line feed, that is, using the Chr function with the value 13. |
The next code contains an example of writing in VBScript.
Sub CommandButton1_Click()
my_script = "Command line 1" & Chr(13) & _
"Command line 2" & Chr(13) & "Command line 3"
Application.GetObject("Driver1.Tag1").WriteEx my_script, Now, 192
End Sub