[comp.text] dvi2ps problem/question

ben@ulrich.mth.msu.edu (Ben Lotto) (03/28/89)

I just recently got a dvi2ps which was modified by Piet van Oostrum to
work with pk files.  I got everything to compile fine, but when I try to
print out a file I only get a small number of pages (2 or 3).  Perhaps
this is due to a parameter called BUDGET that I didn't know how to set
when compiling the thing.  The comment that goes with the defintion of
BUDGET is "the amount of virtual memory of the laserwriter".  BUDGET was
set to be 100000 in the Makefile in the version of dvi2ps that I got.

We have an Apple Laserwriter here.

Can someone tell me what is going on?
--

-B. A. Lotto  (ben@ulrich.mth.msu.edu)
Department of Mathematics/Michigan State University/East Lansing, MI  48824

piet@cs.ruu.nl (Piet van Oostrum) (03/29/89)

In article <BEN.89Mar27152222@ulrich.mth.msu.edu>, ben@ulrich (Ben Lotto) writes:

In article <BEN.89Mar27152222@ulrich.mth.msu.edu> you write:
 `
 `I just recently got a dvi2ps which was modified by Piet van Oostrum to
 `work with pk files.  I got everything to compile fine, but when I try to
 `print out a file I only get a small number of pages (2 or 3).  Perhaps
 `this is due to a parameter called BUDGET that I didn't know how to set
 `when compiling the thing.  The comment that goes with the defintion of
 `BUDGET is "the amount of virtual memory of the laserwriter".  BUDGET was
 `set to be 100000 in the Makefile in the version of dvi2ps that I got.
 `
This version of dvi2ps tries to estimate how much virtual memory the
LaserWriter has left. If that estimate is low it does not preload font
characters, but it prints the bitmap and then forgets about is. The BUDGET
is just the estimate of the initial amount of virtual memory you have. If
you set this too low, no problem, only your jobs may take more time. If you
set it too high, it may cause a VMError in the Laserwriter for large
documents. In that case your printer driver should give you the
errormessage.
There is some postscript code in the ``tex.pro'' file (in the definition of
the ``@end'' operator to print out the amount of VM that is left after your
job.

From your description I don't think this is the problem, however.
It is difficult to say what could be the problem without any indication of
the reply from the LaserWriter. It might also be the spooler/driver
program. Note that the output of dvi2ps is ``non-conforming'', meaning that
it is correct postscript, but not conform the Adobe standards.

Another thing to look at is the fact that the default assumes ``A4'' size
paper. If you are using standard US size change:

/@start         % - @start -            -- start everything
  { @a4                             % (there is not much to do)
    ^^^   make that @letter <======================================= 
    vmstatus pop /@VMused exch def pop
  } def
-- 
Piet van Oostrum, Dept of Computer Science, University of Utrecht
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands
Telephone: +31-30-531806. piet@cs.ruu.nl (mcvax!hp4nl!ruuinf!piet)