[time-nuts] HP E1938 Web Page

Rex rexa at sonic.net
Tue Aug 28 20:40:00 UTC 2007


On Tue, 28 Aug 2007 12:35:19 -0700, Rex <rexa at sonic.net> wrote:

>I used this free program:
>http://hpgs.berlios.de/
>and got it to create a png file, but I had to edit the hpgl and remove a
>few commands that the program (and my available documentation) didn't
>recognize.
>
>-Rex
>

After Steve's reply I reinstalled an old version of Corel Draw that I
had. The image in Corel seems the same as the png from the free program.

Here's a link to the resulting png from hpgs
ftp://ftp.sonic.net/pub/users/rexa/E1938A/E1938_asdrawb.png

Corel opened the hpg ok, but needed some work to get it on the page
size. As I mentioned, I did have to remove a little bit of the hpg file
to get it to work with the hpgs program.

Here are the first few lines of the hpg file
____
IN;
PW .1875,1;PW .1875,2;PW .1875,3;
PW .1875,4;PW .1875,5;
PW .375,6;PW .1875,7;PW .1875,8;
.Y. at 4096;
2:.J.K.I90;
0;
17:.N50;
19:INIP-21184,-16612,21184,16612SC-5296,5296,-4153,4153IW-5296,-4153,364,4114SP1PA-684,1258PD;
...
____

I changed that to
____
IN;
PW .1875,1;PW .1875,2;PW .1875,3;
PW .1875,4;PW .1875,5;
PW .375,6;PW .1875,7;PW .1875,8;
INIP-21184,-16612,21184,16612SC-5296,5296,-4153,4153IW-5296,-4153,364,4114SP1PA-684,1258PD;
...
____

since the program and I both didn't know what the extra lines meant. I
cut them out in a text edtitor and saved the file for input to the hpgs
program. Then it worked ok. I had renamed this new file to test2.hpg and
then I used this command line for the program (in a DOS box)
hpgs -d png_rgp -o test2.png test2.hpg

The png version seems a bit more useful to me than pdf, as many graphics
programs will open the png and allow editing. Fewer programs are
available to manipulate pdf's.

The png is viewable and printable in Irfanview, but looks a little
better when I open it in Ulead Photoimpact, that I had here.

Hope that helps.

-Rex








More information about the Time-nuts_lists.febo.com mailing list