[comp.text.tex] DVI TO ???

dave@unislc.uucp (Dave Martin) (06/19/91)

A. I need a DVI to LASERJET converter in source form that works.  I have
   tried the one from decus (my complements on writing portable code, much
   better than GNU stuff IMO).  Unfortanately it runs off the right edge,
   and seems to start too far right on the left edge.  This is the case
   with this program running on both an amiga and a VMS VAX.

   This is a LaserJet 2000 duplex printer by the way.
   I have also tried DVIJEP for laserjet+ printers.  It gets the layout
   right but overstrikes some lines with other lines and occasionally
   causes memory overflow errors on the printer (it has 5 megabytes.)

   I need the source to correct a minor problem in the VAX centronics
   printer driver (likes to insert CRs after LFs or FFs, even when told to
   print in passall mode.)  I correct the problem by ORing a 6 into any
   graphic data bytes with values of 10, 10+128, 12, or 12+128.  At 300 DPI
   this is not a noticable difference.  Now this works with other programs
   that do graphic output.

   This is a very annoying problem.  Apparently no one does output to
   laserjets with TeX?

   I'm also willing to settle for something that will do DVI to RAW BITMAP
   (with user specified dimensions) and I'll convert the bitmap output
   myself.  I haven't messed with DVIBIT (decuss) yet, it seems to want to
   output to some type (or types) of graphic terminal(s).  I just want a
   RAW bitmap with dimensions of say 300*8 wide by 300*10.5 high bits.

   Source would be nice because I would like to run this on several
   different platforms.

   I have looked on several FTP sites, and the LaserJet doesn't seem to
   exist. 

B. (for Amiga people) Why isn't there a DVI to PREFS converter?
   Isn't the purpose of prefs printer drivers to HIDE specific printers
   from programs?  A program can open printer.device and ask about its
   resolution capabilites and generate an appropriate bitmap for THE
   PRINTER DRIVER to convert appropriately.  POST seems to do it this way
   why can't anyone else?

   Thanks in Advance for any help I might get.

-- 
VAX Headroom	Speaking for myself only... blah blah blahblah blah...
Internet: DMARTIN@CC.WEBER.EDU                 dave@saltlcy-unisys.army.mil
uucp:     dave@unislc.uucp or use the Path: line.
Now was that civilized?  No, clearly not.  Fun, but in no sense civilized.

darrylo@hpnmdla.sr.hp.com (Darryl Okahata) (06/20/91)

In comp.text.tex, dave@unislc.uucp (Dave Martin) writes:

> A. I need a DVI to LASERJET converter in source form that works.  I have
>    tried the one from decus (my complements on writing portable code, much
>    better than GNU stuff IMO).  Unfortanately it runs off the right edge,
>    and seems to start too far right on the left edge.  This is the case
>    with this program running on both an amiga and a VMS VAX.
>
>    This is a LaserJet 2000 duplex printer by the way.
>    I have also tried DVIJEP for laserjet+ printers.  It gets the layout
>    right but overstrikes some lines with other lines and occasionally
>    causes memory overflow errors on the printer (it has 5 megabytes.)

     The "best" laserjet DVI driver is, in my opinion (and yours may be
different ;-), "dvi".  It was recently posted to comp.sources.misc, and
has the following features:

o       fast
o       written in C++
o       supports LaserJetII, LaserJetIID, LaserJet2000, and LaserJet+
o       supports double-sided printing on LJs which can do double-sided
o       supports landscape printing for slides
o       handles big fonts, like, for instance, SliTeX dumps
o       supports JTeX - the Japanese version of TeX which heavily
        exercises the font capabilities of the LJs and of "dvi"
o       allows selecting particular pages and page ranges from the
        command line (OK - it ain't clean or friendly, but it works)
o       supports various \specials for dumping raw PCL files - it is also
        pretty easy to add new specials
o       completely demand driven - not even the font info much less the
        info for a particular character is downloaded unless that
        character
        is actually going to be printed on the paper
o       does NOT send a hard-reset escape-sequence, which allows one to
        wrap anything around this dvi's output that one wishes
o       has cool (well - entertaining anyway) -v verbose mode
o       actually has a man-page
o       the price is right


     The only problems that people will run into are:

* Dvi is written in C++.  You may not have a C++ compiler.

* Dvi looks for fonts in strange places.

     -- Darryl Okahata
	Internet: darrylo%sr@relay.hp.com

DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion or policy of Hewlett-Packard or of the
little green men that have been following him all day.

hessmann@hal.fmi.uni-passau.de (Georg Hessmann) (06/20/91)

In article <1991Jun18.232145.18900@unislc.uucp> dave@unislc.uucp (Dave Martin) writes:
[...]
>
>B. (for Amiga people) Why isn't there a DVI to PREFS converter?
>   Isn't the purpose of prefs printer drivers to HIDE specific printers
>   from programs?  A program can open printer.device and ask about its
>   resolution capabilites and generate an appropriate bitmap for THE
>   PRINTER DRIVER to convert appropriately.  POST seems to do it this way
>   why can't anyone else?

My next version will have this feature.
But, the output via preference driver is *very* slow.


>   Thanks in Advance for any help I might get.

	Georg.

-- 
  hessmann@unipas.fmi.uni-passau.de		hessmann@unipas.uucp