my $out;
# ZPL decompress
- my $repeat = 1;
+ my $repeat = 0;
foreach my $p ( 0 .. length($data) - 1 ) {
my $c = substr($data,$p,1);
if ( $c eq ',' ) {
$out .= "1" x $l;
} elsif ( $c eq ':' ) {
$out .= length($out) > $w ? substr($out,-$w*2) : "00" x $w;
- warn "# $p :\n";
+ warn "# $p repeat last line\n";
} elsif ( $c eq 'z' ) {
$repeat += 400;
} elsif ( $c ge 'g' && $c le 'y' ) {