Print a Banner for User
Christian
spamvoll at weiligmann-net.de
Mon Oct 18 11:45:32 PDT 2010
Hello together,
> What version of cups are you using, and which (if any) special filter did
> you already implement?
oh, sorry i don't wrote this.
we have the rhel 5 version 1.3.7 for cups.
the filter for the output is a script what grep a postscript line and insert a Output Bin line in the data stream. The Printer print out in the correct tray from data stream.
For my problem i have superior this options:
---- code cut ----
lp -U$USERNAME -o job-sheet=test_banner | cat $INPUT
---- code cut ----
i don't know how it works
i donĀ“t test this yet, at the next morning i will test...
---
i have test this:
if ( $BANNER =~ "SEP" ) {
system (`lp -U$USERNAME -o job-sheet=test_banner -d$PRINTER $FILE`);
}
else {
system (`lp -U$USERNAME -o -d$PRINTER $FILE`);
}
it works but i have a direkt input....
Thanks for the answer helge!
king regards
More information about the cups
mailing list