General foo2zjs :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 

Current Page: 1 of 1
Results 1 - 2 of 2
6 years ago
MaurĂ­cio CA
Sorry, I had a non-GNU version of dc in my computer. You could use bc instead, which is defined by posix, but relying on gnu is okay, I think. XDIM=$(echo "$XDIM * 1200 / 72" | bc)
Forum: General foo2zjs
6 years ago
MaurĂ­cio CA
Script foo2zjs-wrapper contains, twice, these lines: XDIM=`dc -e "$XDIM 1200* 72/p"` YDIM=`dc -e "$YDIM 600* 72/p"` That '-e' option seems not to exist in my dc man page, and it seems to try to open its argument as a file (i.e., "dc -e bla" says "can't open file bla"). Just changing these lines to lines below solves the probl
Forum: General foo2zjs
Current Page: 1 of 1

This forum powered by Phorum.