Sending ZPL to printer for multiple label

Hello there,

I have a media(see attachment) with 4 labels and I want send the data from my Java application to print on all 4 together using ZPL. I want to know how how I can achieve this.Any help will be appreciated!!.

cheers

Zolf