Why would you even think this would work? TTL (Transistor-Transistor Logic) levels are limited to a range of zero to +5V. Applying 12V to a TTL module is NOT a good idea. Are you asking because someone has already done this, and now the laser engraver doesn't work? RTFI before messing with expensive toys.