(28)
EPT052026 Issue 1 February 2019
Set message
while printing
^1M03CS`@0`
*x
`@1`
*y
`@2`
*z
`@3`
*p
`@4`
*r
`@5`
*q
\0
*x
: Message string for line 1.
Range = 0-100 characters.
*y
: Message string for line 2.
Range = 0-100 characters.
*z
: Message string for line 3.
Range = 0-100 characters.
*p
: Message string for line 4.
Range = 0-100 characters.
*r
: Message string for line 5.
Range = 0-100 characters.
*q
: Message string for line 6.
Range = 0-100 characters.
To insert a variable item into
the message:
Counter = C
x
with
x
: 0-5
Shift code = S
x
with
x:
0-2
BoxLot = S
xy
with
x:
0,
y
: 0-3
Time = T
Date = D
x
with
x
: 0-4
Expire date = E
x
with x: 0-4
Barcode = R
Logo = L
x
with
x
: 0-3
Note:
It can take between
3 and 5 seconds
for the message to
update.
^1M03CS`@0`ABC`@1`XYZ`@2`I
HG`@3`WER`@4`TUV`@5`OPQ\0
= Print “ABC” on line 1, “XYZ”
on line 2, “IHG” on line 3,
“WER” on line 4, “TUV” on line 5
and “OPQ” on line 6.
To insert the counter to line 1 of
message that has been setup
with counter setup command,
we use this command:
^1M03CS`@0`CounterSample:
`C0`. Time: `T`. Date: `D`. Expire
date:
`E``@1`XYZ`@2`IHG`@3`WER`@4`
TUV`@5`OPQ\0
Message name
^1M07CS
*x
\0
*x
: Message name. Range =
1-20 characters.
Note:
Send the “Message
name” command
before sending the
“Set message”
command.
^1M07CSMessage 1\0 =
Save message name as
“Message 1
”
.
Table 2: PLC to Printer
Operation
Command
Parameter
Examples