Here is what finally worked.
config.g
;Lasers
M452 C"laser" S0 R255 F500 ;
0:macros/LASE
M42 P2 S1 ; Activate the 12 V power source
G4 1000 ; Wait 1 second for the fan to spin up
M3 S255 ; Specify the range of the PWM from 0 to 255
G1 X80 ; Move the laser head where there is a test object to burn
; Make sure that you have homed the machine if not then you will curse yourself in the
; next step, otherwise it will burn up from where it thinks 0,0 is, not where you think 0,0 is.
G1 X110 Y200 S255 F1000 ; RTFM again until everything is clear
M5 ; Shut down the laser
; Absolute magic!
Thanks to the admins and their elves for their patience.
; next step