public function toZpl(bool $newlines = false): string
    {
        return implode($newlines ? "\n" : '', array_merge(['^XA'], $this->zpl, ['^XZ']));
    }
public function toZpl(bool $newlines = false): string
    {
        return implode($newlines ? "\n" : '', array_merge(['^XA'], $this->zpl, ['^XZ']));
    }
public function toZpl ( bool $ newlines = false ) : string { return implode ( $ newlines ? "\n" : '' , array_merge ( [ '^XA' ] , $ this -> zpl , [ '^XZ' ] ) ) ; }
Convert instance to ZPL.

@param bool $newlines
@return string
Convert instance to ZPL .