[time-nuts] HP E1938 Web Page

Rex rexa at sonic.net
Tue Aug 28 16:40:00 EDT 2007

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

>I used this free program:
>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

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

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
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;

I changed that to
PW .1875,1;PW .1875,2;PW .1875,3;
PW .1875,4;PW .1875,5;
PW .375,6;PW .1875,7;PW .1875,8;

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.


More information about the time-nuts mailing list