🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.misc
Article #1063

Re: MS Windows and HP Paintjet

#1063
From: Bill Turner
Date: Tue, 01 Nov 1988 17:27
92 lines
4708 bytes
This is reposted from an HP notesgroup.  The name of the author has been
removed to protect them  (if you want to flame the author, I'll take the
heat...)  Some text has been deleted.

----------

[Text describing problem deleted]

I handled the lab end of providing the Windows Drivers for PaintJet and
Plotters, plus the PJ softfonts.

The biggest performance problem with PaintJet under Windows is that the
vector-to-raster converter in Windows' GDI is the PITS!  Since PaintJet
only does text and raster, all application calls to GDI graphics
routines (vectors, polygons, and stroked out fonts) are passed by the
driver to GDI's VRC.  And, get this, it sends the resulting raster to
the driver ONE PIXEL AT A TIME.  We discovered this when the driver
writer accidentally gave us a version with debugging turned on, and the
LaserJet attached to com1 produced a ream of paper with one line per
driver interface call, the overwhelming majority of which were SET
PIXEL.    (aaargh!)

>
>We get great performance with the HP Plotter Drivers, TI 855 drivers,...
>but the PAINTJET driver is so slow.  I know the printer is not that smart,
>i.e. no vector commands.  The only capabilities that we can notice from
>writing a device capabilities program is the support for bit maps.
>
>I wonder if we should create our drawing once and save it in a bit map and
>play the bit map to the spooler?  This will of course be a huge bit map .
>But I think this will adversely affect the Plotter performance?
>

Plotters don't use bitmaps, you've got to use vector/polygon calls to
do your graphics.  He could check whether the current output device
is a PaintJet and do his own implementation of the GDI VRC code,
but that's pretty extreme.

One thing that concerns me is that he's banding the picture - Windows
also does banding, and so does the driver, so there may be some
mismatch going on.

I can suggest he use internal fonts whenever possible, to speed up the
text (if the Courier 10, Letter Gothic 12 and Letter Gothic 18 will
satisfy his needs).

For some applications, turning the spooler off helps; for others it
hurts - try it and see.

[more text deleted]

>Yes. Rewrite the code in its ROM's so that is works efficiently.  
>The code was written by HP so that it was intentionally slow, so 
>as not to cut into the market for Laser-Jets. This process is called 
>"crippling" and has been developed to a high art by large computer 
>companies.

Patently untrue.  Fact is, significant price/performance tradeoffs
were made, and (as usual) we did the best we could within the
constraints we had.  

I can only speak from personal experience, but after 9+ years working
at [name of lab], I have yet to see or even hear rumors about a single
instance of deliberately crippling a device by writing inefficient
code.  This is not to say that we can't improve our devices, or that
every engineer who has ever written code is the most expert at it that
he/she could have been (ever go back and look at code you wrote 5 or 10
years ago?  yes, I thought so - you can stop gurgling now... ;@)

I deliberately refrained from replying to this silliness on the net.
You have to remember that there are a significant number of paraoids
with wild-eyed conspiracy theories running around posting things, and
even some normally reasonable people who tend to flame and run off at
the mouth when posting on usenet (it has this weird effect on people -
do you think AT&T designed it that way to drive competitors mad?  only
joking ;@)  This person is also showing their ignorance, in that the
market for a monchromatic 300 dpi machine with font cartridges,
download capability, and advanced PCL features has very little overlap
with the market for a colour 180 dpi machine with a small subset of the
PCL capabilities of a LJ.

If one of you guys who has been trained to talk nice to the customers
wants to sanitize my words and post 'em to the net or reply to this
guy, feel free.  As a labbie, I'd rather stay out of it!

[Well, I'm not trained for this, but I thought I'd let it go through
pretty much as is...]

>Also, rewrite Windows graphics system so that it is not so slow.
>Most printing operations are grotesquely slow.

I'll second that!
Technical Details
Message-ID: <102040006@hpcvlx.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hp-pcd!hpcvlx!bturner
References: <482@usl.usl.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hp-pcd!hpcvlx!bturner
From: bturner@hpcvlx.HP.COM (Bill Turner)
Newsgroups: comp.windows.misc
Subject: Re: MS Windows and HP Paintjet
Message-ID: <102040006@hpcvlx.HP.COM>
Date: 1 Nov 88 17:27:48 GMT
References: <482@usl.usl.edu>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 91