[mod.computers.laser-printers] funny dvi2ps behaviour

MANSFIEL@DHDEMBL5.BITNET.UUCP (07/03/86)

We are using the dvi2ps program, (version 1.02, last change
noted in heading is 14-Jun-85 by nmh), printing to LaserWriters
(not LW+), using A4 paper-trays, running under VMS 4.3. (I
changed dvi2ps minimally to run under VMS. The changes were only
in the area of directory and file naming).

A user noticed that when he increased the vsize slightly, part
but only part of the last line vanished! The last line of
printout should read
        |Telex 461613 (embl d)
where the | means the margin. In fact what comes out is
        |      461613

Appended is the TeX input which shows the problem. To get the
correct output, change the "25.4" in line 9 of the file to
"25.3". (The file is a much chopped down version of the
original).

While playing around with this, I found that if you juggled the
lines near the end of the file a bit (e.g. swap the "Postfach"
and "Telephone" lines, and things like that, that you could make
different parts of the last line vanish. The only thing that
seemed consistent was that only whole "lumps" vanished, where a
"lump" is something that is printed by a single PostScript
command: the last few lines of the PS file are

        16 r (\(via) s
        17 r (exchange\)) s
        -23 210 p 84 c
        -4 r (elex) s
        16 r (461613) s
        16 r (\(embl) s
        17 r (d\)) s
        @eop
        @end
        [1]

I found that the "T" (84 c) vanished, with or without the "elex"
but never just the "el" or "lex" or anything like that.

Any ideas?

------------------cut here-----------------
\font\ssbf=amssbx10 at 12pt
%
\catcode`\"=13\def"{\"}
\def\3{\ss}
\hoffset=-.2cm
\voffset=-1.9cm
\nopagenumbers
\hsize=16cm
\vsize=25.4cm
\parskip=17pt
\parindent=0pt
%
\newtoks\ALOT \let\ALOT=N
\def\NewLetter{\par\vfill\eject\pageno=1\baselineskip=15pt\let\ALOT=Y}
%
\font\ssm=amssq8 at 9.6pt
\ssm\baselineskip12pt
\newbox\TABbox
\def\Tabelle#1#2{\global\setbox\TABbox=\vbox{\vskip#1#2}}
\setbox13=\hbox{Telephone: (6221)\quad}
\setbox14=\hbox{3870 (via exchange)}
\Tabelle{20pt}{\hbox{\hbox to\wd13{Postfach 10.2209\hfil}Meyerhofstrasse 1}
\hbox{\hbox to\wd13{6900 Heidelberg\hfil}Germany}
\hbox{\copy13 \hbox to\wd14{387 362 \hfil(direct)}}
\hbox{\hbox to\wd13{\hphantom{Telephone:}\hfil(6221)\quad}\box14}
\hbox{Telex 461613 (embl d)\hfil}}
\newdimen\TABdim \TABdim=\ht\TABbox\advance\TABdim by\dp\TABbox
%
\newtoks\headline
\newtoks\footline
\output{\ifnum\pageno=1 \footline={\hbox{\vbox{\unvcopy\TABbox}}\hfil}
\headline={\hfil} \else \footline={\hfill}
 \headline={\hbox{\vbox to25pt{\hbox
to\hsize{\hss--\folio--\hss}\vfil}}}\fi\relax
\shipout\vbox{\relax
\if Y\ALOT \global\advance\vsize by-\TABdim\global\advance\vsize by 25pt \fi
\the\headline
\vbox to\vsize{\unvbox255\vfill}
\the\footline}\relax
\ifnum \pageno=1 \global\advance\vsize by\TABdim
\global\advance\vsize by-25pt \fi \let\ALOT=N \advancepageno}
%
\raggedright
\tolerance=10000
\baselineskip=15pt
%
{\parskip=0pt\obeylines
{\ssbf European Molecular Biology Laboratory
}
}
%
\bye