diff options
author | Serge V Shistarev <madlynxed@gmail.com> | 2013-09-07 00:24:11 +0900 |
---|---|---|
committer | Serge V Shistarev <madlynxed@gmail.com> | 2013-09-07 00:24:11 +0900 |
commit | da44de4d6646cac0910f84018a2509d953400ea1 (patch) | |
tree | 12e4af72c7b06530f521ef564ba1564d149fdc8e | |
parent | a1f157dae47433ee0960f7b2a4617c22c93339f2 (diff) | |
download | ricoh-sp100-da44de4d6646cac0910f84018a2509d953400ea1.tar.gz |
Temporary code removed
-rwxr-xr-x | pstoricohddst-gdi | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/pstoricohddst-gdi b/pstoricohddst-gdi index a0e66c2..78dc552 100755 --- a/pstoricohddst-gdi +++ b/pstoricohddst-gdi @@ -5,15 +5,8 @@ ptitle="$3" ddate="`LC_ALL=en_US.UTF-8 date '+%Y/%m/%d %H:%M:%S'`" uid="/tmp/pstoricohddst-gdi-`uuidgen`" -[ "`whoami`" = "lp" ] || uid=/tmp/aaaaaaaaaaaaaa -#rm $uid/* mkdir -p $uid -#cat > /tmp/raster.ps -#gs -sDEVICE=psmono -sOutputFile=/tmp/psmono.ps -r600 -dBATCH -dNOPAUSE /tmp/raster.ps -#gs -sDEVICE=pbmraw -sOutputFile=/tmp/raster.pbm -r600 -dBATCH -dNOPAUSE /tmp/psmono.ps -#pbmtojbg -p 72 -o 3 -m 0 -q < /tmp/raster.pbm > /tmp/raster.jbig - gs -sDEVICE=psmono -sOutputFile=- -r600 -dQUIET -dBATCH -dNOPAUSE - | gs -sDEVICE=pbmraw -sOutputFile=${uid}/%d-page.pbm -r600 -dQUIET -dBATCH -dNOPAUSE - cat <<EOF @@ -51,9 +44,6 @@ EOF @PJL SET PAGESTATUS=END
EOF - cp $uid/raster.jbig $uid/$page - # next page, if exist - done cat <<EOF @@ -61,4 +51,4 @@ cat <<EOF %-12345X
EOF -rm -r $uid +rm -rf $uid |