Well spotted.
It says in the manual:
"The general protocol for Lightwave lasers consists of sending an ASCII “command string” with
the following format:
Escape lead-in char, command code, parameter, optional data, End of String."
So this is correct. So try "\1B 0 40 \n\r