diff --git a/RICOH_Aficio_SP_100.ppd b/RICOH_Aficio_SP_100.ppd index a0a2ba1..58210d7 100644 --- a/RICOH_Aficio_SP_100.ppd +++ b/RICOH_Aficio_SP_100.ppd @@ -1,6 +1,6 @@ *PPD-Adobe: "4.3" *%%%% PPD file for Ricoh Aficio SP 100 with CUPS. -*%%%% Created by Serge V Shistarev from PPD built for Ricoh Aficio SP 1000S +*%%%% Created by Serge V Shistarev from PPD built for Ricoh Aficio SP 100 *FormatVersion: "4.3" *FileVersion: "1.0" *LanguageVersion: English @@ -10,7 +10,7 @@ *Manufacturer: "Ricoh" *ModelName: "Ricoh Aficio SP 100" *ShortNickName: "Ricoh Aficio SP 100" -*NickName: "Ricoh Aficio SP 100, pstoricohddst-gdi 0.4 alpha" +*NickName: "Ricoh Aficio SP 100, pstoricohddst-gdi 0.5 alpha" *PSVersion: "(3010.000) 0" *LanguageLevel: "3" *ColorDevice: False diff --git a/pstoricohddst-gdi b/pstoricohddst-gdi index e10c5d8..e30351d 100755 --- a/pstoricohddst-gdi +++ b/pstoricohddst-gdi @@ -34,12 +34,16 @@ user="$2" ptitle="$3" my="$0" +# MS-style EOL +e=$(echo -en "\r") + # Printing date ddate="`LC_ALL=en_US.UTF-8 date '+%Y/%m/%d %H:%M:%S'`" # Temporary directory uid="/tmp/pstoricohddst-gdi-`uuidgen`" mkdir -p $uid +[ "${DEBUG}" = "yes" ] && exec >$uid/output.stream #> >(tee $uid/output.stream) [ -x "$(which inotifywait)" ] && { log "Asynchronous variant" @@ -51,13 +55,13 @@ mkdir -p $uid [ "$stage" = "empty" ] && { log "1st stage. Flushing PJL header" cat <