RE: HPGL compliance by ScottRobins
ScottRobins
Mon May 03 06:46:02 CDT 2004
> ----- francis wrote: ----
>> Hi, i'm a newbie driver developer and i was wondering, does the msplot driver need to >be used with an HPGL compliant plotter?
Technically, no, but if you want the output to look anything like it's supposed to, the answer is yes (sending HP-GL to a printer that doesn't understand it usually doesn't result in a useful piece of paper)
> If yes, how can i make a self made plotter hpgl compliant?
You include code somewhere in your printer that understands HP-GL and maps it to printer commands which draw on the paper something that looks like what the HP-GL command is supposed to look like
>How do i integrate specialized functions on the msplot sample, that i need on my plotter?
You edit the code in the msplot sample which outputs HP-GL data, and extend it to do what you want
>If not, is there another generic plotter driver that i could easily modify that could suit my needs? Can Paul Yao's Universal printer driver be used
MSPLOT is the only generix plotter driver that I know of. Many plotter devices also understand PCL, you could try a driver which outputs PCL. I guess it depends if YOUR plotter understands PCL. I don't know if it does or not, maybe you do
Scott
--
Scott Robin