projects
/
Printer-EVOLIS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
072b6da
)
better warning
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 15 Aug 2010 00:14:53 +0000
(
02:14
+0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 15 Aug 2010 00:14:53 +0000
(
02:14
+0200)
evolis-printer.pl
patch
|
blob
|
history
diff --git
a/evolis-printer.pl
b/evolis-printer.pl
index
a753b27
..
1a7a1f2
100755
(executable)
--- a/
evolis-printer.pl
+++ b/
evolis-printer.pl
@@
-42,7
+42,7
@@
while(<>) {
} elsif ( $c eq 'Db' ) {
my ( $color, $two, $data ) = @a;
print "$c;$color;$two;... bitmap\n";
- $two eq '2' or die '
2
';
+ $two eq '2' or die '
only 2 colors supported
';
my $path = "$name-Db-$color-$page.pbm"; $page++;
save_pbm $path, 648, 1015, $data; # FIXME 1016?
} elsif ( $c eq 'Dbc' ) { # XXX not in cups