Download Latest Version ReGIS_1_1_0.zip (287.4 kB)
Email in envelope

Get an email when there's a new version of ReGIS

Home
Name Modified Size InfoDownloads / Week
ReGIS Display Files 2019-06-25
ReadMe.txt 2019-07-05 3.2 kB
ReGIS_1_1_0.zip 2019-07-05 287.4 kB
Totals: 3 Items   290.6 kB 0
HPGL2REGIS  1.1.1 GPL release 7/2019
 A program to convert HPGL plotter files into DEC Regis files.
 UNZIP and run - nothing else installed
 
HPGL2ReGIS Syntax:
Simply put the input file name and output filename on the command line 
separated by a space and press enter.
C:\ReGIS>hpgl2regis <input filename> <output filename> 

Command line Options:
sxNN syNN yminNN ymaxNN xminNN xmaxNN dlMMM iginv
Command line options may be in any order. The allowed values are
for NN = +|- 32767, for MMM = +|- 0-255

To use the GUI instead of the command line enter 
C:\ReGIS>hpgl2regis<space>dash<space>  <enter> 
C:\ReGIS>hpgl2regis - <enter> 

What the command line options do:

The sx and sy options shift x (horizontal) or y (vertical) values by
a fixed amount which may be + or -.  This would apply to all HPGL values
which are 'Absolute' values, 'Relative' move values are not affected.

The yminNN ymaxNN xminNN xmaxNN can be used to resize the overall
image. or even zoom into a specific portion of the image. These will 
override the embedded HPGL page sizing. If the page is made bigger 
then the resulting output picture would be smaller.  To keep the 
visual ratio correct remember that the ReGIS display is 800x480 so
the output ratio should be 10:6 X:Y.

The dl option is used for multipage HPGL files to make multipage dynamic
ReGIS files.  When there is a Page command in the HPGL file a delay command
will be put into the ReGIS file with a default value of 150. After the number
of ticks goes to zero the display is erased and the next page is shown. The dl
command line can override the default setting.  The delay value can be set from 
-255 to 255.  Zero will keep the timer command out of the ReGIS file altogether.
Delay ticks are from 1 to 255.  A negative delay value has the same delay tick
meaning as the positive one but the screen will not be cleared between pages.

dl summary:
  Set +/-dl for delay between pages in multipage HPGL files.
  Zero means no delay and no clear.
  Set -dl for delay, no clear. Set +dl for delay then clear.

Options are mostly for plots that don't seem to follow the HPGL specification.

If installed as supplied:
ReGIS - Main Directory
  HPGL_RealUse Directory - real world HPGL files
  HPGL_TestUse Directory - HPGL test files from documents and web
  ReGIS_Files  Directory - Converted files when using Convert_all.bat
  ReGIS_Other  Directory - ReGIS files without HPGL origins

Files in Main Directory
  HPGL2REGIS.exe  - the conversion program
  Convert_all.bat - a batch file to convert all supplied HPGL files into
                    ReGis files and store in ReGIS_Files.  Also shows use
                    of various command line options.
  ReadMe.txt      - this file                    

There is no requirement to follow the above directory structure.  The 
program can be installed anywhere including on a USB stick. However the 
batch file will need to be edited before using.

HPGL to ReGIS Conversion program Version 1.0.1, c1993-2019
by John G. Zvonar, All rights reserved. GPL2 licensed
https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
Source: ReadMe.txt, updated 2019-07-05