📄 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> Commande d'impression prf_f3d</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value=" Commande d'impression 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=tex2html933 HREF="node62.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html939 HREF="node48.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html941 HREF="node64.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html943 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> Suiv.: </B> <A NAME=tex2html942 HREF="node64.html">H Exemple de fichier d'environnement </A><B>Sup.: </B> <A NAME=tex2html940 HREF="node48.html">Partie IV: Annexes</A><B> Pr閏.: </B> <A NAME=tex2html934 HREF="node62.html"> Liste des p閞iph閞iques graphiques disponibles</A><B><A HREF="node2.html" >Table des mati鑢es</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION06700000000000000000> Commande d'impression prf_f3d</A></H1> <A NAME=annprf_f3d> </A><P><BR><HR><P><P><PRE>#!/bin/sh# prf_f3d ## Fichier de commande permettant de realiser des sorties sur imprimantes# ================================================## Parametres de la commande :# ---------------------------# # ** $1 type du fichier ou impression # ps --> laser noir et blanc selon la variable d'environnement PRINTER# ps_color --> laser couleur de nuri au batiment 30 ( sortie papier)# ps_colors --> laser couleur de nuri au batiment 30 ( sortie slide )# hardcopyX11 --> laser noir et blanc selon la variable PRINTER# Sortie hardcopie sur HP/Apollo, ces valeurs ne seront jamais atteinte si les# peripheriques graphiques apollo ne sont pas selectionnes.# bmf_bw --> laser noir et blanc (dessin)# bmf_color --> tektronix 4693 (hardcopy couleur seulement)# gmf --> laser noir et blanc (dessin) (hardcopy seulement)# ** $2 option de copy -nc | -c # ** $3 option de delete -d | -nd# ** $4 nom du fichier ou id window X si hardcopyX11# ** $5.. --- not use #echo $0 $*######### 1) Si ce n'est deja fait dans votre environnement courant, # initialisez la variable PRINTER## PRINTER="nom de l'imprimante" ; export $PRINTER# -------------------## -- interface avec lpr et prf -----## Initialisation de quelques variables :## option de copie ou destruction du fichier a imprimerlpr_cd='' # pour la commande lpr (unix)prf_cd='' # pour la commande prf (aegis)## ######## 2) Selection des noms des imprimantes# Suivant le nom de vos imprimantes, modifier les valeurs des variables# imp_couleur et imp_apollo#imp_couleur=colorps # nom de l'imprimante laser couleurimp_apollo_nb=dessin # nom de l'imprimante laser noir et blanc# pour des sorties apolloremove=''chmode=''#case "23" 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=tex2html933 HREF="node62.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html939 HREF="node48.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html941 HREF="node64.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html943 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> Suiv.: </B> <A NAME=tex2html942 HREF="node64.html">H Exemple de fichier d'environnement </A><B>Sup.: </B> <A NAME=tex2html940 HREF="node48.html">Partie IV: Annexes</A><B> Pr閏.: </B> <A NAME=tex2html934 HREF="node62.html"> Liste des p閞iph閞iques graphiques disponibles</A><B><A HREF="node2.html" >Table des mati鑢es</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -