diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/crudetype/version3/vmshpgf.tex |
Initial commit
Diffstat (limited to 'dviware/crudetype/version3/vmshpgf.tex')
-rw-r--r-- | dviware/crudetype/version3/vmshpgf.tex | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/dviware/crudetype/version3/vmshpgf.tex b/dviware/crudetype/version3/vmshpgf.tex new file mode 100644 index 0000000000..f3ddde68b0 --- /dev/null +++ b/dviware/crudetype/version3/vmshpgf.tex @@ -0,0 +1,109 @@ +% ARTICLE for Newsletter. Here are what I think are the useful N-L macros + + + +\font\big = cmbx10 at 14.4 truept +\font\bold = cmb10 scaled \magstephalf +\font\rm = cmr10 scaled \magstephalf +\font\commandfont = cmtt10 scaled \magstephalf +\def\titlefont{\big} +\rm + +\def\title#1{\message{ Title: #1}\centerline {\titlefont#1}} + +\def\space#1{{\hglue 0.0 em plus #1 fill}} +\def\author#1{\vskip\parskip\line{\space3 #1\space2}} +\def\sign#1{\author{#1}} + +\hsize 170 true mm \vsize 257 true mm + + +\parindent = 0.0 em +\parskip = 8mm plus 35mm minus 4mm + +\def\address{\parskip=0mm\obeylines} + + + + +% and here are my own macros + + +% These macros for verbatim scanning are copied from MANMAC.TEX. But we cant +% use the vertical bar for a temporary escape character as WEAVE catches it. +% So we will use ! instead and hope for the best +\chardef\other=12 +\def\ttverbatim{\begingroup + \catcode`\\=\other \catcode`\{=\other \catcode`\}=\other \catcode`\$=\other + \catcode`\&=\other \catcode`\#=\other \catcode`\%=\other \catcode`\~=\other + \catcode`\_=\other \catcode`\^=\other + \obeyspaces \obeylines \tt} + +\def\begintt{$$\let\par=\endgraf \ttverbatim \parskip=0pt + \catcode`\!=0 \rightskip-5pc \ttfinish} +{\catcode`\!=0 !catcode`!\=\other % ! is temporary escape character + !obeylines !obeyspaces % end of line is active + !gdef!ttfinish#1^^M#2\endtt{#1!vbox{#2}!endgroup$$}} + +% \font\ninett=cmtt9 +% that is the normal WEB practice, but in view of the definition of +% commandfont above, it seemed inadvisable... + +\font\ninett = cmtt10 scaled \magstephalf + +\let\mc=\ninett + +\def\C{{Crudetype}} +\def\D{{\mc DVI}} + + +\title{H-P Laserjet Plus output from \TeX.} + +HPGF is the H-P version of the \C\ program described in my other note. Note +that this version only runs on the VAX, the Sun program is a version of +Beebe's printer driver (and I think it is better than mine). + + +To use HPGF, you +must first issue the following commands:\begintt +$USE TEX +$HOP :== $SYS$USERDISK2:[UHAH208.CRUDE]HPGF +$HMP :== PRINT/QUEUE=MATHSA4 \endtt +These commands only need to be given once per login, so you can insert them +into your {\tt LOGIN.COM} file. The first command tells HPGF where to look for +the fonts. The second defines {\tt HOP} as what VMS calls a ``foreign'' +command. Then you can run the program by this command: \begintt +$HOP (qualifiers) DVI_FILE \endtt +The {\tt DVI\_FILE} must be specified. If you do not specify a directory or an +extension \C\ will look in your current default directory and assume the +default extension {\tt .DVI}. The qualifiers are all optional; they will +not work unless {\tt HOP} is defined as above. +Note this is different from any previous definition that might be +in your {\tt LOGIN.COM} file. +The permitted qualifiers are: + + + +/c,/f,/m,/p,/q \quad All exactly as in the Lineprinter version of Crudetype. +(See its document). +In fact the /r and /s qualifiers are also there, but I advise you not to +use them. + +/e, /o \quad Print only even (respectively, odd) numbered pages. Page numbers are +determined by the {\tt count0} parameter in the {\tt BOP} commands of the {\tt +DVI} file. In principle this would allow double sided printing. In practice +this will probably be very difficult. + +/l \quad Print in Landscape mode. Note that for this to work you will have to pass +suitable {\tt hsize} and {\tt vsize} parameters to \TeX. + +Eventually you should get a message ``Output on (filename)''. The default output +file name is (your current default directory)({\tt DVI} file name)({\tt .HPL}). +Print it by \begintt +$HMP (filename).HPL +\endtt + +\sign{R.M.Damerell, Mathematics Dept.} + + +\bye |