X-Git-Url: http://git.rot13.org/?p=Printer-Zebra.git;a=blobdiff_plain;f=ZPL2pbm.pl;h=692fb66344499c05126ce8524fc96c998728e403;hp=796b721e74586c26e068889acf49f78151e4df2f;hb=e3d07b7bcee9e98f7600a9cea357a3a58397f745;hpb=287b151b7b4ddd9d5a8f47c2f84c71c3e3804cf7 diff --git a/ZPL2pbm.pl b/ZPL2pbm.pl index 796b721..692fb66 100755 --- a/ZPL2pbm.pl +++ b/ZPL2pbm.pl @@ -47,7 +47,7 @@ while( $line ) { my $l = ( $w * 2 ) - length($out) % ( $w * 2 ); $l = $w * 2 if $l == 0; warn "# $p ONE-to-EOL $c [$l]\n"; - $out .= "1" x $l; + $out .= "F" x $l; } elsif ( $c eq ':' ) { $out .= length($out) > $w ? substr($out,-$w*2) : "00" x $w; warn "# $p repeat last line\n";