code for printing on megacaster