How to Print To ZT410 Using PHP / Phyton?

How to send zpl command to printer ZT410 in PHP or Phyton?