projects
/
Printer-EVOLIS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check if compression is supported
[Printer-EVOLIS.git]
/
evolis-printer.pl
diff --git
a/evolis-printer.pl
b/evolis-printer.pl
index
11bd8b7
..
54e2ceb
100755
(executable)
--- a/
evolis-printer.pl
+++ b/
evolis-printer.pl
@@
-54,6
+54,8
@@
while(<>) {
}
$len == length $comp or warn "wrong length $len != ", length $comp;
+ die "compression not supported" unless $color =~ m/[ko]/;
+
my $data;
my $i = 0;
while ( $i < length $comp ) {