🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fj.lang.postscript
3 messages
3 total messages Started by Tomoo Nomura Sun, 19 Oct 1997 00:00
GS5.03
#306
Author: Tomoo Nomura
Date: Sun, 19 Oct 1997 00:00
83 lines
2480 bytes
$B=i$a$^$7$F!#(J

gs5.03 $B$,!"$&$^$/$$$-$^$;$s!#(J

gs -sDEVIDE=mjc360 -sOutputFile=\|lpr chess.ps $B$H$9$k$H=PNO$9$k$N$G$9(J
$B$,!"(J
lpr -Pmjc360 chess.ps $B$H$9$k$H!"$J$K$b=PNO$7$^$;$s!#$A$J$_$K!"(Jmjc360$B$N(J
printcap
$B$O!"(J
# Entry for device mjc360
mjc360|Ghostscript device mjc360:\
    :lp=/dev/lp1:\
    :sd=/var/spool/mjc360:\
    :lf=/var/spool/mjc360/logfile:\
    :af=/var/spool/mjc360/acct:\
    :if=/usr/local/share/ghostscript/filt/direct/mjc360/gsif:\
    :mx#0:sf:sh:rs:
filtera$B$O!"(J
gsif=unix-lpr.sh ---------------

PBMPLUSPATH=/usr/local/bin
PSFILTERPATH=/usr/local/share/ghostscript
LOCALPATH=/usr/local/bin
X11HOME=/usr/X11R6

PATH=/bin:/usr/bin:/usr/ucb:/usr/etc
PATH=${PATH}\:${LOCALPATH}\:${PBMPLUSPATH}\:${PSFILTERPATH}
LD_LIBRARY_PATH=${X11HOME}/lib

export PATH LD_LIBRARY_PATH acctfile host user

user= host= acctfile=/dev/lp

#
# Redirect stdout to stderr (for the logfile) and open a new channel
# connected to stdout for the raw data. This enables us to keep the
# raw data separate from programmed postscript output and error
messages.
#
exec 3>&1 1>&2

#
# Get username and hostname from filter parameters
#
while [ $# != 0 ]
do  case "$1" in
  -n)   user=$2 ; shift ;;
  -h)   host=$2 ; shift ;;
  -*)   ;;
  *)    acctfile=$1 ;;
  esac
  shift
done

#
# Get the filter, printer device and queue type (direct/indirect)
#
filter=`basename $0`
device=`dirname $0`
type=`dirname ${device}`
device=`basename ${device}`
fdevname=$device
type=`basename ${type}`


-----below   same as the origibnal ----
#
$B$G$9!#(J

$B$J$K$+!"4V0c$C$F$$$k$G$7$g$&$+!)(J

$BLnB<(J
-- 
************************************************************
  Nomura Technical Management Office Ltd.
                   http://www.psn.or.jp/~nomura/
  Tomoo Nomura     nomura@psn.or.jp    Nifty:GBH12257
                   Fax: +81-47-390-6421
  ValueFax Support in Japan
  HAFAS Electronic Time Table in Japan
  HeiseiIshin in Chiba 
************************************************************
Re: GS5.03
#307
Author: Norihito Ohmori
Date: Sun, 19 Oct 1997 00:00
22 lines
1257 bytes
$BBg?9$H$$$$$^$9!#(B

Tomoo Nomura <nomura@psn.or.jp> writes:

> gs5.03 $B$,!"$&$^$/$$$-$^$;$s!#(B
> 
> gs -sDEVIDE=mjc360 -sOutputFile=\|lpr chess.ps $B$H$9$k$H=PNO$9$k$N$G$9(B
> $B$,!"(B
> lpr -Pmjc360 chess.ps $B$H$9$k$H!"$J$K$b=PNO$7$^$;$s!#$A$J$_$K!"(Bmjc360$B$N(B

chess.ps $B$O(B cheq.ps $B$r$h$S$@$7$F$$$k$N$G!"(B
cheq.ps $B$,(B Ghostscript $B$N8!:w(B PATH $B$KF~$C$F$$$J$$$?$a$K(B
$B0u:~$G$-$J$$$N$G$7$g$&!#$I$&$7$F$b0u:~$7$?$+$C$?$i!"(Bcheq.ps $B$r(B
$B8!:w(B PATH $B$K$$$l$k$+!"(BGS_LIB_DEFAULT $B$+(B GS_LIB $B4D6-JQ?t(B $B$^$?$O(B -I 
$B%Q%i%a!<%?$G(B cheq.ps $B$,F~$C$F$$$k%G%#%l%/%H%j$r;XDj$7$^$7$g$&!#(B

$B>e$N$&$^$/$$$C$F$kNc$G$O%+%l%s%H%G%#%l%/%H%j$,8!:w(B PATH $B$KF~$C$F$$$k(B
$B$f$($K$&$^$/$$$C$F$^$9!#(B
-- 
$BBg?9(B $B5*?M(B
$B@iMUBg3X(B $BLt3XIt(B $BLtIJJ*M}2=3X8&5f<<(B
Re: GS5.03
#308
Author: Tomoo Nomura
Date: Mon, 20 Oct 1997 00:00
26 lines
1217 bytes
$BLnB<$G$9!#(J

>   -dvar=name requires name=null, true or false
> 
>   $B$H$$$&%(%i!<$,$G$^$9!#(Jgs $B$N0z?t$KE,Ev$K(J -dvar=true $BEy$rF~$l$F$_$?$N$G(J
> $B$9$,!"(J
> $B!!8=>]$OJQ$o$j$^$;$s!#(J-dvar $B$H$O2?$G$7$g$&!)!!(J


$B$3$l$O!"%P%0$G$7$?!#(J

- if test "$bppspec" = "${device}"
+ if test "$bpp" = "${device}"

$B$G$9!#(J
-- 
************************************************************
  Nomura Technical Management Office Ltd.
                   http://www.psn.or.jp/~nomura/
  Tomoo Nomura     nomura@psn.or.jp    Nifty:GBH12257
                   Fax: +81-47-390-6421
  ValueFax Support in Japan
  HAFAS Electronic Time Table in Japan
  HeiseiIshin in Chiba 
************************************************************
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads