next up previous
Next: 設定ファイルのデバッグ Up: プリンタ定義の設定方法 Previous: 設定ファイルの構文

以下に、定義例を示します。


#----------------------------------------
PostScript Print (dvips) \
 : cd %d; \
   dvips -f -t %s %O{-t -landscape} %F | lpr \
 : cd %d; \
   dviselect -i %F %c  > %T/xgdvi-%t; \
   dvips -f -t %s %O{-t -landscape} %T/xgdvi-%t | lpr; \
   rm -f %T/xgdvi-%t \
 : lpq  \
 : lprm :
#----------------------------------------
DVI Direct Print (lpr -d)\
  : lpr -d %f \
  : dviselect -i %f %c | lpr -d \
  : lpq \
  : lprm :
#----------------------------------------



Hirotsugu Kakugawa
2001-11-02