📄 node63.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE> Print command: prf_f3d</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value=" Print command: prf_f3d"><meta name="keywords" value="Guide1"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html930 HREF="node62.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html936 HREF="node48.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html938 HREF="node64.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html940 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide1-18/node63.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide1-14/node63.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide1-10/node63.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html939 HREF="node64.html">H Example of environment file: </A><B>Up: </B> <A NAME=tex2html937 HREF="node48.html">Part IV: Appendices</A><B> Prev: </B> <A NAME=tex2html931 HREF="node62.html">F List of graphic peripherals available</A><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION06700000000000000000> Print command: prf_f3d</A></H1> <A NAME=annprf_f3d> </A><P><BR><HR><P><P><PRE>#!/bin/sh# prf_f3d ## Command file to send output to a printer# =========================================## Command parameters:# --------------------# # ** $1 type of file or print# ps --> black and white laser w.r.t. the environment variable PRINTER# ps_color --> nuri colour laser in building 30 (paper output)# ps_colors --> nuri colour laser in building 30 (slide output)# hardcopyX11 --> black and white laser w.r.t. variable PRINTER# Hardcopy on HP/Apollo, these values will not have any effect if the# Apollo graphic peripherals are not selected.# bmf_bw --> black and white laser (dessin)# bmf_color --> tektronix 4693 (colour hardcopy only)# gmf --> black and white laser (dessin) (hardcopy only)# ** $2 copy option -nc | -c # ** $3 delete option -d | -nd# ** $4 file name or id window X if hardcopyX11# ** $5.. --- not use #echo $0 $*######### 1) If not already done in your curent environment,# initialise variable PRINTER## PRINTER="printer name" ; export $PRINTER# -------------------## -- interface with lpr and prf -----## Initialisation of variables:## copy or delete option of the file to printlpr_cd='' # for command lpr (unix)prf_cd='' # for command prf (aegis)## ######## 2) Select the printer names# According to the name of your printer, modify the values of variables# imp_couleur et imp_apollo#imp_couleur=colorps # name of the colour laser printerimp_apollo_nb=dessin # name of the black and white laser printer# for apollo outputremove=''chmode=''#case "$2$3" in -nc-d) lpr_cd=-rs ; prf_cd="-nc -d" ; chmode="chmod 777 $4" ;; -nc-nd) lpr_cd=-s ; prf_cd="-nc" ; chmode="chmod 777 $4" ;; -c-d) remove="rm $4" ;; *) ;;esacset -x${chmode}case $1 in -ps) lpr $lpr_cd $4 ;; -ps_color) lpr $lpr_cd -P${imp_couleur} $4 ;; -ps_colors) lpr $lpr_cd -P${imp_couleur} $4 ;; -hardcopyX11*) xwd -xy -id $4 | xpr -device ps -rv | lpr ;; -bmf_bw) /com/prf $prf_cd -pr ${imp_apollo_nb} -magn -1 -plot -orient land $4 ;; -bmf_color) /com/prf $prf_cd -pr t4693d -magn -1 -plot -orient land $4 ;; -gmf) /com/prf $prf_cd -pr ${imp_apollo_nb} -magn -1 -plot -orient land $4 ;; *) echo $0 $* '(interface inconnu)';;esac${remove}</PRE><P><HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html930 HREF="node62.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html936 HREF="node48.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html938 HREF="node64.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html940 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide1-18/node63.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide1-14/node63.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide1-10/node63.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html939 HREF="node64.html">H Example of environment file: </A><B>Up: </B> <A NAME=tex2html937 HREF="node48.html">Part IV: Appendices</A><B> Prev: </B> <A NAME=tex2html931 HREF="node62.html">F List of graphic peripherals available</A><B><A HREF="node2.html" >Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -