diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2020-05-22 12:30:54 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2020-12-06 11:37:10 -0800 |
commit | 568f385d279774028f082006a71527f50740edce (patch) | |
tree | b95d9ecb219d4e191ffde362c3b4128e317a8c99 | |
parent | ac44a4a89e1a6be8ec527746b141026fbd33e0bf (diff) | |
download | ricoh-sp100-master.tar.gz |
The newer gs or cups printers refuse to write the -sOutputFile to the
temporary directory unless -dNOSAFER is specified. Apparently
something has happened to trigger safe mode in cups and without this
the filter will no-longer send any output to the printer.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rwxr-xr-x | pstoricohddst-gdi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pstoricohddst-gdi b/pstoricohddst-gdi index 71d0f8d..4d3accd 100755 --- a/pstoricohddst-gdi +++ b/pstoricohddst-gdi @@ -158,7 +158,7 @@ mkdir -p $uid # Converting from PostScript to PostScript-monochrome, then to PBM image format (per page) #gs -sDEVICE=ps2write -sOutputFile=- -r$resolution -dQUIET -dBATCH -dNOPAUSE - | - gs -sDEVICE=pbmraw -sOutputFile=${uid}/%03d-page.pbm -r$resolution -dQUIET -dBATCH -dNOPAUSE - + gs -sDEVICE=pbmraw -sOutputFile=${uid}/%03d-page.pbm -r$resolution -dQUIET -dBATCH -dNOPAUSE -dNOSAFER - stop wait @@ -169,7 +169,7 @@ mkdir -p $uid # Converting from PostScript to PostScript-monochrome, then to PBM image format (per page) log "Converting document to pages" - gs -sDEVICE=ps2write -sOutputFile=- -r$resolution -dQUIET -dBATCH -dNOPAUSE - | gs -sDEVICE=pbmraw -sOutputFile=${uid}/%03d-page.pbm -r$resolution -dQUIET -dBATCH -dNOPAUSE - + gs -sDEVICE=ps2write -sOutputFile=- -r$resolution -dQUIET -dBATCH -dNOPAUSE - | gs -sDEVICE=pbmraw -sOutputFile=${uid}/%03d-page.pbm -r$resolution -dQUIET -dBATCH -dNOPAUSE -dNOSAFER - log "Conversion complete" output_header |