HP paint jet

David Booth davidb at hpuxsyd.HP.COM
Wed Nov 14 22:28:00 AEST 1990


> / hpuxsyd:comp.lang.c / yu at tahoe.unr.edu (Jiyu YU) /  5:38 pm  Nov  9, 1990 /
> 
>    Looking for source code for HP paint jet, prefer written in a high level
> language. Could you anyone out there tell where and how to get this info. ?
> 
> Thanx
> 
> Jiyu Yu
> ---------
What do you mean by "source code" for  a printer? Source is usually regarded
as the origional human-readable stuff to control a logic statemachine.
(Usually a computer in todays jargon).

If you mean the source to the actual micro-processor inside the PaintJet,
then you will not be able to get this; this is the property of HP, having
engineered the PaintJet. This source is responsible for collecting data
from the outside world (ie you and I), interpreting it, then running the
assorted control motors (paper feed, carriage control etc) and the ink jet
assemblies.

If on the other hand you are referring to the "command language" used
to drive the printer (ie the assorted escape sequences), so you can
dump images, do bold, underline, color control etc etc, then HP publishes
a programming manual that tells you how to do this. Call HP DMK (they have
an 1-800  number), and they will be able to tell you the appropriate
manual, plus cost.
It's actually pretty easy; there are only about 30 or so esacpe sequences,
and it is not too difficult to program these (you should find nroff -man
will get most of the simple ones OK for text, if TERM is set to "hp").

Hope this helps,

David Booth	Phone: +61 8 2725911   Fax: +61 8 3731398
Hewlett-Packard Australia
153 Greenhill Rd.,
Parkside, SA, 5063,  AUSTRALIA.



More information about the Comp.lang.c mailing list